🛠️ Code cleanup & added many new features #1

Merged
gnmyt merged 121 commits from features/code-cleanup into master 2021-09-02 13:34:00 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 8eb4033704 - Show all commits

View File

@ -92,7 +92,7 @@ public class CustomTableFieldManager {
* @return this class * @return this class
*/ */
public CustomTableFieldManager extras(String[] extras) { public CustomTableFieldManager extras(String[] extras) {
field.setExtra(extras); field.setExtras(extras);
return this; return this;
} }

View File

@ -96,7 +96,7 @@ public abstract class SQLTable {
* @param extras The extras that you want to add * @param extras The extras that you want to add
*/ */
protected void custom(String type, String name, int length, boolean allowNull, String defaultValue, String... extras) { protected void custom(String type, String name, int length, boolean allowNull, String defaultValue, String... extras) {
custom(new TableField(name, type, length, allowNull, defaultValue).setExtra(extras)); custom(new TableField(name, type, length, allowNull, defaultValue).setExtras(extras));
} }
/** /**