hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1339103 - /incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java
Date Wed, 16 May 2012 10:08:28 GMT
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 {



Mime
View raw message