Commit 30eeb75a authored by Matt Tucker's avatar Matt Tucker Committed by matt

Code tweaks.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@750 b35dd754-fafc-0310-a699-88a17e54d16e
parent d3c3b9e8
...@@ -16,7 +16,7 @@ import org.jivesoftware.util.Log; ...@@ -16,7 +16,7 @@ import org.jivesoftware.util.Log;
import java.io.File; import java.io.File;
/** /**
* Starts the core XMPP server. A ootstrap class that configures classloaders * Starts the core XMPP server. A bootstrap class that configures classloaders
* to ensure easy, dynamic server startup. * to ensure easy, dynamic server startup.
* *
* This class should be for standalone mode only. Jive Messenger servers launched * This class should be for standalone mode only. Jive Messenger servers launched
...@@ -29,9 +29,9 @@ import java.io.File; ...@@ -29,9 +29,9 @@ import java.io.File;
* <li>Start the server</li> * <li>Start the server</li>
* </ul> * </ul>
* *
* Note: if the enviroment property messenger.lib.directory is specified ServerStarter will attempt * Note: if the enviroment property <tt>messenger.lib.directory</tt> is specified
* to use this value as the value for messenger's lib directory. If the property is not specified * ServerStarter will attempt to use this value as the value for messenger's lib
* the default value of ../lib will be used. * directory. If the property is not specified the default value of ../lib will be used.
* *
* @author Iain Shigeoka * @author Iain Shigeoka
*/ */
......
...@@ -84,7 +84,7 @@ public class MulticastDNSService extends BasicModule { ...@@ -84,7 +84,7 @@ public class MulticastDNSService extends BasicModule {
public void stop() { public void stop() {
if (jmdns != null) { if (jmdns != null) {
try { try {
jmdns.unregisterService(serviceInfo); jmdns.close();
} }
catch (Exception e) { } catch (Exception e) { }
} }
...@@ -92,11 +92,7 @@ public class MulticastDNSService extends BasicModule { ...@@ -92,11 +92,7 @@ public class MulticastDNSService extends BasicModule {
public void destroy() { public void destroy() {
if (jmdns != null) { if (jmdns != null) {
try { jmdns = null;
jmdns.close();
jmdns = null;
}
catch (Exception e) { }
} }
} }
} }
\ No newline at end of file
...@@ -27,8 +27,8 @@ public abstract class WebBean { ...@@ -27,8 +27,8 @@ public abstract class WebBean {
public JspWriter out; public JspWriter out;
public void init(HttpServletRequest request, HttpServletResponse response, public void init(HttpServletRequest request, HttpServletResponse response,
HttpSession session, ServletContext app, JspWriter out) { HttpSession session, ServletContext app, JspWriter out)
{
this.request = request; this.request = request;
this.response = response; this.response = response;
this.session = session; this.session = session;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment