Update Server.java

added some annotations and deleted the useless terminate() implementation