jochen 2005/07/27 12:46:25
Modified: . status.xml
src/js/org/apache/ws/jaxme/js JavaSource.java
Log:
The method JavaSource.newBeanProperty() was mismatching
void and boolean when checking for "isFoo" vs. "getFoo".
Submitted by: Frederic Ahring, fahring at de.ibm.com
Revision Changes Path
1.66 +16 -11 ws-jaxme/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/ws-jaxme/status.xml,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- status.xml 20 Jul 2005 20:48:30 -0000 1.65
+++ status.xml 27 Jul 2005 19:46:25 -0000 1.66
@@ -33,12 +33,12 @@
<release version="0.5" date="Not yet published">
<action dev="JW" type="enhancement" context="js">
Added JavaSource.getConstructor(JavaQName[]).
- (Frederic Ahring, [EMAIL PROTECTED])
+ (Frederic Ahring, fahring at de.ibm.com)
</action>
<action dev="JW" type="fix" context="js">
The method JavaSource.addThrows() does now verify,
whether an exception is already declared.
- (Frederic Ahring, [EMAIL PROTECTED])
+ (Frederic Ahring, fahring at de.ibm.com)
</action>
<action dev="JW" type="fix" context="generator">
A sequence was always treated as a required group,
@@ -49,6 +49,11 @@
the handling of complex child elements in mixed
content types.
</action>
+ <action dev="JW" type="fix" content="js">
+ The method JavaSource.newBeanProperty() was mismatching
+ void and boolean when checking for "isFoo" vs. "getFoo".
+ (Frederic Ahring, fahring at de.ibm.com)
+ </action>
</release>
<release version="0.5beta" date="2005-Jul-13">
<action dev="JW" type="enhancement" context="generator">
@@ -64,7 +69,7 @@
</action>
<action dev="JW" type="fix" context="js">
The JavaParser didn't handle multidimensional arrays
- properly. (Frederic Ahring, [EMAIL PROTECTED])
+ properly. (Frederic Ahring, fahring at de.ibm.com)
</action>
<action dev="JW" type="fix" context="generator">
Fixed that the generator didn't detect top level groups with
@@ -290,7 +295,7 @@
</action>
<action dev="JW" type="fix" context="generator">
Typesafe enumerations had wrong code in some cases.
- (Peter Nagy, <[EMAIL PROTECTED]>)
+ (Peter Nagy, <peter.1.nagy at nokia.com>)
</action>
<action dev="JW" type="fix" context="generator">
Attention, incompatible change: The types xs:dateTime, xs:date,
and
@@ -305,12 +310,12 @@
</action>
<action dev="JW" type="fix" context="generator">
Fixed a bug in the JAXBSchemaSG's handling of global simple
types.
- (Chris Kirk <[EMAIL PROTECTED]>)
+ (Chris Kirk <mrck1996 at yahoo.co.uk>)
</action>
<action dev="JW" type="fix" context="generator">
The object factory has not been able to generate global types.
Local types are still missing, though.
- (Colin Bendell <[EMAIL PROTECTED]>)
+ (Colin Bendell <cbendell at point2.com>)
</action>
<action dev="CL" type="fix" context="generator">
Fixed a bug in the QNameSG's mis-overriding getCastToString
method.
@@ -319,26 +324,26 @@
</action>
<action dev="JW" type="enhancement" context="xs">
Added support for identity constraints.
- (Chris Kirk <[EMAIL PROTECTED]>)
+ (Chris Kirk <mrck1996 at yahoo.co.uk>)
</action>
<action dev="JW" type="admin" context="all">
Changed license to ASL 2.0.
</action>
<action dev="JW" type="fix" context="generator">
Changed the nameXmlTransformation attribute to nameXmlTransform.
- Thanks to David Holscher <[EMAIL PROTECTED]>
+ Thanks to David Holscher <David.Holscher at
Nav-International.com>
for the hint.
</action>
<action dev="JW" type="fix" context="xs">
- Fixed a possible NPE, reported by Nina Juliadotter, <[EMAIL
PROTECTED]>.
+ Fixed a possible NPE, reported by Nina Juliadotter, <nvjuliad at
it.uts.edu.au>.
</action>
<action dev="JW" type="fix" context="generator">
Fixed that the specified package name was ignored for enumerations.
- Reported by Nicolas De Loof, <[EMAIL PROTECTED]>
+ Reported by Nicolas De Loof, <nicolas.deloof at cgey.com>
</action>
<action dev="JW" type="fix" context="runtime">
Fixed a wrong cast when assigning the JMMarshaller's XMLDeclaration
property.
- Veniamin Fichin, <[EMAIL PROTECTED]>
+ Veniamin Fichin, <3ca28f66 at mail.ru>
</action>
</release>
</changes>
1.12 +5 -3 ws-jaxme/src/js/org/apache/ws/jaxme/js/JavaSource.java
Index: JavaSource.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/js/org/apache/ws/jaxme/js/JavaSource.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- JavaSource.java 19 Jul 2005 19:33:22 -0000 1.11
+++ JavaSource.java 27 Jul 2005 19:46:25 -0000 1.12
@@ -35,7 +35,8 @@
/** Specifies the type of a java class (interface, or class).
*/
public static class Type implements Serializable {
- private String name;
+ private static final long serialVersionUID =
-9130708752353639211L;
+ private String name;
Type(String pName) {
name = pName;
}
@@ -57,7 +58,8 @@
* protected, or private).
*/
public static class Protection implements Serializable {
- private String name;
+ private static final long serialVersionUID =
1184782160268911467L;
+ private String name;
Protection(String pName) {
name = pName;
}
@@ -1242,7 +1244,7 @@
*/
public void newBeanProperty(JavaQName pType, String pName) {
String upperCaseName = Character.toUpperCase(pName.charAt(0)) +
pName.substring(1);
- if (JavaQNameImpl.VOID.equals(pType)) {
+ if (JavaQNameImpl.BOOLEAN.equals(pType)) {
newBeanProperty(pType, pName, "is" + upperCaseName, "set" +
upperCaseName);
} else {
newBeanProperty(pType, pName, "get" + upperCaseName, "set" +
upperCaseName);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]