OSDN Git Service

1.6化に伴う@Overrideアノテーション対応
[mikutoga/TogaGem.git] / src / main / java / jp / sourceforge / mikutoga / xml / DomUtils.java
index 6cd09ba..97b80d1 100644 (file)
@@ -265,6 +265,7 @@ public final class DomUtils {
                                                    String childTag){\r
         final Iterator<Element> iterator = getChildIterator(parent, childTag);\r
         Iterable<Element> result = new Iterable<Element>(){\r
+            @Override\r
             public Iterator<Element> iterator(){\r
                 return iterator;\r
             }\r
@@ -326,6 +327,7 @@ public final class DomUtils {
          * {@inheritDoc}\r
          * @return {@inheritDoc}\r
          */\r
+        @Override\r
         public boolean hasNext(){\r
             if(this.next == null) return false;\r
             return true;\r
@@ -336,6 +338,7 @@ public final class DomUtils {
          * @return {@inheritDoc}\r
          * @throws NoSuchElementException {@inheritDoc}\r
          */\r
+        @Override\r
         public Element next() throws NoSuchElementException{\r
             if(this.next == null) throw new NoSuchElementException();\r
             Element result = this.next;\r
@@ -347,6 +350,7 @@ public final class DomUtils {
          * {@inheritDoc}\r
          * ※ 未サポート。\r
          */\r
+        @Override\r
         public void remove(){\r
             throw new UnsupportedOperationException();\r
         }\r