Index: src/org/apache/cocoon/components/store/FilesystemQueueImpl.java
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/store/FilesystemQueueImpl.java,v
retrieving revision 1.1
diff -u -r1.1 FilesystemQueueImpl.java
--- src/org/apache/cocoon/components/store/FilesystemQueueImpl.java	2001/10/23 11:55:19	1.1
+++ src/org/apache/cocoon/components/store/FilesystemQueueImpl.java	2001/11/19 13:45:10
@@ -180,7 +180,7 @@
    *
    * @param element the element to be inserted
    */
-  public void insert(Comparable element) {
+  public void insert(Object element) {
     if(this.linkedList.size() < maxobjects) {
       this.getLogger().debug("Insert Element in FilesystemQueue");
       this.linkedList.addFirst(element);
@@ -196,10 +196,10 @@
    * @return the element at top of heap
    * @exception NoSuchElementException if isEmpty() == true
    */
-  public Comparable peek() throws NoSuchElementException {
+  public Object peek() throws NoSuchElementException {
     try {
       this.getLogger().debug("Peek Element in FilesystemQueue");
-      return (Comparable)linkedList.getLast();
+      return linkedList.getLast();
     } catch (NoSuchElementException e) {
       this.getLogger().error("Error peeking element from the queue",e);
       return null;
@@ -212,10 +212,10 @@
    * @return the element at top of heap
    * @exception NoSuchElementException if isEmpty() == true
    */
-  public Comparable pop() throws NoSuchElementException {
+  public Object pop() throws NoSuchElementException {
     try {
       this.getLogger().debug("Pop Element in FilesystemQueue");
-      return (Comparable)linkedList.removeLast();
+      return linkedList.removeLast();
     } catch (NoSuchElementException e) {
       this.getLogger().error("Error popping element from the queue",e);
       return null;
Index: src/org/apache/cocoon/components/store/FilesystemQueueObject.java
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/store/FilesystemQueueObject.java,v
retrieving revision 1.1
diff -u -r1.1 FilesystemQueueObject.java
--- src/org/apache/cocoon/components/store/FilesystemQueueObject.java	2001/10/23 11:55:19	1.1
+++ src/org/apache/cocoon/components/store/FilesystemQueueObject.java	2001/11/19 13:45:10
@@ -12,7 +12,7 @@
  *
  * @author <a href="mailto:g-froehlich@gmx.de">Gerhard Froehlich</a>
  */
-public class FilesystemQueueObject implements Comparable {
+public class FilesystemQueueObject {
   private Object object;
   private Object key;
 
@@ -29,9 +29,5 @@
 
   public Object getObject() {
     return this.object;
-  }
-
-  public int compareTo(Object o) {
-    return 0;
   }
 }
