提交 5538210b 编写于 作者: K kohsuke

added a convenient constructor for testing

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13168 71c3de6d-444a-0410-be80-ed276b4c234a
上级 2764acd0
......@@ -8,7 +8,6 @@ import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
import java.util.StringTokenizer;
import java.util.Arrays;
/**
......@@ -41,6 +40,10 @@ public final class Axis implements Comparable<Axis>, Iterable<String> {
throw new IllegalArgumentException(); // bug in the code
}
public Axis(String name, String... values) {
this(name,Arrays.asList(values));
}
/**
* Used to build {@link Axis} from form.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册