We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109597a commit 5012464Copy full SHA for 5012464
core/esmf-aspect-meta-model-interface/src/main/java/org/eclipse/esmf/metamodel/Scalar.java
@@ -32,6 +32,9 @@ default boolean isScalar() {
32
}
33
34
private boolean transitivelyCastable( final String from, final String to ) {
35
+ if ( from.equals( to ) ) {
36
+ return true;
37
+ }
38
final Map<String, String> castable = ImmutableMap.<String, String> builder()
39
.put( XSD.xbyte.getURI(), XSD.xshort.getURI() )
40
.put( XSD.xshort.getURI(), XSD.xint.getURI() )
0 commit comments