Fix code smells.

This commit is contained in:
tastybento 2019-01-16 13:43:49 -08:00
parent 9497066f44
commit ddb3fd63e6
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class MySQLDatabaseHandler<T> extends AbstractJSONDatabaseHandler<T> {
Thread.sleep(25);
} catch (InterruptedException e) {
plugin.logError("Thread sleep error " + e.getMessage());
Thread.currentThread().interrupt();
}
}
// Cancel

View File

@ -97,6 +97,7 @@ public class YamlDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
Thread.sleep(25);
} catch (InterruptedException e) {
plugin.logError("Thread sleep error " + e.getMessage());
Thread.currentThread().interrupt();
}
}
// Cancel