remove unused vars
parent
168c5364d1
commit
abf784868d
|
@ -8,7 +8,7 @@ public class Main {
|
|||
public static void main(String[] args) {
|
||||
GameEngine engine = new GameEngine();
|
||||
|
||||
Print test = new Print("Hello There", 2, 500);
|
||||
Print test = new Print("Hello There", 2);
|
||||
|
||||
test.addColumn(new Print.Column("I am value 1"));
|
||||
test.addColumn(new Print.Column("Super Value"));
|
||||
|
|
|
@ -36,18 +36,17 @@ public class Print {
|
|||
private final ArrayList<Row> rows = new ArrayList<>();
|
||||
private final ArrayList<Column> columns = new ArrayList<>();
|
||||
|
||||
private String tableName;
|
||||
private int columnPadding;
|
||||
private final String tableName;
|
||||
private final int columnPadding;
|
||||
private int maxColumnWidth;
|
||||
|
||||
public Print(String tableName, int columnPadding, int maxColumnWidth){
|
||||
public Print(String tableName, int columnPadding){
|
||||
this.tableName = tableName;
|
||||
this.columnPadding = columnPadding;
|
||||
this.maxColumnWidth = maxColumnWidth;
|
||||
}
|
||||
|
||||
public Print(){
|
||||
this("", 2, 500);
|
||||
this("", 2);
|
||||
}
|
||||
|
||||
private String createPadding(int amount) {
|
||||
|
|
Loading…
Reference in New Issue