Revision 6997

View differences:

trunk/libraries/libIverUtiles/src/com/iver/utiles/XMLEntity.java
1089 1089
				result = 37 + result + (int) key[j];
1090 1090
			}
1091 1091

  
1092
			char[] value = properties[i].getValue().toCharArray();
1093
			for (int j = 0; j < value.length; j++) {
1094
				result = 37 + result + (int) value[j];
1092
			String value = properties[i].getValue();
1093
			char[] chars = (value!=null)? value.toCharArray() : new char[0];
1094
			for (int j = 0; j < chars.length; j++) {
1095
				result = 37 + result + (int) chars[j];
1095 1096
			}
1096 1097
		}
1097 1098

  

Also available in: Unified diff