Author: kwright
Date: Wed Oct 23 15:28:00 2013
New Revision: 1535061

URL: http://svn.apache.org/r1535061
Log:
Fix the UI

Modified:
    
manifoldcf/branches/CONNECTORS-792/framework/crawler-ui/src/main/webapp/execute.jsp

Modified: 
manifoldcf/branches/CONNECTORS-792/framework/crawler-ui/src/main/webapp/execute.jsp
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-792/framework/crawler-ui/src/main/webapp/execute.jsp?rev=1535061&r1=1535060&r2=1535061&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-792/framework/crawler-ui/src/main/webapp/execute.jsp
 (original)
+++ 
manifoldcf/branches/CONNECTORS-792/framework/crawler-ui/src/main/webapp/execute.jsp
 Wed Oct 23 15:28:00 2013
@@ -249,7 +249,7 @@
                                        if (x != null)
                                                connection.setClassName(x);
                                        x = 
variableContext.getParameter("maxconnections");
-                                       if (x != null && x.length() > 0)
+                                       if (x != null)
                                                
connection.setMaxConnections(Integer.parseInt(x));
                                        x = 
variableContext.getParameter("prerequisites_present");
                                        if (x != null && x.equals("true"))
@@ -260,7 +260,7 @@
                                                
connection.setPrerequisiteMapping(y);
                                        }
                                        x = 
variableContext.getParameter("authdomain");
-                                       if (x != null && x.length() > 0)
+                                       if (x != null)
                                                connection.setAuthDomain(x);
 
                                        String error = 
AuthorityConnectorFactory.processConfigurationPost(threadContext,connection.getClassName(),variableContext,pageContext.getRequest().getLocale(),connection.getConfigParams());


Reply via email to