Skip to content

Commit

Permalink
remove some some duplicated words (#2280)
Browse files Browse the repository at this point in the history
  • Loading branch information
grimreaper authored and LegacyKing committed Feb 12, 2017
1 parent 4a7039c commit 209ef8d
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 26 deletions.
Expand Up @@ -53,7 +53,7 @@ public final class FormulaCalculation<T> extends AbstractNEPCalculation<T>
* 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)
{
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/cdom/base/ChooseSelectionActor.java
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/cdom/base/Constants.java
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/cdom/content/ProcessCalculation.java
Expand Up @@ -52,7 +52,7 @@ public final class ProcessCalculation<T> extends AbstractNEPCalculation<T>
* 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)
Expand Down
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/cdom/content/fact/FactParser.java
Expand Up @@ -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
*/
Expand Down
Expand Up @@ -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
Expand Down
Expand Up @@ -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
*/
Expand Down
Expand Up @@ -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)
*/
Expand Down
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/cdom/facet/analysis/VariableFacet.java
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/cdom/facet/model/ClassLevelFacet.java
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/cdom/facet/model/SizeFacet.java
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/core/Equipment.java
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/core/EquipmentChoice.java
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/core/PlayerCharacter.java
Expand Up @@ -2046,7 +2046,7 @@ private List<String> 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
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/core/SpellProgressionCache.java
Expand Up @@ -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)
*
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/core/npcgen/SkillChoice.java
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/gui2/tabs/InfoTabbedPane.java
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions code/src/java/pcgen/gui2/util/FontManipulation.java
Expand Up @@ -62,7 +62,7 @@ public static void title(Container container)
}

/**
* For extra extra large font.
* For extra large font.
*
* @param f
* base font
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/gui2/util/JTreeViewTable.java
Expand Up @@ -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.
Expand Down
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/pcgen/util/fop/FopTask.java
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/src/java/plugin/pretokens/parser/PreFactParser.java
Expand Up @@ -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);
Expand Down
Expand Up @@ -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);
Expand Down

0 comments on commit 209ef8d

Please sign in to comment.