jochen 2005/07/27 12:45:58
Modified: . Tag: v0_4 status.xml
src/js/org/apache/ws/jaxme/js Tag: v0_4 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
No revision
No revision
1.45.2.18 +16 -11 ws-jaxme/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/ws-jaxme/status.xml,v
retrieving revision 1.45.2.17
retrieving revision 1.45.2.18
diff -u -r1.45.2.17 -r1.45.2.18
--- status.xml 19 Jul 2005 21:02:47 -0000 1.45.2.17
+++ status.xml 27 Jul 2005 19:45:56 -0000 1.45.2.18
@@ -41,7 +41,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
@@ -53,17 +53,22 @@
</action>
<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,
even if all particles were optional.
</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.4" date="2005-May-19">
<action dev="JW" type="fix" context="xs">
@@ -276,7 +281,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
@@ -291,12 +296,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.
@@ -305,26 +310,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>
No revision
No revision
1.9.2.2 +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.9.2.1
retrieving revision 1.9.2.2
diff -u -r1.9.2.1 -r1.9.2.2
--- JavaSource.java 19 Jul 2005 19:34:49 -0000 1.9.2.1
+++ JavaSource.java 27 Jul 2005 19:45:56 -0000 1.9.2.2
@@ -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]