logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1415031 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AnsiEscape.java
Date Thu, 29 Nov 2012 02:11:36 GMT
Author: ggregory
Date: Thu Nov 29 02:11:36 2012
New Revision: 1415031

URL: http://svn.apache.org/viewvc?rev=1415031&view=rev
Log:
Use var args.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AnsiEscape.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AnsiEscape.java?rev=1415031&r1=1415030&r2=1415031&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AnsiEscape.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AnsiEscape.java
Thu Nov 29 02:11:36 2012
@@ -170,7 +170,7 @@ public enum AnsiEscape {
      *            {@linkplain AnsiEscape} names.
      * @return An ANSI escape sequence.
      */
-    public static String createSequence(String[] names) {
+    public static String createSequence(String... names) {
         if (names == null) {
             return getDefaultStyle();
         }



Mime
View raw message