Skip to content

Commit b520a06

Browse files
committed
more @see fixes
1 parent e0b549d commit b520a06

File tree

2 files changed

+26
-18
lines changed

2 files changed

+26
-18
lines changed

src/main/java/bwapi/Game.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import static bwapi.UnitType.*;
1515

1616
/**
17-
* The{@link Game} class is implemented by BWAPI and is the primary means of obtaining all
17+
* The {@link Game} class is implemented by BWAPI and is the primary means of obtaining all
1818
* game state information from Starcraft Broodwar. Game state information includes all units,
1919
* resources, players, forces, bullets, terrain, fog of war, regions, etc.
2020
*/

src/main/java/bwapi/Unit.java

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ public boolean isRepairing() {
18211821
* @see #research
18221822
* @see #cancelResearch
18231823
* @see #getTech
1824-
* @see #getRemainingResearchTime,
1824+
* @see #getRemainingResearchTime
18251825
*/
18261826
public boolean isResearching() {
18271827
return getOrder() == ResearchTech;
@@ -2181,8 +2181,8 @@ public boolean buildAddon(final UnitType type) {
21812181
* @see Unit#build
21822182
* @see Unit#morph
21832183
* @see Unit#cancelTrain
2184-
* @see Unit#isTraining,
2185-
* {@link Unit#canTrain}
2184+
* @see Unit#isTraining
2185+
* @see Unit#canTrain
21862186
*/
21872187
public boolean train(final UnitType type) {
21882188
return issueCommand(UnitCommand.train(this, type));
@@ -2832,8 +2832,9 @@ public boolean useTech(final TechType tech) {
28322832
* @see #canUseTechWithOrWithoutTarget
28332833
* @see #canUseTech
28342834
* @see #canUseTechWithoutTarget
2835-
* @see #canUseTechUnit,
2836-
* {@link #canUseTechPosition}, {@link TechType}
2835+
* @see #canUseTechUnit
2836+
* @see #canUseTechPosition
2837+
* @see TechType
28372838
*/
28382839
public boolean useTech(final TechType tech, final Position target) {
28392840
return issueCommand(UnitCommand.useTech(this, tech, target));
@@ -2905,8 +2906,8 @@ public boolean canIssueCommand(UnitCommand command) {
29052906
*
29062907
* @see UnitCommandType
29072908
* @see Unit#canCommand
2908-
* @see Unit#canIssueCommandType,
2909-
* {@link Unit#canTargetUnit}
2909+
* @see Unit#canIssueCommandType
2910+
* @see Unit#canTargetUnit
29102911
*/
29112912
public boolean canIssueCommand(UnitCommand command, boolean checkCanUseTechPositionOnPositions, boolean checkCanUseTechUnitOnUnits, boolean checkCanBuildUnitType, boolean checkCanTargetUnit, boolean checkCanIssueCommandType, boolean checkCommandibility) {
29122913
if (checkCommandibility && !canCommand()) {
@@ -3061,8 +3062,10 @@ public boolean canIssueCommandGrouped(UnitCommand command) {
30613062
* so that @Drones morphed later morph nearer to minerals/gas).
30623063
*
30633064
* @see UnitCommandType
3064-
* @see Unit#canIssueCommand,
3065-
* {@link Unit#canCommandGrouped}, {@link Unit#canIssueCommandTypeGrouped}, {@link Unit#canTargetUnit}
3065+
* @see Unit#canIssueCommand
3066+
* @see Unit#canCommandGrouped
3067+
* @see Unit#canIssueCommandTypeGrouped
3068+
* @see Unit#canTargetUnit
30663069
*/
30673070
public boolean canIssueCommandGrouped(UnitCommand command, boolean checkCanUseTechPositionOnPositions, boolean checkCanUseTechUnitOnUnits, boolean checkCanTargetUnit, boolean checkCanIssueCommandType, boolean checkCommandibilityGrouped, boolean checkCommandibility) {
30683071
if (checkCommandibility && !canCommand()) {
@@ -3551,8 +3554,9 @@ public boolean canAttack(Unit target) {
35513554
* Cheap checks for whether the unit is able to execute an attack command to attack-move or attack a unit.
35523555
*
35533556
* @see Unit#canIssueCommand
3554-
* @see Unit#attack,
3555-
* {@link Unit#canAttackMove}, {@link Unit#canAttackUnit}
3557+
* @see Unit#attack
3558+
* @see Unit#canAttackMove
3559+
* @see Unit#canAttackUnit
35563560
*/
35573561
public boolean canAttack(Position target, boolean checkCanTargetUnit, boolean checkCanIssueCommandType, boolean checkCommandibility) {
35583562
if (checkCommandibility && !canCommand()) {
@@ -4373,8 +4377,9 @@ public boolean canSetRallyPoint(Unit target) {
43734377
* position or unit.
43744378
*
43754379
* @see Unit#canIssueCommand
4376-
* @see Unit#setRallyPoint,
4377-
* {@link Unit#canSetRallyPosition}, {@link Unit#canSetRallyUnit}.
4380+
* @see Unit#setRallyPoint
4381+
* @see Unit#canSetRallyPosition
4382+
* @see Unit#canSetRallyUnit
43784383
*/
43794384
public boolean canSetRallyPoint(Position target, boolean checkCanTargetUnit, boolean checkCanIssueCommandType, boolean checkCommandibility) {
43804385
if (checkCommandibility && !canCommand()) {
@@ -5398,8 +5403,9 @@ public boolean canRightClick(Unit target) {
53985403
* or unit.
53995404
*
54005405
* @see Unit#canIssueCommand
5401-
* @see Unit#rightClick,
5402-
* {@link Unit#canRightClickPosition}, {@link Unit#canRightClickUnit}.
5406+
* @see Unit#rightClick
5407+
* @see Unit#canRightClickPosition
5408+
* @see Unit#canRightClickUnit
54035409
*/
54045410
public boolean canRightClick(Position target, boolean checkCanTargetUnit, boolean checkCanIssueCommandType, boolean checkCommandibility) {
54055411
if (checkCommandibility && !canCommand()) {
@@ -5976,8 +5982,10 @@ public boolean canUseTech(TechType tech) {
59765982
* unit (only specify null if the TechType does not target another position/unit).
59775983
*
59785984
* @see Unit#canIssueCommand
5979-
* @see Unit#useTech,
5980-
* {@link Unit#canUseTechWithoutTarget}, {@link Unit#canUseTechUnit}, {@link Unit#canUseTechPosition}
5985+
* @see Unit#useTech
5986+
* @see Unit#canUseTechWithoutTarget
5987+
* @see Unit#canUseTechUnit
5988+
* @see Unit#canUseTechPosition
59815989
*/
59825990
public boolean canUseTech(TechType tech, Position target, boolean checkCanTargetUnit, boolean checkTargetsType, boolean checkCanIssueCommandType, boolean checkCommandibility) {
59835991
if (checkCommandibility && !canCommand()) {

0 commit comments

Comments
 (0)