Mercurial > dive4elements > river
changeset 6041:5da11bf372be
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 16 May 2013 17:54:32 +0200 |
parents | cbdf839008a7 |
children | 1803017160be |
files | gwt-client/src/main/java/org/dive4elements/river/client/shared/model/FacetFilter.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/FacetFilter.java Thu May 16 16:31:09 2013 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/FacetFilter.java Thu May 16 17:54:32 2013 +0200 @@ -40,6 +40,8 @@ this.ids = ids; } + /** Return false if only a or b are null, true if both are null + * result of String.equals otherwise. */ protected static boolean equals(String a, String b) { if (a == null && b == null) return true; if (a == null && b != null) return false;