Permalink
Browse files

remove some some duplicated words (#2280)

  • Loading branch information...
1 parent 4a7039c commit 209ef8d30dcd5860f01f4e5a7823f65037867b6c @grimreaper grimreaper committed with LegacyKing Feb 12, 2017
Showing with 26 additions and 26 deletions.
  1. +1 −1 code/src/java/pcgen/base/calculation/FormulaCalculation.java
  2. +1 −1 code/src/java/pcgen/cdom/base/ChooseSelectionActor.java
  3. +1 −1 code/src/java/pcgen/cdom/base/Constants.java
  4. +1 −1 code/src/java/pcgen/cdom/content/ProcessCalculation.java
  5. +1 −1 code/src/java/pcgen/cdom/content/fact/FactDefinitionEnforcer.java
  6. +1 −1 code/src/java/pcgen/cdom/content/fact/FactParser.java
  7. +1 −1 code/src/java/pcgen/cdom/content/factset/FactSetDefinitionEnforcer.java
  8. +1 −1 code/src/java/pcgen/cdom/content/factset/FactSetParser.java
  9. +1 −1 code/src/java/pcgen/cdom/facet/ConditionalTemplateFacet.java
  10. +1 −1 code/src/java/pcgen/cdom/facet/analysis/ChallengeRatingFacet.java
  11. +1 −1 code/src/java/pcgen/cdom/facet/analysis/VariableFacet.java
  12. +1 −1 code/src/java/pcgen/cdom/facet/model/ClassLevelFacet.java
  13. +1 −1 code/src/java/pcgen/cdom/facet/model/SizeFacet.java
  14. +1 −1 code/src/java/pcgen/core/Equipment.java
  15. +1 −1 code/src/java/pcgen/core/EquipmentChoice.java
  16. +1 −1 code/src/java/pcgen/core/PlayerCharacter.java
  17. +1 −1 code/src/java/pcgen/core/SpellProgressionCache.java
  18. +1 −1 code/src/java/pcgen/core/npcgen/SkillChoice.java
  19. +1 −1 code/src/java/pcgen/gui2/tabs/InfoTabbedPane.java
  20. +2 −2 code/src/java/pcgen/gui2/util/FontManipulation.java
  21. +1 −1 code/src/java/pcgen/gui2/util/JTreeViewTable.java
  22. +1 −1 code/src/java/pcgen/persistence/lst/prereq/AbstractPrerequisiteListParser.java
  23. +1 −1 code/src/java/pcgen/util/fop/FopTask.java
  24. +1 −1 code/src/java/plugin/pretokens/parser/PreFactParser.java
  25. +1 −1 code/src/java/plugin/pretokens/parser/PreFactSetParser.java
@@ -53,7 +53,7 @@
* 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<T> formula, BasicCalculation<T> calc)
{
@@ -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 <T> The Type of object chosen with this ChooseSelectionActor
*/
@@ -91,7 +91,7 @@
/** 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. */
@@ -52,7 +52,7 @@
* 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<T> calc,
FormatManager<T> fmtManager)
@@ -32,7 +32,7 @@
* present on the object.
*
* @param <T>
- * The type of of object upon which the FactDefinitionEnforcer will
+ * The type of object upon which the FactDefinitionEnforcer will
* be used
* @param <F>
* The format of the data stored in the Fact
@@ -33,7 +33,7 @@
* A FactParser is a dynamically built subtoken created when a FACT: is defined
*
* @param <T>
- * The type of of object upon which the FactParser can be used
+ * The type of object upon which the FactParser can be used
* @param <F>
* The format of the data stored in the Factt
*/
@@ -34,7 +34,7 @@
* FACTSET present on the object.
*
* @param <T>
- * The type of of object upon which the FactSetDefinitionEnforcer
+ * The type of object upon which the FactSetDefinitionEnforcer
* will be used
* @param <F>
* The format of the data stored in the FactSet
@@ -39,7 +39,7 @@
* defined
*
* @param <T>
- * The type of of object upon which the FactSetParser can be used
+ * The type of object upon which the FactSetParser can be used
* @param <F>
* The format of the data stored in the FactSet
*/
@@ -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)
*/
@@ -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;
@@ -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
@@ -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)
@@ -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;
@@ -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
@@ -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
*/
@@ -2046,7 +2046,7 @@ public int getSkillPoints()
}
/**
- * 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
@@ -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)
*
@@ -32,7 +32,7 @@
* to treat them special.
*
* <p>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 &lt;boomer70@yahoo.com&gt;
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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);
@@ -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);

0 comments on commit 209ef8d

Please sign in to comment.