Author: rfscholte Date: Sat Apr 6 21:47:50 2013 New Revision: 1465301 URL: http://svn.apache.org/r1465301 Log: Use varArgs for attributes
Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/SinkEventAttributeSet.java Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/SinkEventAttributeSet.java URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/SinkEventAttributeSet.java?rev=1465301&r1=1465300&r2=1465301&view=diff ============================================================================== --- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/SinkEventAttributeSet.java (original) +++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/SinkEventAttributeSet.java Sat Apr 6 21:47:50 2013 @@ -138,7 +138,7 @@ public class SinkEventAttributeSet * @param attributes the specified String array. If the length of this array * is not an even number, an IllegalArgumentException is thrown. */ - public SinkEventAttributeSet( String[] attributes ) + public SinkEventAttributeSet( String... attributes ) { int n = attributes.length;