cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: xml-cocoon2/scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess HsqlIdentityAutoIncrementHelper.java ManualAutoIncrementHelper.java RequestAttributeOutputHelper.java
Date Tue, 04 Dec 2001 08:36:12 GMT
giacomo     01/12/04 00:36:12

  Modified:    scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess
                        HsqlIdentityAutoIncrementHelper.java
                        ManualAutoIncrementHelper.java
                        RequestAttributeOutputHelper.java
  Log:
  Removed EmptyDeclarations (make jikes more quiet)
  
  Revision  Changes    Path
  1.2       +6 -6      xml-cocoon2/scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess/HsqlIdentityAutoIncrementHelper.java
  
  Index: HsqlIdentityAutoIncrementHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess/HsqlIdentityAutoIncrementHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HsqlIdentityAutoIncrementHelper.java	2001/11/26 09:28:08	1.1
  +++ HsqlIdentityAutoIncrementHelper.java	2001/12/04 08:36:11	1.2
  @@ -28,7 +28,7 @@
    * {@link http://hsqldb.sourceforge.net}
    *
    * @author <a href="mailto:haul@apache.org">Christian Haul</a>
  - * @version CVS $Id: HsqlIdentityAutoIncrementHelper.java,v 1.1 2001/11/26 09:28:08 haul
Exp $
  + * @version CVS $Id: HsqlIdentityAutoIncrementHelper.java,v 1.2 2001/12/04 08:36:11 giacomo
Exp $
    */
   public class HsqlIdentityAutoIncrementHelper implements AutoIncrementHelper, ThreadSafe
{
       
  @@ -52,25 +52,25 @@
           resultSet.close();
           
           return id;
  -    };
  +    }
       
   
  -    public boolean includeInQuery() { return false; };
  +    public boolean includeInQuery() { return false; }
   
   
  -    public boolean includeAsValue() { return false; };
  +    public boolean includeAsValue() { return false; }
   
   
       public Object getPreValue( Configuration tableConf, Configuration columnConf, Configuration
modeConf, 
                                  Connection conn, Request request ) throws SQLException,
ConfigurationException {
   
           return null;
  -    };
  +    }
   
   
       public String getSubquery( Configuration tableConf, Configuration columnConf, Configuration
modeConf ) 
           throws ConfigurationException {
   
           return null;
  -    };
  +    }
   }
  
  
  
  1.2       +7 -7      xml-cocoon2/scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess/ManualAutoIncrementHelper.java
  
  Index: ManualAutoIncrementHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess/ManualAutoIncrementHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ManualAutoIncrementHelper.java	2001/11/26 09:28:08	1.1
  +++ ManualAutoIncrementHelper.java	2001/12/04 08:36:12	1.2
  @@ -34,7 +34,7 @@
    * requires only shared locks. C.f. "Phantom Problem"
    *
    * @author <a href="mailto:haul@apache.org">Christian Haul</a>
  - * @version CVS $Id: ManualAutoIncrementHelper.java,v 1.1 2001/11/26 09:28:08 haul Exp
$
  + * @version CVS $Id: ManualAutoIncrementHelper.java,v 1.2 2001/12/04 08:36:12 giacomo Exp
$
    */
   public class ManualAutoIncrementHelper extends AbstractAutoIncrementHelper implements ThreadSafe
{
   
  @@ -46,12 +46,12 @@
           throws SQLException, ConfigurationException {
   
           return null;
  -    };
  +    }
       
  -    public boolean includeInQuery( ) { return true; };
  +    public boolean includeInQuery( ) { return true; }
   
  -    
  -    public boolean includeAsValue( ) { return true; };
  +   
  +    public boolean includeAsValue( ) { return true; }
   
   
       public Object getPreValue( Configuration tableConf, Configuration columnConf, Configuration
modeConf,
  @@ -70,14 +70,14 @@
           if (getLogger().isDebugEnabled())
               getLogger().debug("autoincrementValue " + (maxid+1));
           return new Integer(maxid + 1);
  -    };
  +    }
   
   
       public String getSubquery( Configuration tableConf, Configuration columnConf, Configuration
modeConf ) 
           throws ConfigurationException {
           
           return null;
  -    };
  +    }
   
   
       /**
  
  
  
  1.4       +2 -2      xml-cocoon2/scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess/RequestAttributeOutputHelper.java
  
  Index: RequestAttributeOutputHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/scratchpad/src/org/apache/cocoon/acting/ModularDatabaseAccess/RequestAttributeOutputHelper.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RequestAttributeOutputHelper.java	2001/11/26 09:28:08	1.3
  +++ RequestAttributeOutputHelper.java	2001/12/04 08:36:12	1.4
  @@ -18,7 +18,7 @@
    * "org.apache.cocoon.acting.ModularDatabaseAccess.OutputHelper"+":"
    *
    * @author <a href="mailto:haul@apache.org">Christian Haul</a>
  - * @version CVS $Id: RequestAttributeOutputHelper.java,v 1.3 2001/11/26 09:28:08 haul Exp
$
  + * @version CVS $Id: RequestAttributeOutputHelper.java,v 1.4 2001/12/04 08:36:12 giacomo
Exp $
    * */
   public class RequestAttributeOutputHelper extends AbstractOutputHelper implements OutputHelper
{
       
  @@ -81,7 +81,7 @@
           request.setAttribute( ( (String) this.settings.get("key-prefix",
                                                              "org.apache.cocoon.acting.ModularDatabaseAccess.OutputHelper"
) ) + ":",
                                 e.getMessage());
  -    };
  +    }
   
   
       /**
  
  
  

----------------------------------------------------------------------
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