Files
kotlin-fork/nj2k/testData/newJ2k/comments/fieldWithEndOfLineComment2.java
T
Dmitry Gridin 70185ba2a6 Formatter, NJ2K: fix indent for comments inside function literals
#KT-4194 Fixed
#KT-31881 Fixed
#KT-34673 Fixed
#KT-35152 Fixed
2019-11-29 16:28:59 +07:00

13 lines
295 B
Java
Vendored

public class Foo {
private Integer someInt;
public void setState(Integer state) {
//some comment 1
someInt = state;
//some comment 2
if (state == 2)
System.out.println("2");
}
public Integer getState() {
return someInt;
}
}