changeset 371:2188086cd143

fixed: missing string cast
author hertzhaft
date Tue, 06 Dec 2005 20:42:24 +0100
parents 6c6bfd03e454
children ad2464eebaa3
files servlet/src/digilib/io/DocuDirent.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/io/DocuDirent.java	Tue Dec 06 20:07:14 2005 +0100
+++ b/servlet/src/digilib/io/DocuDirent.java	Tue Dec 06 20:42:24 2005 +0100
@@ -154,7 +154,7 @@
 	 * @see java.lang.Comparable#compareTo(java.lang.Object)
 	 */
 	public int compareTo(Object arg0) {
-		return (getName().compareTo(arg0));
+		return (getName().compareTo((String) arg0));
 	}
 	
 }