Skip to content

Commit 37715b4

Browse files
[#435] fix FloatCodeGenerator calling wrong method
1 parent 07968b9 commit 37715b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jaxb-plugins-parent/jaxb-plugins/src/main/java/org/jvnet/jaxb/plugin/codegenerator/FloatCodeGenerator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public FloatCodeGenerator(CodeGenerator<A> codeGenerator,
1616
@Override
1717
public void generate(JBlock block, JType type,
1818
Collection<JType> possibleTypes, boolean isAlwaysSet, A arguments) {
19-
getImplementor().onShort(arguments, block, isAlwaysSet);
19+
getImplementor().onFloat(arguments, block, isAlwaysSet);
2020
}
2121

2222
}

0 commit comments

Comments
 (0)