cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/slide/util AdminHelper.java
Date Thu, 22 Jul 2004 23:21:56 GMT
joerg       2004/07/22 16:21:56

  Modified:    src/java/org/apache/cocoon/transformation/pagination
                        Pagesheet.java
               src/blocks/mail/java/org/apache/cocoon/mail/transformation
                        SendMailTransformer.java
               src/blocks/slide/java/org/apache/cocoon/slide/util
                        AdminHelper.java
  Log:
  fix eclipse compiler warnings
  
  Revision  Changes    Path
  1.9       +1 -3      cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination/Pagesheet.java
  
  Index: Pagesheet.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination/Pagesheet.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Pagesheet.java	22 Jul 2004 09:12:34 -0000	1.8
  +++ Pagesheet.java	22 Jul 2004 23:21:55 -0000	1.9
  @@ -16,7 +16,6 @@
   
   package org.apache.cocoon.transformation.pagination;
   
  -import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.HashMap;
   import java.util.Iterator;
  @@ -24,7 +23,6 @@
   
   import org.apache.cocoon.Modifiable;
   import org.apache.cocoon.util.ResizableContainer;
  -
   import org.xml.sax.Attributes;
   import org.xml.sax.SAXException;
   import org.xml.sax.helpers.DefaultHandler;
  
  
  
  1.15      +2 -2      cocoon-2.1/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
  
  Index: SendMailTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- SendMailTransformer.java	22 Jul 2004 15:29:46 -0000	1.14
  +++ SendMailTransformer.java	22 Jul 2004 23:21:56 -0000	1.15
  @@ -454,7 +454,7 @@
       }
   
       /**
  -     * @link http://java.sun.com/products/javamail/1.3/docs/javadocs/com/sun/mail/smtp/package-summary.html
  +     * @see <a href="http://java.sun.com/products/javamail/1.3/docs/javadocs/com/sun/mail/smtp/package-summary.html">Sun
Javamail Javadoc</a>
        * @throws Exception
        */
       private void sendMail(List newAddresses, Transport trans)
  
  
  
  1.2       +3 -6      cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/slide/util/AdminHelper.java
  
  Index: AdminHelper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/slide/util/AdminHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AdminHelper.java	17 Jul 2004 17:57:24 -0000	1.1
  +++ AdminHelper.java	22 Jul 2004 23:21:56 -0000	1.2
  @@ -341,14 +341,11 @@
                                         String caller,
                                         String userUri,
                                         String password) throws Exception {
  -        
  -        String usersPath = nat.getNamespaceConfig().getUsersPath();
  -        
  +
           SlideToken slideToken = new SlideTokenImpl(new CredentialsToken(caller));
           Content content = nat.getContentHelper();
  -        
  +
           try {
  -            
               nat.begin();
   
               NodeRevisionDescriptors revisions = content.retrieve(slideToken, userUri);
  @@ -356,7 +353,7 @@
               revision.setLastModified(new Date());
               revision.setProperty(new NodeProperty("password", password, NodeProperty.SLIDE_NAMESPACE));
               content.store(slideToken, userUri, revision, null);
  -            
  +
               nat.commit();
           }
           catch (Exception e) {
  
  
  

Mime
View raw message