refactoring
This commit is contained in:
parent
4319b3e6ae
commit
4f6e466843
|
@ -226,8 +226,7 @@ public class Field {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Field create(String name, int offset, FieldType type, String... options) {
|
public static Field create(String name, int offset, FieldType type, String... options) {
|
||||||
Field field = new Field(name, offset, type, options);
|
return new Field(name, offset, type, options);
|
||||||
return field;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Field create(String name, int offset, int stringSize, FieldType type) {
|
public static Field create(String name, int offset, int stringSize, FieldType type) {
|
||||||
|
|
Loading…
Reference in New Issue