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 ca...@apache.org on 2007/08/25 05:58:30 UTC

svn commit: r569608 - in /logging/log4j/trunk/src/main/java/org/apache/log4j: lf5/util/ lf5/viewer/ lf5/viewer/categoryexplorer/ spi/

Author: carnold
Date: Fri Aug 24 20:58:29 2007
New Revision: 569608

URL: http://svn.apache.org/viewvc?rev=569608&view=rev
Log:
Bug 40951: Minor javadoc fixes

Modified:
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/StreamUtils.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableColumn.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/spi/NOPLoggerRepository.java

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java?rev=569608&r1=569607&r2=569608&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java Fri Aug 24 20:58:29 2007
@@ -83,7 +83,7 @@
   /**
    * Starts a new thread to parse the log file and create a LogRecord.
    * See run().
-   * @param LogBrokerMonitor
+   * @param monitor LogBrokerMonitor
    */
   public void parse(LogBrokerMonitor monitor) throws RuntimeException {
     _monitor = monitor;

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java?rev=569608&r1=569607&r2=569608&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java Fri Aug 24 20:58:29 2007
@@ -107,7 +107,7 @@
    * The first LogLevel in the List is used as the default LogLevel unless
    * changed using the setDefaultLevel method.<p>
    *
-   * @param userDefined A list of user defined LogLevel objects.
+   * @param userDefinedLevels A list of user defined LogLevel objects.
    * @return LogMonitorAdapter
    */
   public static LogMonitorAdapter newInstance(List userDefinedLevels) {

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/StreamUtils.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/StreamUtils.java?rev=569608&r1=569607&r2=569608&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/StreamUtils.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/StreamUtils.java Fri Aug 24 20:58:29 2007
@@ -97,7 +97,7 @@
   }
 
   /**
-   * @returns a byte[] containing the information contained in the
+   * @return a byte[] containing the information contained in the
    * specified InputStream.
    * @throws java.io.IOException
    */

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableColumn.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableColumn.java?rev=569608&r1=569607&r2=569608&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableColumn.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableColumn.java Fri Aug 24 20:58:29 2007
@@ -89,7 +89,7 @@
   /**
    * Convert a column label into a LogTableColumn object.
    *
-   * @param level The label of a level to be converted into a LogTableColumn.
+   * @param column The label of a level to be converted into a LogTableColumn.
    * @return LogTableColumn The LogTableColumn with a label equal to column.
    * @throws LogTableColumnFormatException Is thrown when the column can not be
    *         converted into a LogTableColumn.

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java?rev=569608&r1=569607&r2=569608&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java Fri Aug 24 20:58:29 2007
@@ -185,8 +185,8 @@
    * <p>Method altered by Richard Hurst such that it returns the CategoryNode
    * corresponding to the CategoryPath</p>
    *
-   * @param CategoryPath
-   * @returns CategoryNode
+   * @param path category path.
+   * @return CategoryNode
    */
   public CategoryNode addCategory(CategoryPath path) {
     CategoryNode root = (CategoryNode) getRoot();
@@ -299,8 +299,8 @@
   /**
    * <p>Returns the CategoryPath to the specified CategoryNode</p>
    *
-   * @param CategoryNode The target CategoryNode
-   * @returns CategoryPath
+   * @param node The target CategoryNode
+   * @return CategoryPath
    */
   public TreePath getTreePathToRoot(CategoryNode node) {
     if (node == null) {

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/spi/NOPLoggerRepository.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/spi/NOPLoggerRepository.java?rev=569608&r1=569607&r2=569608&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/spi/NOPLoggerRepository.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/spi/NOPLoggerRepository.java Fri Aug 24 20:58:29 2007
@@ -62,7 +62,7 @@
     }
 
     /**
-     * @{inheritDoc}
+     * {@inheritDoc}
      */
     public Level getThreshold() {
         return Level.OFF;



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