---
 src/net/sf/freecol/common/model/FreeColObject.java | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/net/sf/freecol/common/model/FreeColObject.java 
b/src/net/sf/freecol/common/model/FreeColObject.java
index 0fc661b1fc0..72af78d16f8 100644
--- a/src/net/sf/freecol/common/model/FreeColObject.java
+++ b/src/net/sf/freecol/common/model/FreeColObject.java
@@ -412,16 +412,6 @@ public abstract class FreeColObject
     }
 
     /**
-     * Checks if this object contains a given ability key.
-     *
-     * @param key The key to check.
-     * @return True if the key is present.
-     */
-    public boolean containsAbilityKey(String key) {
-        return first(getAbilities(key, null, null)) != null;
-    }
-
-    /**
      * Gets a sorted copy of the abilities of this object.
      *
      * @return A list of abilities.
-- 
2.11.0.rc0.7.gbe5a750


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to