Updated App.java and AppTest.java with the latest coding style fixes from CheckStyle.