You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ck...@apache.org on 2018/12/30 16:35:34 UTC

[logging-log4j2] branch master updated: Upgrade error-prone to 2.3.2 (from 2.3.0)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5f1f803  Upgrade error-prone to 2.3.2 (from 2.3.0)
5f1f803 is described below

commit 5f1f803da6bf128fd636d1b8ca9a338674831728
Author: Carter Kozak <ck...@apache.org>
AuthorDate: Sun Dec 30 11:24:20 2018 -0500

    Upgrade error-prone to 2.3.2 (from 2.3.0)
    
    Fix StackTraceElementAttributeConverter.convertString nop-substring
---
 .../log4j/jpa/converter/StackTraceElementAttributeConverter.java      | 2 +-
 pom.xml                                                               | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/log4j-jpa/src/main/java/org/apache/logging/log4j/jpa/converter/StackTraceElementAttributeConverter.java b/log4j-jpa/src/main/java/org/apache/logging/log4j/jpa/converter/StackTraceElementAttributeConverter.java
index a6ffe31..dfbf7e7 100644
--- a/log4j-jpa/src/main/java/org/apache/logging/log4j/jpa/converter/StackTraceElementAttributeConverter.java
+++ b/log4j-jpa/src/main/java/org/apache/logging/log4j/jpa/converter/StackTraceElementAttributeConverter.java
@@ -72,7 +72,7 @@ public class StackTraceElementAttributeConverter implements AttributeConverter<S
                     // we don't care
                 }
             } else {
-                fileName = parenthesisContents.substring(0);
+                fileName = parenthesisContents;
             }
         }
 
diff --git a/pom.xml b/pom.xml
index cc225e4..0a2f60d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -225,8 +225,8 @@
     <!-- See https://maven.apache.org/plugins/maven-site-plugin/migrate.html -->
     <velocity.plugin.version>1.5</velocity.plugin.version>
     <asciidoc.plugin.version>1.5.6</asciidoc.plugin.version>
-    <errorprone.version>2.3.0</errorprone.version>
-    <plexus.errorprone.version>2.8.4</plexus.errorprone.version>
+    <errorprone.version>2.3.2</errorprone.version>
+    <plexus.errorprone.version>2.8.5</plexus.errorprone.version>
     <remote.resources.plugin.version>1.5</remote.resources.plugin.version>
     <manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile>
     <maven.compiler.source>1.8</maven.compiler.source>