Update TablePrinterSink.java

Closed if/else statement