pingex
/
DiscordBot
Archived
1
0
Fork 0

Minor changes.

master
Pingex aka Raphaël 9 years ago
parent d5742a5a6e
commit 5736d62a74

@ -10,8 +10,6 @@ import java.util.logging.Logger;
*/ */
public abstract class AbstractModule public abstract class AbstractModule
{ {
protected Logger logger; protected Logger logger;
/** /**

@ -92,6 +92,7 @@ public final class Configuration
* @param key Key to research * @param key Key to research
* @return `true` if the key exists, `false` otherwise * @return `true` if the key exists, `false` otherwise
*/ */
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
public static boolean exists(String section, String key) public static boolean exists(String section, String key)
{ {
return (datastore.get(section, key) != null); return (datastore.get(section, key) != null);