mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-10 13:49:17 +01:00
Add /* Ignored */ to ignored Throwables
This commit is contained in:
parent
bd96d09b74
commit
e18f40b870
@ -97,6 +97,7 @@ public abstract class Table {
|
||||
try {
|
||||
execute(statement);
|
||||
} catch (SQLException ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -114,6 +114,7 @@ public class MiscUtils {
|
||||
try {
|
||||
c.close();
|
||||
} catch (IOException ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -125,6 +126,7 @@ public class MiscUtils {
|
||||
try {
|
||||
c.close();
|
||||
} catch (Exception ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -272,6 +272,7 @@ public class DumpUtils {
|
||||
if (!Verify.exists(debugFile)) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<String> lines = readLines(debugFile);
|
||||
|
||||
log.addHeader("Debug Log");
|
||||
@ -294,7 +295,7 @@ public class DumpUtils {
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
throw new IOException("No applicable Charset found");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -95,6 +95,7 @@ public class Metrics {
|
||||
try {
|
||||
config.save(configFile);
|
||||
} catch (IOException ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
}
|
||||
|
||||
@ -110,6 +111,7 @@ public class Metrics {
|
||||
found = true; // We aren't the first
|
||||
break;
|
||||
} catch (NoSuchFieldException ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
}
|
||||
// Register our service
|
||||
@ -300,9 +302,11 @@ public class Metrics {
|
||||
try {
|
||||
pluginData.add(provider.getService().getMethod("getPluginData").invoke(provider.getProvider()));
|
||||
} catch (NullPointerException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
}
|
||||
} catch (NoSuchFieldException ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
}
|
||||
|
||||
@ -325,7 +329,7 @@ public class Metrics {
|
||||
/**
|
||||
* Represents a custom chart.
|
||||
*/
|
||||
public static abstract class CustomChart {
|
||||
public abstract static class CustomChart {
|
||||
|
||||
// The id of the chart
|
||||
final String chartId;
|
||||
|
@ -54,6 +54,7 @@ public class UUIDUtility {
|
||||
uuid = UUIDFetcher.getUUIDOf(playername);
|
||||
}
|
||||
} catch (Exception ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
return uuid;
|
||||
}
|
||||
|
@ -48,6 +48,7 @@ public class MockUtils {
|
||||
try {
|
||||
mock.addIpAddress(InetAddress.getByName("247.183.163.155"));
|
||||
} catch (UnknownHostException ignored) {
|
||||
/* Ignored */
|
||||
}
|
||||
mock.addNickname("MoreNicks");
|
||||
mock.addPlayerKill(new KillData(getPlayer2UUID(), 1, "WEP", 126873643232L));
|
||||
|
Loading…
Reference in New Issue
Block a user