Skip to content

Commit 87443b5

Browse files
Align list binding creation with NGPopUpButton
1 parent 2aa93a1 commit 87443b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ng-appserver/src/main/java/ng/appserver/templating/elements/NGRepetition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,6 @@ private List<?> list( final NGContext context ) {
239239
return List.of( sc.toArray() );
240240
}
241241

242-
throw new IllegalArgumentException( "NGRepetition only accepts java.util.List and java Arrays. You sent me a %s".formatted( listAssociationValue.getClass() ) );
242+
throw new IllegalArgumentException( "%s only accepts java.util.List, java arrays and java.util.SequencedCollection. You sent me a %s".formatted( getClass().getSimpleName(), listAssociationValue.getClass() ) );
243243
}
244244
}

0 commit comments

Comments
 (0)