mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[java-inspections] StreamApiMigration: parentheses like (br).readLine()
GitOrigin-RevId: 9f71c7b1a41cd74abd0e51a0637a3da13ce955b6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bbd238474a
commit
ea5e79ca14
+1
-1
@@ -8,7 +8,7 @@ import java.util.List;
|
||||
public class Main {
|
||||
List<String> test(BufferedReader br) throws IOException {
|
||||
List<String> result = new ArrayList<>();
|
||||
for <caret>(String line = ((br.readLine())); line != null; line = (br.readLine())) {
|
||||
for <caret>(String line = (((br).readLine())); line != null; line = (br.readLine())) {
|
||||
result.add(line.trim());
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user