Code style changes.

This commit is contained in:
MobiusDev
2016-04-26 19:21:19 +00:00
parent 6a13705766
commit fc070c9238
768 changed files with 3338 additions and 4252 deletions

View File

@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.script;
*/
public interface EngineInterface
{
public void addEventDrop(int[] items, int[] count, double chance, DateRange range);
void addEventDrop(int[] items, int[] count, double chance, DateRange range);
public void onPlayerLogin(String message, DateRange range);
void onPlayerLogin(String message, DateRange range);
}

View File

@ -41,16 +41,16 @@ public class ScriptEngine
s = parserFactories.get(name);
if (s == null) // if the shape factory is not there even now
{
throw (new ParserNotCreatedException());
throw new ParserNotCreatedException();
}
}
catch (ClassNotFoundException e)
{
// We'll throw an exception to indicate that
// the shape could not be created
throw (new ParserNotCreatedException());
throw new ParserNotCreatedException();
}
}
return (s.create());
return s.create();
}
}