You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2015/09/01 01:57:56 UTC

[1/2] logging-log4j2 git commit: Important Javadoc clarification.

Repository: logging-log4j2
Updated Branches:
  refs/heads/LOG4J2-952 51e492352 -> 33fb7b17e


Important Javadoc clarification.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/d7f703e2
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/d7f703e2
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/d7f703e2

Branch: refs/heads/LOG4J2-952
Commit: d7f703e22cdc7139e0df2e6bc9487f7da53f75f1
Parents: 51e4923
Author: ggregory <gg...@apache.org>
Authored: Mon Aug 31 16:53:42 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Aug 31 16:53:42 2015 -0700

----------------------------------------------------------------------
 .../logging/log4j/core/config/builder/api/ComponentBuilder.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/d7f703e2/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
index 8d48a82..17e0faa 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
@@ -77,7 +77,7 @@ public interface ComponentBuilder<T extends ComponentBuilder> extends Builder<Co
     /**
      * Adds a sub component.
      * @param builder The Assembler for the subcomponent with all of its attributes and sub-components set.
-     * @return The ComponentBuilder.
+     * @return This ComponentBuilder (<em>not</em> the argument).
      */
     T addComponent(ComponentBuilder<?> builder);
 


[2/2] logging-log4j2 git commit: Make Javadoc consistent.

Posted by gg...@apache.org.
Make Javadoc consistent.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/33fb7b17
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/33fb7b17
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/33fb7b17

Branch: refs/heads/LOG4J2-952
Commit: 33fb7b17e69231d30912464b96af3a9209eaf66a
Parents: d7f703e
Author: ggregory <gg...@apache.org>
Authored: Mon Aug 31 16:57:49 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Aug 31 16:57:49 2015 -0700

----------------------------------------------------------------------
 .../log4j/core/config/builder/api/ComponentBuilder.java        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/33fb7b17/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
index 17e0faa..82bb670 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java
@@ -27,7 +27,7 @@ import org.apache.logging.log4j.core.util.Builder;
 public interface ComponentBuilder<T extends ComponentBuilder> extends Builder<Component> {
 
     /**
-     * Adds an attribute to the component.
+     * Adds a String attribute.
      * @param key The attribute key.
      * @param value The value of the attribute.
      * @return The ComponentBuilder.
@@ -35,7 +35,7 @@ public interface ComponentBuilder<T extends ComponentBuilder> extends Builder<Co
     T addAttribute(String key, String value);
 
     /**
-     * Adds a logging Level attribute to the component.
+     * Adds a logging Level attribute.
      * @param key The attribute key.
      * @param level The logging Level.
      * @return The ComponentBuilder.
@@ -43,7 +43,7 @@ public interface ComponentBuilder<T extends ComponentBuilder> extends Builder<Co
     T addAttribute(String key, Level level);
 
     /**
-     * Adds an enumeration.
+     * Adds an enumeration attribute.
      * @param key The attribute key.
      * @param value The enumeration.
      * @return The ComponentBuilder.