From: <th...@us...> - 2010-07-11 19:22:39
|
Revision: 12517 http://pcgen.svn.sourceforge.net/pcgen/?rev=12517&view=rev Author: thpr Date: 2010-07-11 19:22:32 +0000 (Sun, 11 Jul 2010) Log Message: ----------- shouldn't unparse Modified Paths: -------------- Trunk/pcgen/code/src/java/plugin/lsttokens/deprecated/WeaponProfToken.java Modified: Trunk/pcgen/code/src/java/plugin/lsttokens/deprecated/WeaponProfToken.java =================================================================== --- Trunk/pcgen/code/src/java/plugin/lsttokens/deprecated/WeaponProfToken.java 2010-07-11 18:34:39 UTC (rev 12516) +++ Trunk/pcgen/code/src/java/plugin/lsttokens/deprecated/WeaponProfToken.java 2010-07-11 19:22:32 UTC (rev 12517) @@ -175,15 +175,7 @@ public String[] unparse(LoadContext context, CDOMObject cdo) { - String chooseString = context.getObjectContext().getString(cdo, - StringKey.CHOICE_STRING); - if (chooseString == null - || chooseString.indexOf(getTokenName() + '|') != 0) - { - return null; - } - return new String[] { chooseString - .substring(getTokenName().length() + 1) }; + return null; } public Class<CDOMObject> getTokenClass() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |