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:
Michal Kordas 2015-08-27 00:02:21 +02:00 committed by Roman Ivanov
parent 15d0f87f15
commit 896af516b0
1 changed files with 3 additions and 3 deletions

View File

@ -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