Cleans up obsolete methods
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Tue, 9 Apr 2013 21:20:44 +0000 (17:20 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Tue, 9 Apr 2013 21:20:44 +0000 (17:20 -0400)
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/state/QueryState.java

index 5f8ef23..89c8888 100644 (file)
@@ -118,24 +118,11 @@ public class QueryState implements Serializable {
       return key;\r
     }\r
   }\r
-  \r
-  public void setKey(String key) {\r
-    logger.debug("Setting key on demand to: " + key);\r
-    this.key = key;\r
-  }\r
-  \r
+    \r
   public String toString () {\r
     return pz2commands.toString();\r
   }\r
-  \r
-  public boolean searchEquals(Object otherQueryState) {\r
-    if (otherQueryState instanceof QueryState) {\r
-      return getCommand("search").equals(((QueryState) otherQueryState).getCommand("search"));\r
-    } else {\r
-      return false;\r
-    }\r
-  }\r
-  \r
+    \r
   public boolean equals (Object otherQueryState) {\r
     if (otherQueryState instanceof QueryState) {\r
       return this.toString().equals(otherQueryState.toString());              \r