diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-12-08 19:28:03 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-12-08 19:28:03 +0100 |
| commit | 438682eef6e2e2875f4eb7775706078b7133c644 (patch) | |
| tree | bb44402c7293c321c22eaef64c64650c66cdd4a6 /main/src/cgeo/geocaching/Geocache.java | |
| parent | c3fcacdb36b8ef6a8535dfbbc9e94fce0ac52d8b (diff) | |
| download | cgeo-438682eef6e2e2875f4eb7775706078b7133c644.zip cgeo-438682eef6e2e2875f4eb7775706078b7133c644.tar.gz cgeo-438682eef6e2e2875f4eb7775706078b7133c644.tar.bz2 | |
findbugs: more cleanup
* include findbugs suppression annotations
* have findbugs settings stored as shared settings
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
| -rw-r--r-- | main/src/cgeo/geocaching/Geocache.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java index c589e9b..2da93bc 100644 --- a/main/src/cgeo/geocaching/Geocache.java +++ b/main/src/cgeo/geocaching/Geocache.java @@ -32,6 +32,8 @@ import cgeo.geocaching.utils.LogTemplateProvider.LogContext; import cgeo.geocaching.utils.MatcherWrapper; import cgeo.geocaching.utils.UncertainProperty; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; + import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.Predicate; import org.apache.commons.lang3.BooleanUtils; @@ -366,6 +368,7 @@ public class Geocache implements ICache, IWaypoint { * the other cache to compare this one to * @return true if both caches have the same content */ + @SuppressFBWarnings("FE_FLOATING_POINT_EQUALITY") private boolean isEqualTo(final Geocache other) { return detailed == other.detailed && StringUtils.equalsIgnoreCase(geocode, other.geocode) && |
