Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xspanger3770 committed Nov 12, 2023
1 parent c8e43c4 commit 128776d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import globalquake.events.GlobalQuakeLocalEventListener;

public class ShakeMapsUpdatedEvent implements GlobalQuakeLocalEvent {
@SuppressWarnings({"FieldCanBeLocal", "unused"})
@SuppressWarnings({"unused"})

public ShakeMapsUpdatedEvent() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import globalquake.core.station.GlobalStation;
import org.tinylog.Logger;

import java.net.ConnectException;
import java.net.NoRouteToHostException;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

@FunctionalInterface
public interface ProgressUpdateFunction {
@SuppressWarnings("unused")
void update(String status, int value);
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import org.tinylog.Logger;

import java.io.IOException;
import java.net.ConnectException;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
Expand Down Expand Up @@ -258,8 +257,8 @@ private void broadcast(List<ServerClient> clients, Packet packet) {
client.sendPacket(packet);
} catch(SocketException | SocketTimeoutException e){
Logger.trace(e);
}catch (IOException e) {
Logger.trace(e);
}catch (Exception e) {
Logger.error(e);
}
});
}
Expand Down

0 comments on commit 128776d

Please sign in to comment.