Update Client.java

Code changed according to naming conventions.