cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/store FilesystemQueueImpl.java
Date Thu, 22 Nov 2001 12:57:02 GMT
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:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message