You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by to...@apache.org on 2012/05/16 12:08:28 UTC

svn commit: r1339103 - /incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java

Author: tommaso
Date: Wed May 16 10:08:28 2012
New Revision: 1339103

URL: http://svn.apache.org/viewvc?rev=1339103&view=rev
Log:
[HAMA-574] - not ignoring the passed isFIltered parameter anymore

Modified:
    incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java

Modified: incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java?rev=1339103&r1=1339102&r2=1339103&view=diff
==============================================================================
--- incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java (original)
+++ incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java Wed May 16 10:08:28 2012
@@ -190,7 +190,7 @@ public class HttpServer {
     WebAppContext webAppCtx = new WebAppContext();
     webAppCtx.setContextPath(pathSpec);
     webAppCtx.setWar(dir);
-    addContext(webAppCtx, true);
+    addContext(webAppCtx, isFiltered);
   }
 
   /**
@@ -374,7 +374,7 @@ public class HttpServer {
    */
   public void start() throws IOException {
     try {
-      int port = 0;
+      int port;
       int oriPort = listener.getPort(); // The original requested port
       while (true) {
         try {