You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/08/12 12:12:25 UTC

[39/50] logging-log4j2 git commit: Use "with" as the Builder setter method prefix.

Use "with" as the Builder setter method prefix.

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

Branch: refs/heads/LOG4J2-1010&LOG4J2-1447-injectable-contextdata&better-datastructure
Commit: e9cec779d2f6722f97c6e403502a5789ebcaeaa8
Parents: f95a85b
Author: Gary Gregory <gg...@apache.org>
Authored: Tue Aug 9 17:27:19 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Tue Aug 9 17:27:19 2016 -0700

----------------------------------------------------------------------
 .../log4j/core/config/plugins/validation/ValidatingPlugin.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e9cec779/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/ValidatingPlugin.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/ValidatingPlugin.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/ValidatingPlugin.java
index 95a4209..6068f46 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/ValidatingPlugin.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/ValidatingPlugin.java
@@ -57,7 +57,7 @@ public class ValidatingPlugin {
         @Required(message = "The name given by the builder is null")
         private String name;
 
-        public Builder setName(final String name) {
+        public Builder withName(final String name) {
             this.name = name;
             return this;
         }