From: <aki...@us...> - 2007-01-07 12:41:29
|
Revision: 1487 http://svn.sourceforge.net/gridarta/?rev=1487&view=rev Author: akirschbaum Date: 2007-01-07 04:41:29 -0800 (Sun, 07 Jan 2007) Log Message: ----------- Remove unused code. Modified Paths: -------------- trunk/crossfire/src/cfeditor/CFArchTypeList.java trunk/daimonin/src/daieditor/CFArchTypeList.java trunk/src/app/net/sf/gridarta/CFArchTypeList.java Modified: trunk/crossfire/src/cfeditor/CFArchTypeList.java =================================================================== --- trunk/crossfire/src/cfeditor/CFArchTypeList.java 2007-01-07 12:40:23 UTC (rev 1486) +++ trunk/crossfire/src/cfeditor/CFArchTypeList.java 2007-01-07 12:41:29 UTC (rev 1487) @@ -193,11 +193,6 @@ } /** {@inheritDoc} */ - @Override public String getArchTypeName(final int typeNr) { - return archTypeNumbers.containsKey(typeNr) ? archTypeNumbers.get(typeNr) : "*UNKNOWN" + typeNr + "*"; - } - - /** {@inheritDoc} */ @Override public CFArchType getTypeByName(final String typeName) { // return: matching type or first type (misc) if no other found final CFArchType type = archTypeNames.get(typeName.trim()); Modified: trunk/daimonin/src/daieditor/CFArchTypeList.java =================================================================== --- trunk/daimonin/src/daieditor/CFArchTypeList.java 2007-01-07 12:40:23 UTC (rev 1486) +++ trunk/daimonin/src/daieditor/CFArchTypeList.java 2007-01-07 12:41:29 UTC (rev 1487) @@ -226,11 +226,6 @@ } /** {@inheritDoc} */ - @Override public String getArchTypeName(final int typeNr) { - return archTypeNumbers.containsKey(typeNr) ? archTypeNumbers.get(typeNr) : "*UNKNOWN" + typeNr + "*"; - } - - /** {@inheritDoc} */ @Override public CFArchType getTypeByName(final String typeName) { // return: matching type or first type (misc) if no other found final CFArchType type = archTypeNames.get(typeName.trim()); Modified: trunk/src/app/net/sf/gridarta/CFArchTypeList.java =================================================================== --- trunk/src/app/net/sf/gridarta/CFArchTypeList.java 2007-01-07 12:40:23 UTC (rev 1486) +++ trunk/src/app/net/sf/gridarta/CFArchTypeList.java 2007-01-07 12:41:29 UTC (rev 1487) @@ -283,13 +283,6 @@ } /** - * Lookup the name of an archtype. - * @param typeNr type number - * @return name of this type, as defined in "typenumbers.xml" - */ - public abstract String getArchTypeName(final int typeNr); - - /** * Returns whether this typelist contains no data. * @return <code>true</code> if this typelist contains no data, otherwise <code>false</code>. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |