OSDN Git Service

2.102.2版リリース準備
[mikutoga/TogaGem.git] / src / main / java / jp / sourceforge / mikutoga / xml / DomUtils.java
index 66dea2d..81a0e94 100644 (file)
@@ -151,7 +151,7 @@ public final class DomUtils {
             throw new TogaXmlException(message, e);
         }
 
-        result.replace("" + '\u00a5', "" + BS_CHAR);
+        result = result.replace("" + '\u00a5', "" + BS_CHAR);
 
         return result;
     }
@@ -314,7 +314,7 @@ public final class DomUtils {
     /**
      * 同じ親要素と同じ要素名を持つ兄弟要素を列挙する列挙子。
      */
-    private static final class ElemIterator implements Iterator<Element>{
+    private static final class ElemIterator implements Iterator<Element> {
         private Element next;
 
         /**