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

@@ -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);
}