Added: logging/site/trunk/docs/log4j/companions/receivers/pmd.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/pmd.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/pmd.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/pmd.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + Receivers - PMD Results + + + + + + + +
+ +
+
+
+

PMD Results

The following document contains the results of PMD 3.9.

Files

org/apache/log4j/db/CustomSQLDBReceiver.java

ViolationLine
Avoid unused imports such as 'org.apache.log4j.spi.OptionHandler'40
Avoid empty catch blocks198 - 200
Avoid empty catch blocks398 - 399

org/apache/log 4j/db/DBHelper.java

ViolationLine
Avoid empty catch blocks53 - 56
Avoid empty catch blocks64 - 65

org/apache/log4j/db/DBReceiverJob.java

ViolationLine
Avoid empty catch blocks160 - 162

org/apache/log4j/db/dialect/Util.java

ViolationLine
Avoid empty catch blocks59 - 61

org/apache/log4j/net/JMSReceiver.java

ViolationLine
Avoid empty catch blocks244 - 246
Avoid empty catch blocks264 - 266

org/apache/log4j/net/JMSReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks47 - 48

org/apache/log4j/net/MulticastReceiver.java

ViolationLine
Avoid empty catch blocks246 - 248

org/apache/log4j/net/MulticastReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks45 - 46

org/apache/log4j/net/SocketHubReceiver.java

ViolationLine
Avoid empty catch blocks262 - 264

org/apache/log4j/net/SocketNode13.java

ViolationLine
Avoid empty if statements193 - 195
Avoid empty catch blocks218 - 220

org/apache/log4j/net/SocketReceiver.java

ViolationLine
Avoid empty catch blocks200 - 202
Avoid empty catch blocks214 - 216

org/apache/log4j/net/UDPReceiver.java

ViolationLine
Avoid empty catch blocks243 - 245

org/apache/log4j/net/XMLSocketNode.java

ViolationLine
Avoid empty catch blocks201 - 203

org/apache/log4j/net/XMLSocketReceiver.java

ViolationLine
Ensure you override both equals() and hashCode()116
Avoid empty catch blocks180 - 182
Avoid empty catch blocks194 - 196

org/apache/log4j/varia/LogFilePatternReceiver.java

< th>Line
Violation
These nested if statements could be combined441 - 443
These nested if statements could be combined480 - 482

org/apache/log4j/varia/LogFilePatternReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks45 - 46

org/apache/log4j/xml/LogFileXMLReceive r.java

ViolationLine
These nested if statements could be combined151 - 153
+
+
+
+
+
+ + + Propchange: logging/site/trunk/docs/log4j/companions/receivers/pmd.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/receivers/pmd.xml URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/pmd.xml?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/pmd.xml (added) +++ logging/site/trunk/docs/log4j/companions/receivers/pmd.xml Sat Jul 21 10:50:33 2007 @@ -0,0 +1,115 @@ + + + + +Avoid unused imports such as 'org.apache.log4j.spi.OptionHandler' + + +Avoid empty catch blocks + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Avoid empty if statements + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Avoid empty catch blocks + + + + +Ensure you override both equals() and hashCode() + + +Avoid empty catch blocks + + +Avoid empty catch blocks + + + + +These nested if statements could be combined + + +These nested if statements could be combined + + + + +Avoid empty catch blocks + + + + +These nested if statements could be combined + + + \ No newline at end of file Added: logging/site/trunk/docs/log4j/companions/receivers/project-info.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/project-info.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/project-info.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/project-info.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + Receivers - Project Information + + + + + + + +
+ +
+
+
+

Project Information

This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

Overview

DocumentDescription
DependenciesThis document lists the projects dependencies and provides information on each dependency.
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
Issue TrackingThis is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link.
Source RepositoryThis is a link to the online source repository that can be viewed via a web browser.
Project LicenseThis is a link to the definitions of project licenses.
+
+
+
+
+
+ + + Propchange: logging/site/trunk/docs/log4j/companions/receivers/project-info.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/receivers/project-reports.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/project-reports.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/project-reports.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/project-reports.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + Receivers - Generated Reports + + + + + + + +
+ +
+
+
+

Generated Reports

This document provides an overview of the various reports that are automatically generated by Maven Each report is briefly described below.

Overview

DocumentDescription
CPD ReportDuplicate code detection.
JavaDocsJavaDoc API documentation.
PMD ReportVerification of coding rules.
Changes ReportChanges Report on Releases of the Project.
Source XrefHTML based, cross-reference version of Java source code.
+
+
+
+
+
+ + + Propchange: logging/site/trunk/docs/log4j/companions/receivers/project-reports.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/receivers/roadmap.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/roadmap.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/roadmap.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/roadmap.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + Receivers - apache-log4j-receivers Roadmap + + + + + + + +
+ +
+
+
+

apache-log4j-receivers Roadmap

No additional development is anticipated.

