Skip to content

Commit

Permalink
Resolve all Javadoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
2008Choco committed May 31, 2020
1 parent bd9ef9c commit deeaa06
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.metadata
bin/
tmp/
doc/
*.tmp
*.bak
*.swp
Expand Down Expand Up @@ -211,4 +212,4 @@ gradle-app.setting
# gradle/wrapper/gradle-wrapper.properties

### Gradle Patch ###
**/build/
**/build/
2 changes: 2 additions & 0 deletions src/main/java/com/ninjaguild/dragoneggdrop/DragonEggDrop.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ public static DragonEggDrop getInstance() {
*
* @param sender the sender to which the message should be sent
* @param message the message to send
*
* @param <T> command sender type
*/
public static <T extends CommandSender> void sendMessage(T sender, String message) {
sender.sendMessage(CHAT_PREFIX + message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public DamageEntry getTopDamager() {
* If offset of 2, third most. So on and so forth. Offset 0 would be equivalent to
* {@link #getTopDamager()}.
*
* @param offset the damage entry offset. Must be < {@link #uniqueDamagers()}
* @param offset the damage entry offset. Must be {@literal <} {@link #uniqueDamagers()}
*
* @return the top damager at the given offset
*/
Expand Down Expand Up @@ -182,7 +182,7 @@ public DamageEntry getMostRecentDamage() {
* offset of 2, third most. So on and so forth. Offset 0 would be equivalent to
* {@link #getMostRecentDamage()}.
*
* @param offset the damage entry offset. Must be < {@link #size()}
* @param offset the damage entry offset. Must be {@literal <} {@link #size()}
*
* @return the damage entry at the given offset
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ public boolean isCentered() {

/**
* {@inheritDoc}
*
* @implNote Hardcoded to 0.0. Eggs are not meant to be generated by loot pools
* <p>
* <strong>NOTE:</strong> Hardcoded to 0.0. Eggs are not meant to be generated by loot pools
*/
@Override
public double getWeight() {
Expand Down

0 comments on commit deeaa06

Please sign in to comment.