diff --git a/code/src/java/pcgen/base/calculation/FormulaCalculation.java b/code/src/java/pcgen/base/calculation/FormulaCalculation.java index d15c0e8c2b2..ef47de46ba4 100644 --- a/code/src/java/pcgen/base/calculation/FormulaCalculation.java +++ b/code/src/java/pcgen/base/calculation/FormulaCalculation.java @@ -53,7 +53,7 @@ public final class FormulaCalculation extends AbstractNEPCalculation * is processed * @param calc * The BasicCalculation which defines the operation to be - * performed when this this FormulaCalculation is processed + * performed when this FormulaCalculation is processed */ public FormulaCalculation(NEPFormula formula, BasicCalculation calc) { diff --git a/code/src/java/pcgen/cdom/base/ChooseSelectionActor.java b/code/src/java/pcgen/cdom/base/ChooseSelectionActor.java index 9d18ee9104d..610018e688c 100644 --- a/code/src/java/pcgen/cdom/base/ChooseSelectionActor.java +++ b/code/src/java/pcgen/cdom/base/ChooseSelectionActor.java @@ -23,7 +23,7 @@ /** * A ChooseSelectionActor is an object that can apply and remove choices (based * on the CHOOSE token) to a PlayerCharacter. This is an object that will act - * after a selection has been made by a user through through the chooser system. + * after a selection has been made by a user through the chooser system. * * @param The Type of object chosen with this ChooseSelectionActor */ diff --git a/code/src/java/pcgen/cdom/base/Constants.java b/code/src/java/pcgen/cdom/base/Constants.java index ec68a6d8c7a..6e257f5636c 100644 --- a/code/src/java/pcgen/cdom/base/Constants.java +++ b/code/src/java/pcgen/cdom/base/Constants.java @@ -91,7 +91,7 @@ public interface Constants /** The prefix of a character template file name. */ String CHARACTER_TEMPLATE_PREFIX = "csheet"; //$NON-NLS-1$ - /** The prefix of a a party template file name. */ + /** The prefix of a party template file name. */ String PARTY_TEMPLATE_PREFIX = "psheet"; //$NON-NLS-1$ /** A constant string representing the type custom. */ diff --git a/code/src/java/pcgen/cdom/content/ProcessCalculation.java b/code/src/java/pcgen/cdom/content/ProcessCalculation.java index a6fdc3cfb9f..d784f6b8957 100644 --- a/code/src/java/pcgen/cdom/content/ProcessCalculation.java +++ b/code/src/java/pcgen/cdom/content/ProcessCalculation.java @@ -52,7 +52,7 @@ public final class ProcessCalculation extends AbstractNEPCalculation * BasicCalculation when this ProcessCalculation is processed * @param calc * The BasicCalculation which defines the operation to be - * performed when this this ProcessCalculation is processed + * performed when this ProcessCalculation is processed */ public ProcessCalculation(T object, BasicCalculation calc, FormatManager fmtManager) diff --git a/code/src/java/pcgen/cdom/content/fact/FactDefinitionEnforcer.java b/code/src/java/pcgen/cdom/content/fact/FactDefinitionEnforcer.java index 425d183e5b1..9953dd315ee 100644 --- a/code/src/java/pcgen/cdom/content/fact/FactDefinitionEnforcer.java +++ b/code/src/java/pcgen/cdom/content/fact/FactDefinitionEnforcer.java @@ -32,7 +32,7 @@ * present on the object. * * @param - * The type of of object upon which the FactDefinitionEnforcer will + * The type of object upon which the FactDefinitionEnforcer will * be used * @param * The format of the data stored in the Fact diff --git a/code/src/java/pcgen/cdom/content/fact/FactParser.java b/code/src/java/pcgen/cdom/content/fact/FactParser.java index 8553e154cb0..6632f2e7ae1 100644 --- a/code/src/java/pcgen/cdom/content/fact/FactParser.java +++ b/code/src/java/pcgen/cdom/content/fact/FactParser.java @@ -33,7 +33,7 @@ * A FactParser is a dynamically built subtoken created when a FACT: is defined * * @param - * The type of of object upon which the FactParser can be used + * The type of object upon which the FactParser can be used * @param * The format of the data stored in the Factt */ diff --git a/code/src/java/pcgen/cdom/content/factset/FactSetDefinitionEnforcer.java b/code/src/java/pcgen/cdom/content/factset/FactSetDefinitionEnforcer.java index 2806ef948db..9a718ea2500 100644 --- a/code/src/java/pcgen/cdom/content/factset/FactSetDefinitionEnforcer.java +++ b/code/src/java/pcgen/cdom/content/factset/FactSetDefinitionEnforcer.java @@ -34,7 +34,7 @@ * FACTSET present on the object. * * @param - * The type of of object upon which the FactSetDefinitionEnforcer + * The type of object upon which the FactSetDefinitionEnforcer * will be used * @param * The format of the data stored in the FactSet diff --git a/code/src/java/pcgen/cdom/content/factset/FactSetParser.java b/code/src/java/pcgen/cdom/content/factset/FactSetParser.java index 6eb7f2e8987..7a87e0d6dae 100644 --- a/code/src/java/pcgen/cdom/content/factset/FactSetParser.java +++ b/code/src/java/pcgen/cdom/content/factset/FactSetParser.java @@ -39,7 +39,7 @@ * defined * * @param - * The type of of object upon which the FactSetParser can be used + * The type of object upon which the FactSetParser can be used * @param * The format of the data stored in the FactSet */ diff --git a/code/src/java/pcgen/cdom/facet/ConditionalTemplateFacet.java b/code/src/java/pcgen/cdom/facet/ConditionalTemplateFacet.java index 89e68b332df..21f019a9142 100644 --- a/code/src/java/pcgen/cdom/facet/ConditionalTemplateFacet.java +++ b/code/src/java/pcgen/cdom/facet/ConditionalTemplateFacet.java @@ -35,7 +35,7 @@ /** * ConditionalTemplateFacet is a Facet that tracks the Conditional Templates * granted to the PlayerCharacter. Conditional Templates are those items that - * are are set by HD, LEVEL, and REPEATLEVEL tokens in PCTemplates. + * are set by HD, LEVEL, and REPEATLEVEL tokens in PCTemplates. * * @author Thomas Parker (thpr [at] yahoo.com) */ diff --git a/code/src/java/pcgen/cdom/facet/analysis/ChallengeRatingFacet.java b/code/src/java/pcgen/cdom/facet/analysis/ChallengeRatingFacet.java index fe35a3cc65b..f7801ac7f7d 100644 --- a/code/src/java/pcgen/cdom/facet/analysis/ChallengeRatingFacet.java +++ b/code/src/java/pcgen/cdom/facet/analysis/ChallengeRatingFacet.java @@ -259,7 +259,7 @@ private Integer calcClassesForRaceCR(CharID id) while (levelsNonKey > 1) { cr++; - // TODO: maybe the divisor 2 should be be made configurable, + // TODO: maybe the divisor 2 should be made configurable, // or the whole calculation put into a formula levelsNonKey -= 2; levelsConverted += 2; diff --git a/code/src/java/pcgen/cdom/facet/analysis/VariableFacet.java b/code/src/java/pcgen/cdom/facet/analysis/VariableFacet.java index a127738224d..b423369c3a4 100644 --- a/code/src/java/pcgen/cdom/facet/analysis/VariableFacet.java +++ b/code/src/java/pcgen/cdom/facet/analysis/VariableFacet.java @@ -206,7 +206,7 @@ public void removeAll(CharID id, Object source) * The CharID identifying the Player Character for which the * numeric variable value is to be returned * @param key - * The VariableKey identifying the variable which which the value + * The VariableKey identifying the variable which the value * is to be returned * @param isMax * Used to determine if this method returns the maximum (true) or diff --git a/code/src/java/pcgen/cdom/facet/model/ClassLevelFacet.java b/code/src/java/pcgen/cdom/facet/model/ClassLevelFacet.java index f786625e742..c51d5cf8ac8 100644 --- a/code/src/java/pcgen/cdom/facet/model/ClassLevelFacet.java +++ b/code/src/java/pcgen/cdom/facet/model/ClassLevelFacet.java @@ -22,7 +22,7 @@ import pcgen.cdom.inst.PCClassLevel; /** - * ClassLevelFacet is a Facet that that tracks the PCClassLevel objects that + * ClassLevelFacet is a Facet that tracks the PCClassLevel objects that * have been granted to a Player Character. * * @author Thomas Parker (thpr [at] yahoo.com) diff --git a/code/src/java/pcgen/cdom/facet/model/SizeFacet.java b/code/src/java/pcgen/cdom/facet/model/SizeFacet.java index 836d2863d41..98f87bf4fec 100644 --- a/code/src/java/pcgen/cdom/facet/model/SizeFacet.java +++ b/code/src/java/pcgen/cdom/facet/model/SizeFacet.java @@ -161,7 +161,7 @@ public void update(CharID id) iSize += sizesToAdvance(id, race); // - // Must still be be a valid size + // Must still be a valid size // int maxIndex = Globals.getContext().getReferenceContext() .getConstructedObjectCount(SIZEADJUSTMENT_CLASS) - 1; diff --git a/code/src/java/pcgen/core/Equipment.java b/code/src/java/pcgen/core/Equipment.java index 149947bc000..4f648ba82fe 100644 --- a/code/src/java/pcgen/core/Equipment.java +++ b/code/src/java/pcgen/core/Equipment.java @@ -4443,7 +4443,7 @@ private boolean isMagicLimitedType() } /** - * same as getSpecialAbilityList except if if you have the same ability + * same as getSpecialAbilityList except if you have the same ability * twice, it only lists it once with (2) at the end. * * @param abilityList The list of abilities diff --git a/code/src/java/pcgen/core/EquipmentChoice.java b/code/src/java/pcgen/core/EquipmentChoice.java index f4ac2273e55..563ce93005c 100644 --- a/code/src/java/pcgen/core/EquipmentChoice.java +++ b/code/src/java/pcgen/core/EquipmentChoice.java @@ -367,7 +367,7 @@ public void addSelectableAbilities( } /** - * Add Equipment of Type typeString to to the available list of + * Add Equipment of Type typeString to the available list of * the Equipment Chooser equipChoice * @param typeString the type of Equipment to add to the chooser */ diff --git a/code/src/java/pcgen/core/PlayerCharacter.java b/code/src/java/pcgen/core/PlayerCharacter.java index 9a1bb5f5546..36a2cfa6c2e 100644 --- a/code/src/java/pcgen/core/PlayerCharacter.java +++ b/code/src/java/pcgen/core/PlayerCharacter.java @@ -2046,7 +2046,7 @@ private List getSpecialAbilityListStrings() } /** - * same as getSpecialAbilityList except if if you have the same ability + * same as getSpecialAbilityList except if you have the same ability * twice, it only lists it once with (2) at the end. * * @return List diff --git a/code/src/java/pcgen/core/SpellProgressionCache.java b/code/src/java/pcgen/core/SpellProgressionCache.java index f114dbdb8af..dc0091b1da4 100644 --- a/code/src/java/pcgen/core/SpellProgressionCache.java +++ b/code/src/java/pcgen/core/SpellProgressionCache.java @@ -346,7 +346,7 @@ public int getHighestCastSpellLevel() { * could provide that spell level). This DOES NOT return a class level where * a spell count is "-" (or spells are not available at all). * - * If allowBonus is false, this this will return a class level where the + * If allowBonus is false, this will return a class level where the * CAST or KNOWN spell count is greater than zero (since no bonuses would be * applied to make the spell count a non-zero value) * diff --git a/code/src/java/pcgen/core/npcgen/SkillChoice.java b/code/src/java/pcgen/core/npcgen/SkillChoice.java index 36e121a9d3a..2b9dd7c8bc9 100644 --- a/code/src/java/pcgen/core/npcgen/SkillChoice.java +++ b/code/src/java/pcgen/core/npcgen/SkillChoice.java @@ -32,7 +32,7 @@ * to treat them special. * *

As an example, if the user specifies that TYPE.Profession skills are to - * have a certain weight the assumption is that that weight applies to picking + * have a certain weight the assumption is that weight applies to picking * a single Profession skill and not to each Profession skill individually. * * @author boomer70 <boomer70@yahoo.com> diff --git a/code/src/java/pcgen/gui2/tabs/InfoTabbedPane.java b/code/src/java/pcgen/gui2/tabs/InfoTabbedPane.java index 8b2abb22ddc..b2e519cce53 100644 --- a/code/src/java/pcgen/gui2/tabs/InfoTabbedPane.java +++ b/code/src/java/pcgen/gui2/tabs/InfoTabbedPane.java @@ -301,7 +301,7 @@ public void characterRemoved(CharacterFacade character) * This class handles the concurrent processing of storing and restoring tab * models. Conceptually this process consists of two separate processing * queues. One queue is the orderly execution of restoring tab models which - * takes place in a a semi-concurrent manner. Each tab has its models + * takes place in a semi-concurrent manner. Each tab has its models * restored as a separate task on the EventDispatchThread which allows for * the UI to remain responsive to other events. If the user selects a * different character while tab models are being restored then the model diff --git a/code/src/java/pcgen/gui2/util/FontManipulation.java b/code/src/java/pcgen/gui2/util/FontManipulation.java index 9cfe8b2f1f6..640f585ef4a 100644 --- a/code/src/java/pcgen/gui2/util/FontManipulation.java +++ b/code/src/java/pcgen/gui2/util/FontManipulation.java @@ -62,7 +62,7 @@ public static void title(Container container) } /** - * For extra extra large font. + * For extra large font. * * @param f * base font @@ -73,7 +73,7 @@ public static Font xxlarge(Font f) } /** - * For extra extra large font. + * For extra large font. * * @param container * element to change the font of diff --git a/code/src/java/pcgen/gui2/util/JTreeViewTable.java b/code/src/java/pcgen/gui2/util/JTreeViewTable.java index 3fc9237f18d..b4d936db657 100644 --- a/code/src/java/pcgen/gui2/util/JTreeViewTable.java +++ b/code/src/java/pcgen/gui2/util/JTreeViewTable.java @@ -63,7 +63,7 @@ /** * JTreeViewTable is a subclass of JTreeTable that uses a TreeViewModel instead - * of a a TreeTableModel. The TreeViewModel is a oriented towards displaying + * of a TreeTableModel. The TreeViewModel is a oriented towards displaying * arbitrary objects as a tree instead of TreeTableNodes. In addition, the * TreeViewModel supports multiple viewing methods and column visibility * controls. diff --git a/code/src/java/pcgen/persistence/lst/prereq/AbstractPrerequisiteListParser.java b/code/src/java/pcgen/persistence/lst/prereq/AbstractPrerequisiteListParser.java index 01a616bb55a..ff8ebe234f9 100644 --- a/code/src/java/pcgen/persistence/lst/prereq/AbstractPrerequisiteListParser.java +++ b/code/src/java/pcgen/persistence/lst/prereq/AbstractPrerequisiteListParser.java @@ -191,7 +191,7 @@ protected void parsePrereqListType( // Token now contains all of the possible matches, // min contains the target number (if there is one) - // number contains the number of 'tokens' that be be at least 'min' + // number contains the number of 'tokens' that be at least 'min' if (elementsLength > 2) { // we have more than one option, so use a group diff --git a/code/src/java/pcgen/util/fop/FopTask.java b/code/src/java/pcgen/util/fop/FopTask.java index 762bb282976..1e80d4e4916 100644 --- a/code/src/java/pcgen/util/fop/FopTask.java +++ b/code/src/java/pcgen/util/fop/FopTask.java @@ -154,7 +154,7 @@ public static FopTask newFopTask(InputStream inputXmlStream, File xsltFile, Outp /** * Creates a new FopTask that transforms the input stream using the given xsltFile and outputs a - * pdf document to the given Renderer. This task can can be used for both previewing a pdf + * pdf document to the given Renderer. This task can be used for both previewing a pdf * document as well as printing a pdf * * @param inputXmlStream the fop xml input stream diff --git a/code/src/java/plugin/pretokens/parser/PreFactParser.java b/code/src/java/plugin/pretokens/parser/PreFactParser.java index 998a214d080..afa9fb9b4a6 100644 --- a/code/src/java/plugin/pretokens/parser/PreFactParser.java +++ b/code/src/java/plugin/pretokens/parser/PreFactParser.java @@ -145,7 +145,7 @@ protected void parsePrereqListType(Prerequisite prereq, String kind, { // Token now contains all of the possible matches, // min contains the target number (if there is one) - // number contains the number of 'tokens' that be be at least 'min' + // number contains the number of 'tokens' that be at least 'min' prereq.setOperator(PrerequisiteOperator.GTEQ); // we have more than one option, so use a group prereq.setKind(null); diff --git a/code/src/java/plugin/pretokens/parser/PreFactSetParser.java b/code/src/java/plugin/pretokens/parser/PreFactSetParser.java index 4b6757d424e..9af9c666b82 100644 --- a/code/src/java/plugin/pretokens/parser/PreFactSetParser.java +++ b/code/src/java/plugin/pretokens/parser/PreFactSetParser.java @@ -145,7 +145,7 @@ protected void parsePrereqListType(Prerequisite prereq, String kind, { // Token now contains all of the possible matches, // min contains the target number (if there is one) - // number contains the number of 'tokens' that be be at least 'min' + // number contains the number of 'tokens' that be at least 'min' prereq.setOperator(PrerequisiteOperator.GTEQ); // we have more than one option, so use a group prereq.setKind(null);