Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java @ 151:1623c8c99135
Read all classes with UniqueValueRendererReader, including the last one.
author | vc11884admin@VC11884.win.bsh.de |
---|---|
date | Thu, 30 Jun 2011 12:04:03 +0200 |
parents | acc9e5430177 |
children | 51c99594346e |
comparison
equal
deleted
inserted
replaced
150:7b1433d3b574 | 151:1623c8c99135 |
---|---|
77 logger.error( | 77 logger.error( |
78 "Could not read class count."+ | 78 "Could not read class count."+ |
79 " Stopped reading renderer."); | 79 " Stopped reading renderer."); |
80 return layer; | 80 return layer; |
81 } | 81 } |
82 for(int i = 0; i < count - 1; i++) { | 82 for(int i = 0; i < count; i++) { |
83 Element rendererElement = util.addRenderer(layer); | 83 Element rendererElement = util.addRenderer(layer); |
84 | 84 |
85 try { | 85 try { |
86 String value = renderer.getValue(i); | 86 String value = renderer.getValue(i); |
87 value = value.replaceAll(" ", ""); | 87 value = value.replaceAll(" ", ""); |