Browse Source

make members private

AndyScherzinger 7 years ago
parent
commit
762bf62357

+ 4 - 4
src/main/java/com/owncloud/android/files/services/IndexedForest.java

@@ -45,10 +45,10 @@ public class IndexedForest<V> {
 
 
     @SuppressWarnings("PMD.ShortClassName")
     @SuppressWarnings("PMD.ShortClassName")
     private class Node<V> {
     private class Node<V> {
-        String mKey = null;
-        Node<V> mParent = null;
-        Set<Node<V>> mChildren = new HashSet<>();    // TODO be careful with hash()
-        V mPayload = null;
+        private String mKey = null;
+        private Node<V> mParent = null;
+        private Set<Node<V>> mChildren = new HashSet<>();    // TODO be careful with hash()
+        private V mPayload = null;
 
 
         // payload is optional
         // payload is optional
         public Node(String key, V payload) {
         public Node(String key, V payload) {