comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/FacetFilter.java @ 6041:5da11bf372be

Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 16 May 2013 17:54:32 +0200
parents ea9eef426962
children
comparison
equal deleted inserted replaced
6040:cbdf839008a7 6041:5da11bf372be
38 38
39 public void setIds(String ids) { 39 public void setIds(String ids) {
40 this.ids = ids; 40 this.ids = ids;
41 } 41 }
42 42
43 /** Return false if only a or b are null, true if both are null
44 * result of String.equals otherwise. */
43 protected static boolean equals(String a, String b) { 45 protected static boolean equals(String a, String b) {
44 if (a == null && b == null) return true; 46 if (a == null && b == null) return true;
45 if (a == null && b != null) return false; 47 if (a == null && b != null) return false;
46 if (a != null && b == null) return false; 48 if (a != null && b == null) return false;
47 return a.equals(b); 49 return a.equals(b);

http://dive4elements.wald.intevation.org