Skip to content

Commit

Permalink
Reset to old chemistry validator (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjd210 committed Oct 4, 2024
1 parent 1ce6488 commit f005f97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
import uk.ac.cam.cl.dtg.isaac.dos.content.DTOMapping;
import uk.ac.cam.cl.dtg.isaac.dos.content.JsonContentType;
import uk.ac.cam.cl.dtg.isaac.dto.IsaacSymbolicChemistryQuestionDTO;
import uk.ac.cam.cl.dtg.isaac.quiz.IsaacSymbolicChemistryValidator;
import uk.ac.cam.cl.dtg.isaac.quiz.IsaacOldSymbolicChemistryValidator;
import uk.ac.cam.cl.dtg.isaac.quiz.ValidatesWith;

/**
* Created by ipd21 on 11/05/2016.
*/
@DTOMapping(IsaacSymbolicChemistryQuestionDTO.class)
@JsonContentType("isaacSymbolicChemistryQuestion")
@ValidatesWith(IsaacSymbolicChemistryValidator.class)
@ValidatesWith(IsaacOldSymbolicChemistryValidator.class)
public class IsaacSymbolicChemistryQuestion extends IsaacSymbolicQuestion {
@JsonProperty("isNuclear")
private boolean isNuclear;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

import com.fasterxml.jackson.annotation.JsonProperty;
import uk.ac.cam.cl.dtg.isaac.dos.content.JsonContentType;
import uk.ac.cam.cl.dtg.isaac.quiz.IsaacSymbolicChemistryValidator;
import uk.ac.cam.cl.dtg.isaac.quiz.IsaacOldSymbolicChemistryValidator;
import uk.ac.cam.cl.dtg.isaac.quiz.ValidatesWith;

@JsonContentType("isaacSymbolicChemistryQuestion")
@ValidatesWith(IsaacSymbolicChemistryValidator.class)
@ValidatesWith(IsaacOldSymbolicChemistryValidator.class)
public class IsaacSymbolicChemistryQuestionDTO extends IsaacSymbolicQuestionDTO {
@JsonProperty("isNuclear")
private boolean isNuclear;
Expand Down

0 comments on commit f005f97

Please sign in to comment.