|
From: <nu...@us...> - 2006-03-26 07:08:41
|
Revision: 473 Author: nuance Date: 2006-03-25 23:08:21 -0800 (Sat, 25 Mar 2006) ViewCVS: http://svn.sourceforge.net/pcgen/?rev=473&view=rev Log Message: ----------- Change the visibility of a few methods. Correct a few spellings Modified Paths: -------------- Trunk/pcgen/code/src/java/pcgen/core/Equipment.java Trunk/pcgen/code/src/java/pcgen/core/FeatMultipleChoice.java Trunk/pcgen/code/src/java/pcgen/core/Globals.java Trunk/pcgen/code/src/java/pcgen/core/PObject.java Trunk/pcgen/code/src/java/pcgen/core/Skill.java Trunk/pcgen/code/src/test/pcgen/core/chooser/AbstractComplexChoiceManagerTest.java Trunk/pcgen/code/src/test/pcgen/core/chooser/ArmorProfChoiceManagerTest.java Modified: Trunk/pcgen/code/src/java/pcgen/core/Equipment.java =================================================================== --- Trunk/pcgen/code/src/java/pcgen/core/Equipment.java 2006-03-26 07:02:52 UTC (rev 472) +++ Trunk/pcgen/code/src/java/pcgen/core/Equipment.java 2006-03-26 07:08:21 UTC (rev 473) @@ -5242,7 +5242,7 @@ * @param aString Description of the Parameter * @return Description of the Return Value */ - boolean typeStringContains(final String aString) + public boolean typeStringContains(final String aString) { return isType(aString); } Modified: Trunk/pcgen/code/src/java/pcgen/core/FeatMultipleChoice.java =================================================================== --- Trunk/pcgen/code/src/java/pcgen/core/FeatMultipleChoice.java 2006-03-26 07:02:52 UTC (rev 472) +++ Trunk/pcgen/code/src/java/pcgen/core/FeatMultipleChoice.java 2006-03-26 07:08:21 UTC (rev 473) @@ -105,7 +105,7 @@ * @param idx * @return String */ - String getChoice(final int idx) + public String getChoice(final int idx) { if ((choices != null) && (idx < choices.size())) { @@ -119,7 +119,7 @@ * Get the number of choices made. * @return number of choices */ - int getChoiceCount() + public int getChoiceCount() { if (choices != null) { @@ -133,7 +133,7 @@ * Get the list of chosen items. * @return choices */ - List getChoices() + public List getChoices() { return choices; } @@ -142,7 +142,7 @@ * Get the maximum number of choices allowed. * @return maximum choices */ - int getMaxChoices() + public int getMaxChoices() { return maxChoices; } Modified: Trunk/pcgen/code/src/java/pcgen/core/Globals.java =================================================================== --- Trunk/pcgen/code/src/java/pcgen/core/Globals.java 2006-03-26 07:02:52 UTC (rev 472) +++ Trunk/pcgen/code/src/java/pcgen/core/Globals.java 2006-03-26 07:08:21 UTC (rev 473) @@ -3469,7 +3469,7 @@ return Integer.parseInt(sml.get(level - 1).toString()); } - static List getWeaponProfs(final String type, final PlayerCharacter aPC) + public static List getWeaponProfs(final String type, final PlayerCharacter aPC) { final List aList = new ArrayList(); final List bList = new ArrayList(); Modified: Trunk/pcgen/code/src/java/pcgen/core/PObject.java =================================================================== --- Trunk/pcgen/code/src/java/pcgen/core/PObject.java 2006-03-26 07:02:52 UTC (rev 472) +++ Trunk/pcgen/code/src/java/pcgen/core/PObject.java 2006-03-26 07:08:21 UTC (rev 473) @@ -4263,7 +4263,7 @@ return associatedList.remove(i); } - final void removeBonus(String bonusString, final String chooseString, final PlayerCharacter aPC) + public final void removeBonus(String bonusString, final String chooseString, final PlayerCharacter aPC) { bonusString = makeBonusString(bonusString, chooseString, aPC); Modified: Trunk/pcgen/code/src/java/pcgen/core/Skill.java =================================================================== --- Trunk/pcgen/code/src/java/pcgen/core/Skill.java 2006-03-26 07:02:52 UTC (rev 472) +++ Trunk/pcgen/code/src/java/pcgen/core/Skill.java 2006-03-26 07:08:21 UTC (rev 473) @@ -1255,7 +1255,7 @@ return required; } - String getRootName() + public String getRootName() { return rootName; } @@ -1266,7 +1266,7 @@ * @param aPC TODO * @return cost for pcc class list */ - int costForPCClassList(final List aPCClassList, final PlayerCharacter aPC) + public int costForPCClassList(final List aPCClassList, final PlayerCharacter aPC) { int anInt = Globals.getGameModeSkillCost_Exclusive(); // assume exclusive (can't buy) final int classListSize = aPCClassList.size(); Modified: Trunk/pcgen/code/src/test/pcgen/core/chooser/AbstractComplexChoiceManagerTest.java =================================================================== --- Trunk/pcgen/code/src/test/pcgen/core/chooser/AbstractComplexChoiceManagerTest.java 2006-03-26 07:02:52 UTC (rev 472) +++ Trunk/pcgen/code/src/test/pcgen/core/chooser/AbstractComplexChoiceManagerTest.java 2006-03-26 07:08:21 UTC (rev 473) @@ -150,7 +150,7 @@ } /** - * Test that a choice string with fewer tokens than necesary returns a + * Test that a choice string with fewer tokens than necessary returns a * chooser with an empty choices list. */ Modified: Trunk/pcgen/code/src/test/pcgen/core/chooser/ArmorProfChoiceManagerTest.java =================================================================== --- Trunk/pcgen/code/src/test/pcgen/core/chooser/ArmorProfChoiceManagerTest.java 2006-03-26 07:02:52 UTC (rev 472) +++ Trunk/pcgen/code/src/test/pcgen/core/chooser/ArmorProfChoiceManagerTest.java 2006-03-26 07:08:21 UTC (rev 473) @@ -38,7 +38,7 @@ import java.util.ArrayList; /** - * {@code ArmorProfChoiceManagerTest} test that the ArmorProfChoiceManager class is functioning correctly. + * {@code ArmorProfChoiceManagerTest} test that the SimpleArmorProfChoiceManager class is functioning correctly. * * @author Andrew Wilson <nu...@so...> */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |