Add smaller output method
authorJanis Streib <janis@dogcraft.de>
Fri, 27 Jun 2014 08:44:38 +0000 (10:44 +0200)
committerJanis Streib <janis@dogcraft.de>
Fri, 27 Jun 2014 08:44:38 +0000 (10:44 +0200)
src/org/cacert/gigi/output/DataTable.java

index 771a0c2..6c36eff 100644 (file)
@@ -15,8 +15,7 @@ public class DataTable implements Outputable {
                this.cells = content;
        }
 
-       @Override
-       public void output(PrintWriter out, Language l, Map<String, Object> vars) {
+       public void output(PrintWriter out, Language l) {
                int mesCells = cells.size();
                for (Cell c : cells) {
                        if (c.getColSpan() > 1) {
@@ -87,4 +86,9 @@ public class DataTable implements Outputable {
 
        }
 
+       @Override
+       public void output(PrintWriter out, Language l, Map<String, Object> vars) {
+               output(out, l);
+       }
+
 }