lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication PublicationFactory.java PageEnvelope.java
Date Fri, 30 May 2003 20:56:35 GMT
andreas     2003/05/30 13:56:35

  Modified:    src/java/org/apache/lenya/cms/publication
                        PublicationFactory.java PageEnvelope.java
  Log:
  corrected some coding style issues
  
  Revision  Changes    Path
  1.3       +5 -2      cocoon-lenya/src/java/org/apache/lenya/cms/publication/PublicationFactory.java
  
  Index: PublicationFactory.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/PublicationFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PublicationFactory.java	27 May 2003 15:31:29 -0000	1.2
  +++ PublicationFactory.java	30 May 2003 20:56:35 -0000	1.3
  @@ -16,9 +16,12 @@
    *
    * @author  andreas
    */
  -public class PublicationFactory {
  +public final class PublicationFactory {
  +	
  +	private PublicationFactory() {
  +	}
       
  -    static Category log = Category.getInstance(PublicationFactory.class);
  +    private static Category log = Category.getInstance(PublicationFactory.class);
       
       /**
        * Creates a new publication.
  
  
  
  1.16      +1 -1      cocoon-lenya/src/java/org/apache/lenya/cms/publication/PageEnvelope.java
  
  Index: PageEnvelope.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/PageEnvelope.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- PageEnvelope.java	28 May 2003 14:39:31 -0000	1.15
  +++ PageEnvelope.java	30 May 2003 20:56:35 -0000	1.16
  @@ -29,7 +29,7 @@
    * @author <a href="mailto:andreas.hartmann@wyona.org">Andreas Hartmann</a>
    */
   public class PageEnvelope {
  -    static Category log = Category.getInstance(PageEnvelope.class);
  +    private static Category log = Category.getInstance(PageEnvelope.class);
   
       public static final String PUBLICATION_ID = "publication-id";
       public static final String PUBLICATION = "publication";
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message