Revision 10564

View differences:

branches/v10/libraries/libUI/src/org/gvsig/gui/beans/filterPanel/filterQueryPanel/FilterQueryJPanel.java
301 301
		 */
302 302
		public int compareTo(Object o) {
303 303
			// It's supposed that 'o' is an string
304
			return this.getText().compareTo(o);
304
			return this.getText().compareTo((String)o);
305 305
		}
306 306
		
307 307
		/*
......
351 351
		 */
352 352
		public int compareTo(Object o) {
353 353
			// It's supposed that 'o' is an string
354
			return this.getText().compareTo(o);
354
			return this.getText().compareTo((String)o);
355 355
		}
356 356
		
357 357
		/*

Also available in: Unified diff