提交 dd39e633 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Inline ValueArray(Value[]) into get(Value[])

上级 870a8593
...@@ -29,10 +29,6 @@ public class ValueArray extends Value { ...@@ -29,10 +29,6 @@ public class ValueArray extends Value {
this.values = list; this.values = list;
} }
private ValueArray(Value[] list) {
this(Object.class, list);
}
/** /**
* Get or create a array value for the given value array. * Get or create a array value for the given value array.
* Do not clone the data. * Do not clone the data.
...@@ -41,7 +37,7 @@ public class ValueArray extends Value { ...@@ -41,7 +37,7 @@ public class ValueArray extends Value {
* @return the value * @return the value
*/ */
public static ValueArray get(Value[] list) { public static ValueArray get(Value[] list) {
return new ValueArray(list); return new ValueArray(Object.class, list);
} }
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论