{
synchronized (HttpServer.class)
{
- if (instance == null) {
+ if (instance == null)
+ {
instance = new HttpServer();
}
return instance;
ch.setAllowNullPathInfo(true);
ch.setContextPath("/" + JALVIEW_PATH + "/" + path);
ch.setResourceBase(".");
- ch.setClassLoader(Thread.currentThread()
- .getContextClassLoader());
+ ch.setClassLoader(Thread.currentThread().getContextClassLoader());
ch.setHandler(handler);
/*