~ubuntu-branches/ubuntu/vivid/mkgmap/vivid

« back to all changes in this revision

Viewing changes to src/uk/me/parabola/imgfmt/app/mdr/Mdr10.java

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2014-08-13 22:13:41 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140813221341-i9dzzjuto2o7hfh6
Tags: 0.0.0+svn3333-1
* New upstream version
  Closes: #745097
* add debian/classpath (thanks for the patch to Manfred Stock
  <manfred.stock+debian@gmail.com>)
  Closes: #741596
* d/copyright: DEP5

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                setConfig(config);
44
44
 
45
45
                for (int i = 1; i <= MAX_GROUP_NUMBER; i++) {
46
 
                        poiTypes[i] = new ArrayList<Mdr10Record>();
 
46
                        poiTypes[i] = new ArrayList<>();
47
47
                }
48
48
        }
49
49
 
98
98
         * number of entries in that group.
99
99
         */
100
100
        public Map<Integer, Integer> getGroupSizes() {
101
 
                Map<Integer, Integer> m = new LinkedHashMap<Integer, Integer>();
 
101
                Map<Integer, Integer> m = new LinkedHashMap<>();
102
102
 
103
103
                for (int i = 1; i < MAX_GROUP_NUMBER; i++) {
104
104
                        List<Mdr10Record> poiGroup = poiTypes[i];
132
132
                // Nothing to do here
133
133
                return 0;
134
134
        }
 
135
 
 
136
        /**
 
137
         * Nothing to do for this section.
 
138
         *
 
139
         * Although this section has a subsection by map index in mdr1, its record does not contain the
 
140
         * map index and so nothing needs to be re-written here.  The map index is contained in its mdr11ref.
 
141
         */
 
142
        public void relabelMaps(Mdr1 maps) {
 
143
        }
135
144
}