Refactor.
This commit is contained in:
@@ -10,7 +10,6 @@ import it.polimi.ingsw.gc14.Model.Totems;
|
||||
import it.polimi.ingsw.gc14.Network.EventType;
|
||||
import it.polimi.ingsw.gc14.Network.NetworkEvent;
|
||||
import it.polimi.ingsw.gc14.Network.NetworkEvents.ApplyNextRound;
|
||||
import it.polimi.ingsw.gc14.Network.NetworkEvents.DisconnectedPlayer;
|
||||
import it.polimi.ingsw.gc14.Network.NetworkEvents.EndedGame;
|
||||
import it.polimi.ingsw.gc14.Network.NetworkEvents.TotemChoice;
|
||||
import it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer;
|
||||
@@ -422,10 +421,7 @@ public class ServerLauncher {
|
||||
Files.delete(filePath);
|
||||
return true;
|
||||
}
|
||||
catch(URISyntaxException e){
|
||||
return false;
|
||||
}
|
||||
catch (IOException e){
|
||||
catch(URISyntaxException | IOException e){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user