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.EventType;
|
||||||
import it.polimi.ingsw.gc14.Network.NetworkEvent;
|
import it.polimi.ingsw.gc14.Network.NetworkEvent;
|
||||||
import it.polimi.ingsw.gc14.Network.NetworkEvents.ApplyNextRound;
|
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.EndedGame;
|
||||||
import it.polimi.ingsw.gc14.Network.NetworkEvents.TotemChoice;
|
import it.polimi.ingsw.gc14.Network.NetworkEvents.TotemChoice;
|
||||||
import it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer;
|
import it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer;
|
||||||
@@ -422,10 +421,7 @@ public class ServerLauncher {
|
|||||||
Files.delete(filePath);
|
Files.delete(filePath);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch(URISyntaxException e){
|
catch(URISyntaxException | IOException e){
|
||||||
return false;
|
|
||||||
}
|
|
||||||
catch (IOException e){
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user