Refactor warehouse part two.
This commit is contained in:
@@ -112,7 +112,7 @@ public class dbWarehouseHandler extends dbHandlerBase {
|
||||
int cityUID = rs.getInt("cityUID");
|
||||
JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("template"));
|
||||
City city = City.getCity(cityUID);
|
||||
Warehouse warehouse = new Warehouse(jsonObject);
|
||||
city.warehouse = new Warehouse(jsonObject);
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user