logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396019 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java
Date Tue, 09 Oct 2012 13:12:32 GMT
Author: ggregory
Date: Tue Oct  9 13:12:32 2012
New Revision: 1396019

URL: http://svn.apache.org/viewvc?rev=1396019&view=rev
Log:
Fix generics warning.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java?rev=1396019&r1=1396018&r2=1396019&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java
Tue Oct  9 13:12:32 2012
@@ -262,7 +262,7 @@ public abstract class NameAbbreviator {
          *
          * @param fragments element abbreviation patterns.
          */
-        public PatternAbbreviator(List fragments) {
+        public PatternAbbreviator(List<PatternAbbreviatorFragment> fragments) {
             if (fragments.size() == 0) {
                 throw new IllegalArgumentException(
                     "fragments must have at least one element");



Mime
View raw message