Revision 7187 trunk/libraries/libIverUtiles/src/com/iver/utiles/XMLEntity.java

View differences:

XMLEntity.java
1089 1089
				result = 37 + result + (int) key[j];
1090 1090
			}
1091 1091

  
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];
1092
			if (properties[i]!=null) {
1093
				String value = properties[i].getValue();
1094
				char[] chars = (value!=null)? value.toCharArray() : new char[0];
1095
				for (int j = 0; j < chars.length; j++) {
1096
					result = 37 + result + (int) chars[j];
1097
				}
1098
			} else {
1099
				result += 37;
1096 1100
			}
1097 1101
		}
1098 1102

  

Also available in: Unified diff