mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
Better comment handling in ternary->if conversion & stream-to-loop
This commit is contained in:
@@ -5,6 +5,9 @@ import java.util.List;
|
||||
|
||||
public class Main {
|
||||
private static String test(List<String> list) {
|
||||
// otherwise not null
|
||||
// if list is null
|
||||
// return null
|
||||
if (list == null) {
|
||||
return null;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user