Say I have a class like this:
class Person {
private String name;
private int age;
}
I'm lazy, so I let IntelliJ auto-generate the getters for these fields. This is the result:
class Person {
private String name;
private int age;
public String getName() {
return name;
}
// <-- I don't want this empty line here
public int getAge() {
return age;
}
}
Is there any way to disable the empty lines between the getters (and setters)? I can manually delete them, but if there are a lot of fields it becomes a nuisance.