Skip to content

Commit 70ad56e

Browse files
committed
[FIX] remove unused data.hasLineMarkers() if-case
1 parent aecc0e7 commit 70ad56e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/test/java/net/seesharpsoft/intellij/plugins/csv/CsvAnnotatorTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
package net.seesharpsoft.intellij.plugins.csv;
22

3-
import com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl;
43
import com.intellij.codeInsight.daemon.impl.HighlightInfo;
54
import com.intellij.codeInsight.daemon.impl.HighlightInfoType;
65
import com.intellij.openapi.Disposable;
7-
import com.intellij.openapi.editor.Document;
86
import com.intellij.openapi.project.DumbService;
97
import com.intellij.openapi.project.Project;
108
import com.intellij.openapi.util.Disposer;
@@ -72,11 +70,6 @@ private long collectAndCheckHighlighting(@NotNull ExpectedHighlightingData data)
7270

7371
long elapsed = System.currentTimeMillis() - start;
7472
data.checkResult(infos, file.getText());
75-
if (data.hasLineMarkers()) {
76-
Document document = myFixture.getDocument(this.getFile());
77-
data.checkLineMarkers(DaemonCodeAnalyzerImpl.getLineMarkers(document, myFixture.getProject()), document.getText());
78-
}
79-
8073
hardRefToFileElement.hashCode();
8174
return elapsed;
8275
}

0 commit comments

Comments
 (0)