Skip to content

Commit 4ea97a1

Browse files
hansonrhansonr
authored andcommitted
working on JAXB
1 parent 245caa7 commit 4ea97a1

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed
0 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20181030145113
1+
20181030183630
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20181030145113
1+
20181030183630

sources/net.sf.j2s.java.core/src/swingjs/xml/JSJAXBClass.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ static void clearStatics() {
9898
@SuppressWarnings("unused")
9999
static boolean checkC$__ANN__(JSJAXBClass jsjaxbClass, Class<?> javaClass, Object javaObject, boolean isXmlIDREF) {
100100
boolean isTop = true;
101-
JSJAXBClass top = jsjaxbClass;
102101
while (javaClass != null) {
103102

104103
// C$.__ANN__ = [[null,'XmlAccessorType',['@XmlAccessorType(XmlAccessType.FIELD)','@XmlType(name="MoreComplex")']],
@@ -119,10 +118,6 @@ static void clearStatics() {
119118
if (jsjaxbClass == null)
120119
return true;
121120
jsjaxbClass.addTypeData(jsdata, clazz, javaObject);
122-
if (!isTop) {
123-
for (int i = 1, n = jsjaxbClass.fields.size(); i < n; i++)
124-
top.addField(jsjaxbClass.fields.get(i));
125-
}
126121
}
127122
isTop = false;
128123
javaClass = javaClass.getSuperclass();

0 commit comments

Comments
 (0)