This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new ed69a0c AXIS2-6014 append L for long to generated Long.MAX_VALUE
ed69a0c is described below
commit ed69a0cf5e7b5c4089d87b60acc9245437e976c8
Author: Robert Lazarski <[email protected]>
AuthorDate: Thu Mar 17 11:59:11 2022 -1000
AXIS2-6014 append L for long to generated Long.MAX_VALUE
---
.../src/org/apache/axis2/schema/writer/JavaBeanWriter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java
b/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java
index a2f4a19..cdc652a 100644
--- a/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java
+++ b/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java
@@ -1067,7 +1067,7 @@ public class JavaBeanWriter implements BeanWriter {
}
}else{
if(metainf.getMinLengthFacet()!=-1){
- XSLTUtils.addAttribute(model, "maxLenFacet",
Long.MAX_VALUE + "", property);
+ XSLTUtils.addAttribute(model, "maxLenFacet",
Long.MAX_VALUE + "L", property);
}
}
}
@@ -1604,4 +1604,4 @@ public class JavaBeanWriter implements BeanWriter {
}
-}
\ No newline at end of file
+}