mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Add missing @Override annotations (#5430)
This commit is contained in:
1 parent
8577d3f8d5
commit
f6378676b1
405 files changed
+1377
-1
No files matched your search
@@ -64,6 +64,7 @@ public class MarkupText extends AbstractMarkupText {
|
||||
this.markup = markup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(Tag that) {
|
||||
return this.pos-that.pos;
|
||||
}
|
||||
@@ -249,6 +250,7 @@ public class MarkupText extends AbstractMarkupText {
|
||||
* @param end
|
||||
* If negative, -N means "trim the last N-1 chars". That is, (s,-1) is the same as (s,length)
|
||||
*/
|
||||
@Override
|
||||
public SubText subText(int start, int end) {
|
||||
return new SubText(start, end<0 ? text.length()+1+end : end);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user