+
+
+
+
+
+ + + Propchange: logging/site/trunk/docs/log4j/companions/receivers/roadmap.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/receivers/source-repository.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/source-repository.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/source-repository.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/source-repository.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + Receivers - Source Repository + + + + + + + +
+ +
+
+
+

Overview

This project uses Subversion to manage its source code. Instructions on Subversion use can be found at http://svnbook.red-bean.com/.

Web Access

The following is a link to the online source repository.

Anonymous access

The source can be checked out anonymously from SVN with this command:

$ svn checkout http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk apache-log4j-receivers

Developer access

Everyone can access the Subversion repository via HTTPS, but Committers must checkout the Subversion repository via HTTPS.

$ svn checkout https://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk apache-log4j-receivers

To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)

$ svn commit --username your-username -m "A message"

Access from behind a firewall

For those users who are stuck behind a corporate firewall which is blocking http access to the Subversion repository, you can try to access it via the developer connection:

$ svn checkout https://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk apache-log4j-receivers

Access through a proxy

The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)

There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.

Example : Edit the 'servers' file and add something like :

[global]
+http-proxy-host = your.proxy.name
+http-proxy-port = 3128
+
+
+
+
+
+
+ + + Propchange: logging/site/trunk/docs/log4j/companions/receivers/source-repository.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/receivers/xref-test/allclasses-frame.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/xref-test/allclasses-frame.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/xref-test/allclasses-frame.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/xref-test/allclasses-frame.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,26 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + Propchange: logging/site/trunk/docs/log4j/companions/receivers/xref-test/allclasses-frame.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/receivers/xref-test/index.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/xref-test/index.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/xref-test/index.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/xref-test/index.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,22 @@ + + + + + + Apache Receivers Companion for log4j 1.2. 1.1-SNAPSHOT Reference + + + + + + + + + + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + + + Propchange: logging/site/trunk/docs/log4j/companions/receivers/xref-test/index.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4j/companions/receivers/xref-test/org/apache/log4j/VectorAppender.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/receivers/xref-test/org/apache/log4j/VectorAppender.html?view=auto&rev=558362 ============================================================================== --- logging/site/trunk/docs/log4j/companions/receivers/xref-test/org/apache/log4j/VectorAppender.html (added) +++ logging/site/trunk/docs/log4j/companions/receivers/xref-test/org/apache/log4j/VectorAppender.html Sat Jul 21 10:50:33 2007 @@ -0,0 +1,104 @@ + + + +VectorAppender xref + + + +
View Javadoc
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one or more
+3    * contributor license agreements.  See the NOTICE file distributed with
+4    * this work for additional information regarding copyright ownership.
+5    * The ASF licenses this file to You under the Apache License, Version 2.0
+6    * (the "License"); you may not use this file except in compliance with
+7    * the License.  You may obtain a copy of the License at
+8    * 
+9    *      http://www.apache.org/licenses/LICENSE-2.0
+10   * 
+11   * Unless required by applicable law or agreed to in writing, software
+12   * distributed under the License is distributed on an "AS IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+14   * See the License for the specific language governing permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.log4j;
+19  
+20  import java.util.Vector;
+21  import org.apache.log4j.spi.LoggingEvent;
+22  
+23  /***
+24     An appender that appends logging events to a vector.
+25     @author Ceki  G&uuml;lc&uuml;
+26  */
+27  public class VectorAppender extends AppenderSkeleton {
+28    public Vector vector;
+29  
+30    long delay = 0;
+31    
+32    public VectorAppender() {
+33      super(true);
+34      vector = new Vector();
+35    }
+36  
+37  
+38    /***
+39       This method is called by the {@link AppenderSkeleton#doAppend}
+40       method.
+41  
+42    */
+43    public void append(LoggingEvent event) {
+44      if(delay > 0) {
+45        try {
+46          Thread.sleep(delay);
+47        } catch (Exception e) {
+48        }
+49      }
+50  
+51      vector.addElement(event);
+52    }
+53  
+54    /***
+55     * Returns a vector of {@link LoggingEvent}.
+56     */
+57    public Vector getVector() {
+58      return vector;
+59    }
+60  
+61    public synchronized void close() {
+62      if (this.closed) {
+63        return;
+64      }
+65  
+66      this.closed = true;
+67    }
+68  
+69    public boolean isClosed() {
+70      return closed;
+71    }
+72  
+73    public boolean requiresLayout() {
+74      return false;
+75    }
+76    
+77    /***
+78     * Returns a delay to log.
+79     */
+80    public long getDelay() {
+81      return delay;
+82    }
+83  
+84    /***
+85     * Sets a delay to log.
+86     */  
+87    public void setDelay(long delay) {
+88      this.delay = delay;
+89    }
+90  
+91  }
+
+
+ + Propchange: logging/site/trunk/docs/log4j/companions/receivers/xref-test/org/apache/log4j/VectorAppender.html ------------------------------------------------------------------------------ svn:mime-type = text/html