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 2020/11/12 20:37:54 UTC

[logging-log4j2] branch release-2.x updated: Acronyms in upper-case.

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 b6087e2  Acronyms in upper-case.
b6087e2 is described below

commit b6087e28c0f3c9d8d3cf7370a2ff720b68ce5843
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 12 15:37:48 2020 -0500

    Acronyms in upper-case.
---
 .../main/java/org/apache/logging/log4j/core/appender/FileManager.java   | 2 +-
 .../java/org/apache/logging/log4j/core/GarbageCollectionHelper.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java
index 7b1df79..f2b5008 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java
@@ -209,7 +209,7 @@ public class FileManager extends OutputStreamManager {
     protected void defineAttributeView(final Path path) {
         if (attributeViewEnabled) {
             try {
-                // FileOutputStream may not create new file on all jvm
+                // FileOutputStream may not create new file on all JVM
                 path.toFile().createNewFile();
 
                 FileUtils.defineFilePosixAttributeView(path, filePermissions, fileOwner, fileGroup);
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/GarbageCollectionHelper.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/GarbageCollectionHelper.java
index 544cb09..3f67362 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/GarbageCollectionHelper.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/GarbageCollectionHelper.java
@@ -42,7 +42,7 @@ public final class GarbageCollectionHelper implements Closeable, Runnable {
                         sink.write(new byte[1024 * 1024]);
                     } catch (final IOException ignored) {
                     }
-                    // May no-op depending on the jvm configuration
+                    // May no-op depending on the JVM configuration
                     System.gc();
                 }
             } finally {