Update Server.java

Code changed according to naming conventions