You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2021/12/14 09:26:26 UTC

[commons-jcs] branch master updated (e36dcba -> 0355d75)

This is an automated email from the ASF dual-hosted git repository.

tv pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git.


    from e36dcba  Merge pull request #77 from apache/dependabot/github_actions/actions/checkout-2.4.0
     new 58a474b  Security patch CVE-2021-44228, update log4j2 to 2.16.0
     new 0355d75  Better readability

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 commons-jcs-core/pom.xml                                              | 4 ++--
 .../org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

[commons-jcs] 01/02: Security patch CVE-2021-44228, update log4j2 to 2.16.0

Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git

commit 58a474be5d22da194b4cec66073eceb2af6c763a
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Tue Dec 14 10:25:52 2021 +0100

    Security patch CVE-2021-44228, update log4j2 to 2.16.0
---
 commons-jcs-core/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commons-jcs-core/pom.xml b/commons-jcs-core/pom.xml
index f723bb4..19f70f6 100644
--- a/commons-jcs-core/pom.xml
+++ b/commons-jcs-core/pom.xml
@@ -53,7 +53,7 @@
     <dependency>
       <groupId>org.apache.logging.log4j</groupId>
       <artifactId>log4j-api</artifactId>
-      <version>2.15.0</version>
+      <version>2.16.0</version>
       <optional>true</optional>
     </dependency>
 
@@ -199,7 +199,7 @@
         <dependency>
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-core</artifactId>
-          <version>2.15.0</version>
+          <version>2.16.0</version>
           <scope>test</scope>
         </dependency>
       </dependencies>

[commons-jcs] 02/02: Better readability

Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git

commit 0355d7516547dc76015927df90c2ac2529ecc3a1
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Tue Dec 14 10:26:12 2021 +0100

    Better readability
---
 .../org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java
index 7b2f0d7..b5c0524 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoveryReceiver.java
@@ -275,7 +275,7 @@ public class UDPDiscoveryReceiver
                                 synchronized (msgQueue)
                                 {
                                     // Check if queue full already?
-                                    if (msgQueue.size() == maxPoolSize)
+                                    if (msgQueue.remainingCapacity() == 0)
                                     {
                                         // remove oldest element from queue
                                         msgQueue.remove();