Skip to content

Commit d511994

Browse files
author
Flemming N. Larsen
committed
Fixed some Javadoc issues
1 parent 6dc0c8b commit d511994

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

robocode.api/src/main/java/robocode/BattleRules.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public long getInactivityTime() {
101101
/**
102102
* Returns true if the enemy names are hidden, i.e. anonymous; false otherwise.
103103
*
104-
* @Since 1.7.3
104+
* @since 1.7.3
105105
*/
106106
public boolean getHideEnemyNames() {
107107
return hideEnemyNames;

robocode.api/src/main/java/robocode/Rules.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private Rules() {}
140140

141141
/**
142142
* The amount of bonus damage dealt by a robot ramming an opponent by moving forward into it,
143-
* which is 2 x {@link ROBOT_HIT_DAMAGE} = 1.2 energy points.
143+
* which is 2 x {@link #ROBOT_HIT_DAMAGE} = 1.2 energy points.
144144
*/
145145
public static final double ROBOT_HIT_BONUS = 2 * ROBOT_HIT_DAMAGE;
146146

robocode.api/src/main/java/robocode/control/BattleSpecification.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public BattleSpecification(BattlefieldSpecification battlefieldSize, int numRoun
9696
* @param sentryBorderSize is the sentry border size for a {@link robocode.BorderSentry BorderSentry}.
9797
* @param hideEnemyNames flag specifying if enemy names are hidden from robots.
9898
* @param robots is the robots participating in this battle.
99-
* @param initialSetup is the initial position and heading of the robots, where the indices matches the indices from the {@code robots} parameter.
99+
* @param initialSetups is the initial position and heading of the robots, where the indices matches the indices from the {@code robots} parameter.
100100
*
101101
* @since 1.9.2.0
102102
*/

0 commit comments

Comments
 (0)