You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2005/01/20 18:54:21 UTC

cvs commit: logging-log4j/src/java/org/apache/log4j/varia LogFilePatternReceiverBeanInfo.java

ceki        2005/01/20 09:54:21

  Modified:    src/java/org/apache/log4j/varia
                        LogFilePatternReceiverBeanInfo.java
  Log:
  Cosmetic changes only
  
  Revision  Changes    Path
  1.8       +23 -24    logging-log4j/src/java/org/apache/log4j/varia/LogFilePatternReceiverBeanInfo.java
  
  Index: LogFilePatternReceiverBeanInfo.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/varia/LogFilePatternReceiverBeanInfo.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- LogFilePatternReceiverBeanInfo.java	26 Jul 2004 07:39:31 -0000	1.7
  +++ LogFilePatternReceiverBeanInfo.java	20 Jan 2005 17:54:21 -0000	1.8
  @@ -1,19 +1,19 @@
   /*
    * Copyright 1999,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
  - 
  +
   package org.apache.log4j.varia;
   
   import java.beans.PropertyDescriptor;
  @@ -25,25 +25,24 @@
    *
    */
   public class LogFilePatternReceiverBeanInfo extends SimpleBeanInfo {
  -
  -    /* (non-Javadoc)
  -     * @see java.beans.BeanInfo#getPropertyDescriptors()
  -     */
  -    public PropertyDescriptor[] getPropertyDescriptors() {
  -
  -        try {
  -
  -            return new PropertyDescriptor[] {
  -                new PropertyDescriptor("fileURL", LogFilePatternReceiver.class),
  -                new PropertyDescriptor("timestampFormat", LogFilePatternReceiver.class),
  -                new PropertyDescriptor("logFormat", LogFilePatternReceiver.class),
  -                new PropertyDescriptor("name", LogFilePatternReceiver.class),
  -                new PropertyDescriptor("tailing", LogFilePatternReceiver.class),
  -                new PropertyDescriptor("filterExpression", LogFilePatternReceiver.class),
  -            };
  -        } catch (Exception e) {
  -        }
  -
  -        return null;
  +  /* (non-Javadoc)
  +   * @see java.beans.BeanInfo#getPropertyDescriptors()
  +   */
  +  public PropertyDescriptor[] getPropertyDescriptors() {
  +    try {
  +      return new PropertyDescriptor[] {
  +        new PropertyDescriptor("fileURL", LogFilePatternReceiver.class),
  +        new PropertyDescriptor(
  +          "timestampFormat", LogFilePatternReceiver.class),
  +        new PropertyDescriptor("logFormat", LogFilePatternReceiver.class),
  +        new PropertyDescriptor("name", LogFilePatternReceiver.class),
  +        new PropertyDescriptor("tailing", LogFilePatternReceiver.class),
  +        new PropertyDescriptor(
  +          "filterExpression", LogFilePatternReceiver.class),
  +      };
  +    } catch (Exception e) {
       }
  +
  +    return null;
  +  }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org