diff --git a/src/main/java/researcher/Server.java b/src/main/java/researcher/Server.java index da6ce56916691b1e9108ecce92a0b17314f7ec35..a705938b5da2d76697ed070cd98adcab90e87ff6 100644 --- a/src/main/java/researcher/Server.java +++ b/src/main/java/researcher/Server.java @@ -1,6 +1,6 @@ package researcher; -import it.ewlab.researcher.ResearcherOuterClass; +import it.ewlab.researcher.ResearcherOuterClass.Researcher; import java.io.IOException; import java.net.ServerSocket; @@ -15,7 +15,7 @@ public class Server { Socket s = serverSocket.accept(); - ResearcherOuterClass.Researcher r = ResearcherOuterClass.Researcher.parseFrom(s.getInputStream()); + Researcher r = Researcher.parseFrom(s.getInputStream()); System.out.println(r); }