From bcf4ae0048110446d8d205044996b5b408931eae Mon Sep 17 00:00:00 2001 From: Gabriele Civitarese Date: Thu, 4 Apr 2019 14:17:50 +0200 Subject: [PATCH] Piccole modifiche --- src/main/java/researcher/Server.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/researcher/Server.java b/src/main/java/researcher/Server.java index da6ce56..a705938 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); } -- 2.18.1