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 2021/12/31 17:11:34 UTC
[logging-log4j2] branch release-2.x updated: Revert "[LOG4J2-3267] make Generate#generate method public for automation"
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new ddaea03 Revert "[LOG4J2-3267] make Generate#generate method public for automation"
ddaea03 is described below
commit ddaea036f03e7bc7b95c6219504e6fe0d81fed04
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 31 12:09:57 2021 -0500
Revert "[LOG4J2-3267] make Generate#generate method public for automation"
This reverts commit 75391dfc7c620bd69ebe804a4eddb2cd7d0f4d0d.
---
.../src/main/java/org/apache/logging/log4j/core/tools/Generate.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/tools/Generate.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/tools/Generate.java
index eebc2c7..cf49a53 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/tools/Generate.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/tools/Generate.java
@@ -1061,7 +1061,7 @@ public final class Generate {
generate(args, type, System.out);
}
- public static void generate(final String[] args, final Type type, final PrintStream printStream) {
+ static void generate(final String[] args, final Type type, final PrintStream printStream) {
if (!validate(args)) {
usage(printStream, type.generator());
System.exit(-1);