Added missing override annotations

This commit is contained in:
Rsl1122 2018-08-12 12:17:38 +03:00
parent 4abf818cb6
commit c6b2f89728
4 changed files with 4 additions and 0 deletions

View File

@ -161,6 +161,7 @@ public class Plan extends BukkitPlugin implements PlanPlugin {
throw new IllegalStateException("This method should be used on this plugin."); throw new IllegalStateException("This method should be used on this plugin.");
} }
@Override
public BukkitSystem getSystem() { public BukkitSystem getSystem() {
return system; return system;
} }

View File

@ -93,6 +93,7 @@ public class PlanBungee extends BungeePlugin implements PlanPlugin {
return PlanColorScheme.create(); return PlanColorScheme.create();
} }
@Override
public BungeeSystem getSystem() { public BungeeSystem getSystem() {
return system; return system;
} }

View File

@ -124,6 +124,7 @@ public class PlanSponge extends SpongePlugin implements PlanPlugin {
return getClass().getAnnotation(Plugin.class).version(); return getClass().getAnnotation(Plugin.class).version();
} }
@Override
public SpongeSystem getSystem() { public SpongeSystem getSystem() {
return system; return system;
} }

View File

@ -38,6 +38,7 @@ public class HealthInformation extends AbstractHealthInfo {
calculate(); calculate();
} }
@Override
public String toHtml() { public String toHtml() {
StringBuilder healthNoteBuilder = new StringBuilder(); StringBuilder healthNoteBuilder = new StringBuilder();
for (String healthNote : notes) { for (String healthNote : notes) {