File tree Expand file tree Collapse file tree
bridge/src/main/java/org/sonar/plugins/javascript/bridge
sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919import static org .sonarsource .api .sonarlint .SonarLintSide .INSTANCE ;
2020
2121import java .io .IOException ;
22- import java .io .InputStream ;
2322import java .io .InputStreamReader ;
2423import java .util .List ;
2524import java .util .Map ;
Original file line number Diff line number Diff line change 2424
2525import com .google .gson .Gson ;
2626import com .google .gson .JsonSyntaxException ;
27- import java .io .*;
27+ import java .io .BufferedReader ;
28+ import java .io .ByteArrayInputStream ;
29+ import java .io .File ;
30+ import java .io .IOException ;
31+ import java .io .InputStreamReader ;
2832import java .net .InetAddress ;
2933import java .net .URI ;
3034import java .net .URISyntaxException ;
@@ -355,7 +359,7 @@ public void initLinter(
355359 }
356360 }
357361
358- private String textResponse (BridgeResponse response ) {
362+ private static String textResponse (BridgeResponse response ) {
359363 BufferedReader bufferedReader = new BufferedReader (response .reader ());
360364 return bufferedReader .lines ().collect (Collectors .joining ());
361365 }
Original file line number Diff line number Diff line change 3737import org .sonar .plugins .javascript .bridge .TsConfigFile ;
3838import org .sonarsource .api .sonarlint .SonarLintSide ;
3939import org .sonarsource .sonarlint .plugin .api .module .file .ModuleFileEvent ;
40- import org .sonarsource .sonarlint .plugin .api .module .file .ModuleFileListener ;
4140
4241@ SonarLintSide (lifespan = SonarLintSide .MODULE )
4342public class TsConfigCacheImpl implements TsConfigCache {
You can’t perform that action at this time.
0 commit comments