felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgil...@apache.org
Subject svn commit: r1423111 - /felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/server/Server.java
Date Mon, 17 Dec 2012 19:42:49 GMT
Author: kgilmer
Date: Mon Dec 17 19:42:48 2012
New Revision: 1423111

URL: http://svn.apache.org/viewvc?rev=1423111&view=rev
Log:
Minor code style fix for previous patch.

Modified:
    felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/server/Server.java

Modified: felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/server/Server.java
URL: http://svn.apache.org/viewvc/felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/server/Server.java?rev=1423111&r1=1423110&r2=1423111&view=diff
==============================================================================
--- felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/server/Server.java (original)
+++ felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/server/Server.java Mon
Dec 17 19:42:48 2012
@@ -270,11 +270,14 @@ public class Server
         {
             // If inactive, then create server socket, server thread, and
             // set state to active.
-            if(m_bindAddr == null)
+            if (m_bindAddr == null)
+            {
                 m_serverSocket = new ServerSocket(m_port);
+            }
             else
+            {
                 m_serverSocket = new ServerSocket(m_port, 0, m_bindAddr);
-            
+            }
 
             m_serverThread = new Thread(new Runnable()
             {



Mime
View raw message