Revision 28220 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/rendering/legend/VectorialUniqueValueLegend.java

View differences:

VectorialUniqueValueLegend.java
368 368
        if (numKeys > 0) {
369 369
            String className = xml.getStringProperty("tipoValueKeys");
370 370
            String[] sk = xml.getStringArrayProperty("keys");
371
			if(sk.length == 0){
372
				sk = new String[]{""};
373
			}
371 374
            String[] sv = xml.getStringArrayProperty("values");
375
			if(sv.length == 0){
376
				sv = new String[]{""};
377
			}
372 378
            Object auxValue = null;
373 379
            Object auxValue2 = null;
374 380
            int[] stk=null;

Also available in: Unified diff