app/src/main/java/ch/epfl/sweng/hostme/apartment/Apartment.java
Showing 2 of 2 total issues
Apartment
has 46 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class Apartment { private String name; private String room; private String address; private int npa;
Method exportDoc
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public JSONObject exportDoc() { JSONObject ret = new JSONObject(); try { ret.put(NAME, this.name); ret.put(ROOM, this.room);