@@ -41,9 +41,9 @@ public void unlinkProp(Long parentArgID, Long propositionID)
4141 public class PartialTrees implements Serializable {
4242 /* added to suppress warnings */
4343 private static final long serialVersionUID = 1L ;
44- public List <Long > rootIDs = new ArrayList <Long >();
45- public Map <Long , Node > nodes = new HashMap <Long , Node >();
46- public Map <Long , Integer > ratings = new HashMap <Long , Integer >();
44+ public ArrayList <Long > rootIDs = new ArrayList <Long >();
45+ public HashMap <Long , Node > nodes = new HashMap <Long , Node >();
46+ public HashMap <Long , Integer > ratings = new HashMap <Long , Integer >();
4747
4848 @ Override
4949 public String toString () {
@@ -78,15 +78,15 @@ public PartialTrees replaceWithLinkAndGet(Long parentArgID,
7878 public class NodesWithHistory implements Serializable {
7979 /* added to suppress warnings */
8080 private static final long serialVersionUID = 1L ;
81- public Map <Long , Node > nodes ;
81+ public HashMap <Long , Node > nodes ;
8282 public SortedMap <Date , Change > changes ;
8383 }
8484
8585 public class NodeWithChanges implements Serializable {
8686 private static final long serialVersionUID = 1L ;
8787 public Node node ;
8888 public NodeChanges nodeChanges ;
89- public Map <Long , Proposition > unlinkedLinks = new HashMap <Long , Proposition >();
89+ public HashMap <Long , Proposition > unlinkedLinks = new HashMap <Long , Proposition >();
9090 }
9191
9292 public PartialTrees getNodesChildren (List <Long > nodeIDs , int depth )
@@ -100,14 +100,14 @@ public Map<Long, NodeWithChanges> getArgsWithChanges(List<Long> argIDs)
100100
101101 public class NodeChangesMapsAndRootChanges implements Serializable {
102102 public NodeChangesMaps nodeChangesMaps = new NodeChangesMaps ();
103- public List <Change > rootChanges = new ArrayList <Change >();
103+ public ArrayList <Change > rootChanges = new ArrayList <Change >();
104104 }
105105
106106 public class NodeChangesMaps implements Serializable {
107107 private static final long serialVersionUID = 1L ;
108- public Map <Long , NodeChanges > argChanges = new HashMap <Long , NodeChanges >();
109- public Map <Long , NodeChanges > propChanges = new HashMap <Long , NodeChanges >();
110- public Map <Long , Proposition > unlinkedLinks = new HashMap <Long , Proposition >();
108+ public HashMap <Long , NodeChanges > argChanges = new HashMap <Long , NodeChanges >();
109+ public HashMap <Long , NodeChanges > propChanges = new HashMap <Long , NodeChanges >();
110+ public HashMap <Long , Proposition > unlinkedLinks = new HashMap <Long , Proposition >();
111111
112112 @ Override
113113 public String toString () {
@@ -134,7 +134,7 @@ public String toString() {
134134 public class DateAndChildIDs implements Serializable {
135135 private static final long serialVersionUID = 1L ;
136136 public Date date ;
137- public Set <Long > childIDs ;
137+ public HashSet <Long > childIDs ;
138138
139139 @ Override
140140 public String toString () {
@@ -157,17 +157,18 @@ public DateAndChildIDs(Node node) {
157157 }
158158 }
159159
160- public PartialTrees getUpToDateNodes (Map <Long , DateAndChildIDs > propInfo ,
161- Map <Long , DateAndChildIDs > argInfo );
160+ public PartialTrees getUpToDateNodes (
161+ HashMap <Long , DateAndChildIDs > propInfo ,
162+ HashMap <Long , DateAndChildIDs > argInfo );
162163
163- public NodeChangesMaps getChanges (List <Long > propIDs , List < Long > argIDs )
164- throws ServiceException ;
164+ public NodeChangesMaps getChanges (ArrayList <Long > propIDs ,
165+ ArrayList < Long > argIDs ) throws ServiceException ;
165166
166167 public NodeChangesMapsAndRootChanges getChangesForDeletedRootProps ()
167168 throws ServiceException ;
168169
169170 public PartialTrees searchProps (String searchString , String searchName ,
170- int resultLimit , List <Long > filerNodeIDs ,
171+ int resultLimit , ArrayList <Long > filerNodeIDs ,
171172 Double percentTermsMatching ) throws ServiceException ;
172173
173174 public PartialTrees continueSearchProps (String searchName )
0 commit comments