Revision: 6602
          http://sourceforge.net/p/jump-pilot/code/6602
Author:   michaudm
Date:     2020-10-25 13:01:33 +0000 (Sun, 25 Oct 2020)
Log Message:
-----------
fix #508 : java2XML with setInteriorBorder/hasInteriorBorder property

Modified Paths:
--------------
    core/trunk/ChangeLog
    core/trunk/src/com/vividsolutions/jump/util/java2xml/Java2XML.java

Modified: core/trunk/ChangeLog
===================================================================
--- core/trunk/ChangeLog        2020-10-24 18:31:05 UTC (rev 6601)
+++ core/trunk/ChangeLog        2020-10-25 13:01:33 UTC (rev 6602)
@@ -4,6 +4,9 @@
 # 3. be concise but convey the change in a way that ordinary users understand
 #<-------------------------------- 80 chars ---------------------------------->
 
+2020-10-25 mmichaud
+  * fix #508 : java2xml with setInteriorBorder/hasInteriorBorder property
+
 2020-10-24 mmichaud
   * fix #382 : deleting warping vectors was not possible with incremental mode
 

Modified: core/trunk/src/com/vividsolutions/jump/util/java2xml/Java2XML.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/util/java2xml/Java2XML.java  
2020-10-24 18:31:05 UTC (rev 6601)
+++ core/trunk/src/com/vividsolutions/jump/util/java2xml/Java2XML.java  
2020-10-25 13:01:33 UTC (rev 6602)
@@ -176,7 +176,9 @@
             if (!method.getName().toUpperCase().equals(
                     "GET" + field.toUpperCase())
                     && !method.getName().toUpperCase().equals(
-                            "IS" + field.toUpperCase())) {
+                            "IS" + field.toUpperCase())
+                    && !method.getName().toUpperCase().equals(
+                            "HAS" + field.toUpperCase())) {
                 continue;
             }
             if (method.getParameterTypes().length != 0) {



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to