cziegeler    01/11/22 04:57:02

  Modified:    src/org/apache/cocoon/components/store
                        FilesystemQueueImpl.java
  Log:
  Fixed compilation problems
  
  Revision  Changes    Path
  1.5       +3 -3      
xml-cocoon2/src/org/apache/cocoon/components/store/FilesystemQueueImpl.java
  
  Index: FilesystemQueueImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/store/FilesystemQueueImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FilesystemQueueImpl.java  2001/11/22 10:02:42     1.4
  +++ FilesystemQueueImpl.java  2001/11/22 12:57:02     1.5
  @@ -178,7 +178,7 @@
        *
        * @param element the element to be inserted
        */
  -    public void insert(Comparable element) {
  +    public void insert(Object element) {
           if(this.linkedList.size() < maxobjects) {
               if (this.getLogger().isDebugEnabled() == true) {
                   this.getLogger().debug("Insert Element in FilesystemQueue");
  @@ -196,7 +196,7 @@
        * @return the element at top of heap
        * @exception NoSuchElementException if isEmpty() == true
        */
  -    public Comparable peek() throws NoSuchElementException {
  +    public Object peek() throws NoSuchElementException {
           if (this.getLogger().isDebugEnabled() == true) {
               this.getLogger().debug("Peek Element in FilesystemQueue");
           }
  @@ -209,7 +209,7 @@
        * @return the element at top of heap
        * @exception NoSuchElementException if isEmpty() == true
        */
  -    public Comparable pop() throws NoSuchElementException {
  +    public Object pop() throws NoSuchElementException {
           if (this.getLogger().isDebugEnabled() == true) {
               this.getLogger().debug("Pop Element in FilesystemQueue");
           }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to