Add missing @Override annotations (#5430)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-04-28 17:28:25 +08:00
1 parent 8577d3f8d5
commit f6378676b1
405 files changed
+1377 -1

No files matched your search

@@ -449,6 +449,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
this.archive = archive;
}
@Override
public String getDisplayName() {
return StringUtils.removeStart(getLongName(), "Jenkins ");
}
@@ -1073,6 +1074,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
/**
* Sort by short name.
*/
@Override
public int compareTo(PluginWrapper pw) {
return shortName.compareToIgnoreCase(pw.shortName);
}
@@ -1134,6 +1136,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
plugins.put(plugin.shortName, plugin);
}
@Override
public boolean isActivated() {
return !plugins.isEmpty();
}