Skip to content

Commit dbac506

Browse files
committed
Fix styles
1 parent 2ea2846 commit dbac506

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/aspectmodel/loader/Instantiator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected Value buildValue( final RDFNode node, final Optional<Resource> charact
172172
.map( rdfNode -> buildValue( rdfNode, characteristicResource, type ) )
173173
.toList();
174174

175-
return new DefaultCollectionValue( values, CollectionValue.CollectionType.LIST, type );
175+
return new DefaultCollectionValue( values, CollectionValue.CollectionType.SET, type );
176176
}
177177

178178
if ( type.is( Entity.class ) ) {

core/esmf-aspect-model-java-generator/src/test/java/org/eclipse/esmf/aspectmodel/java/StaticMetaModelJavaGeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ void testCharacteristicInstantiationForPropertyWithExampleValue() throws IOExcep
518518

519519
result.assertMetaModelBaseAttributesForProperties( "MetaAspectWithCollection", expectedBaseAttributes );
520520

521-
final String expectedExampleValue = "Optional.of(null, new DefaultScalarValue(\"Example Value\", new DefaultScalar(\"http://www.w3"
521+
final String expectedExampleValue = "Optional.of(new DefaultScalarValue(null, \"Example Value\", new DefaultScalar(\"http://www.w3"
522522
+ ".org/2001/XMLSchema#string\")))";
523523

524524
result.assertConstructorArgumentForProperties(

0 commit comments

Comments
 (0)