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 2015/05/16 05:53:45 UTC
[2/8] logging-log4j2 git commit: Redundant specification of type
arguments (Generics).
Redundant specification of type arguments (Generics).
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/5cab17b9
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/5cab17b9
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/5cab17b9
Branch: refs/heads/master
Commit: 5cab17b9d551c0393212a362fda42f764a6a5b44
Parents: 38b5579
Author: Gary Gregory <ga...@gmail.com>
Authored: Fri May 15 20:47:17 2015 -0700
Committer: Gary Gregory <ga...@gmail.com>
Committed: Fri May 15 20:47:17 2015 -0700
----------------------------------------------------------------------
.../appender/db/jpa/converter/ThrowableAttributeConverter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/5cab17b9/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.java
index 8bfeb4b..1bc7f85 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/ThrowableAttributeConverter.java
@@ -101,7 +101,7 @@ public class ThrowableAttributeConverter implements AttributeConverter<Throwable
throwableClassName = firstLine;
}
- final List<StackTraceElement> stackTrace = new ArrayList<StackTraceElement>();
+ final List<StackTraceElement> stackTrace = new ArrayList<>();
Throwable cause = null;
while (lines.hasNext()) {
final String line = lines.next();