Skip to content

Commit

Permalink
Cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCockx committed Mar 11, 2024
1 parent 8882c3f commit 6a67148
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ValidatorsGenerator {

def private StringConcatenationClient classBody(RDataType t, String version, Iterable<Attribute> attributes) '''
public class «t.toValidatorClass» implements «Validator»<«t.toJavaType»> {

@Override
public «List»<«ValidationResult»<?>> getValidationResults(«RosettaPath» path, «t.toJavaType» o) {
return «Lists».<«ComparisonResult»>newArrayList(
Expand All @@ -94,6 +94,7 @@ class ValidatorsGenerator {
})
.collect(«method(Collectors, "toList")»());
}

}
'''
Expand All @@ -116,6 +117,7 @@ class ValidatorsGenerator {
})
.collect(«method(Collectors, "toList")»());
}

}
'''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class ModelMetaGeneratorTest {
})
.collect(toList());
}
}
'''.toString,
code.get('com.rosetta.test.model.validation.FooValidator')
Expand Down Expand Up @@ -192,6 +193,7 @@ class ModelMetaGeneratorTest {
})
.collect(toList());
}
}
'''.toString,
code.get('com.rosetta.test.model.validation.FooTypeFormatValidator')
Expand Down

0 comments on commit 6a67148

Please sign in to comment.