Changeset 35312 in osm for applications/editors/josm/plugins/indoorhelper/src/model/PresetCounter.java
- Timestamp:
- 2020-01-28T22:27:30+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/indoorhelper/src/model/PresetCounter.java
r34179 r35312 1 /* 2 * Indoorhelper is a JOSM plug-in to support users when creating their own indoor maps. 3 * Copyright (C) 2016 Erik Gruschka 4 * Copyright (C) 2018 Rebecca Schmidt 5 * 6 * This program is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 1 // License: GPL. For details, see LICENSE file. 20 2 package model; 21 3 … … 36 18 37 19 private List<IndoorObject> rankingList; 38 private List<ObjectCounter> counterList; 20 private final List<ObjectCounter> counterList = new ArrayList<>(); 39 21 40 22 /** … … 43 25 44 26 public PresetCounter() { 45 this.init();46 }47 48 private void init() {49 counterList = new ArrayList<>();50 51 27 counterList.add(new ObjectCounter(IndoorObject.CONCRETE_WALL, 0)); 52 28 counterList.add(new ObjectCounter(IndoorObject.DOOR_PRIVATE, 0)); … … 138 114 } 139 115 } 140 141 142 116 }
Note:
See TracChangeset
for help on using the changeset viewer.
