1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-06 07:32:46 +00:00

Fixed compiler warnings

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-14 13:41:15 -03:00
parent 1e52e960f5
commit fddc6fbfbb
9 changed files with 218 additions and 32 deletions

View File

@@ -49,7 +49,8 @@ public class ProxyConfigurationService extends AbstractService implements
@Override
public void start() throws ServiceStartException {
if (!directory.exists())
directory.mkdirs();
if (!directory.mkdirs())
throw new ServiceStartException("Failed to create directories");
}
@Override