Refactoring: Added comments to every class, as well as a copyright
[pub/Android/ownCloud.git] / src / eu / alefzero / webdav / TreeNodeContainer.java
index ef09254..5656fde 100644 (file)
@@ -1,21 +1,38 @@
-package eu.alefzero.webdav;
-
-import java.util.List;
-import java.util.ListIterator;
-
-import org.w3c.dom.Document;
-
-import android.util.Xml;
-
-public class TreeNodeContainer extends TreeNode {
-  
-  @Override
-  void refreshData(Document document) {
-    ListIterator<TreeNode> iterator = children_.listIterator();
-    while (iterator.hasNext()) {
-      iterator.next().refreshData(document);
-    }
-  }
-  
-  private List<TreeNode> children_;
-}
+/* ownCloud Android client application\r
+ *   Copyright (C) 2011  Bartek Przybylski\r
+ *\r
+ *   This program is free software: you can redistribute it and/or modify\r
+ *   it under the terms of the GNU General Public License as published by\r
+ *   the Free Software Foundation, either version 3 of the License, or\r
+ *   (at your option) any later version.\r
+ *\r
+ *   This program is distributed in the hope that it will be useful,\r
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ *   GNU General Public License for more details.\r
+ *\r
+ *   You should have received a copy of the GNU General Public License\r
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
+ *\r
+ */\r
+package eu.alefzero.webdav;\r
+\r
+import java.util.List;\r
+import java.util.ListIterator;\r
+\r
+import org.w3c.dom.Document;\r
+\r
+import android.util.Xml;\r
+\r
+public class TreeNodeContainer extends TreeNode {\r
+  \r
+  @Override\r
+  void refreshData(Document document) {\r
+    ListIterator<TreeNode> iterator = children_.listIterator();\r
+    while (iterator.hasNext()) {\r
+      iterator.next().refreshData(document);\r
+    }\r
+  }\r
+  \r
+  private List<TreeNode> children_;\r
+}\r