Remove unnecessary this keyword. #1555
Fixes `UnnecessaryThis` inspection violations. Description: >Reports on any unnecessary uses of this in the code. Using this to disambiguate a code reference may easily become unnecessary via automatic refactorings, and is discouraged by many coding styles.
This commit is contained in:
parent
15d0f87f15
commit
896af516b0
|
|
@ -52,9 +52,9 @@ public class Comment implements TextBlock {
|
|||
this.text = new String[text.length];
|
||||
System.arraycopy(text, 0, this.text, 0, this.text.length);
|
||||
startLineNo = lastLine - this.text.length + 1;
|
||||
this.endLineNo = lastLine;
|
||||
this.startColNo = firstCol;
|
||||
this.endColNo = lastCol;
|
||||
endLineNo = lastLine;
|
||||
startColNo = firstCol;
|
||||
endColNo = lastCol;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue