You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2022/12/12 19:18:30 UTC

[logging-log4j-tools] branch master updated: LOG4J2-3628 Fix the pattern in `VersionUtils`

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

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 801e93b  LOG4J2-3628 Fix the pattern in `VersionUtils`
801e93b is described below

commit 801e93b63c6f9e56301f2be971acf35068d29f4a
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Dec 12 20:19:09 2022 +0100

    LOG4J2-3628 Fix the pattern in `VersionUtils`
---
 .../src/main/java/org/apache/logging/log4j/VersionUtils.java            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-changelog/src/main/java/org/apache/logging/log4j/VersionUtils.java b/log4j-changelog/src/main/java/org/apache/logging/log4j/VersionUtils.java
index 08933f1..1aadeeb 100644
--- a/log4j-changelog/src/main/java/org/apache/logging/log4j/VersionUtils.java
+++ b/log4j-changelog/src/main/java/org/apache/logging/log4j/VersionUtils.java
@@ -18,7 +18,7 @@ package org.apache.logging.log4j;
 
 public final class VersionUtils {
 
-    public static final String VERSION_PATTERN = "^\\d+\\.\\d+.\\d+(-SNAPSHOT)?$";
+    public static final String VERSION_PATTERN = "^\\d+\\.\\d+\\.\\d+(-SNAPSHOT)?$";
 
     private VersionUtils() {}