Java
Collapsed getter/setter

by Michael

class Getter {
    private String id;

    public String getId() {
        return id;
    }
}

class Getter {
    private String id;

    public String getId() { return id; }
}