Author: kwright
Date: Fri Jun 28 16:42:42 2013
New Revision: 1497838

URL: http://svn.apache.org/r1497838
Log:
Don't convert null to empty string.

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

Modified: 
manifoldcf/branches/CONNECTORS-703/framework/crawler-ui/src/main/webapp/execute.jsp
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-703/framework/crawler-ui/src/main/webapp/execute.jsp?rev=1497838&r1=1497837&r2=1497838&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-703/framework/crawler-ui/src/main/webapp/execute.jsp
 (original)
+++ 
manifoldcf/branches/CONNECTORS-703/framework/crawler-ui/src/main/webapp/execute.jsp
 Fri Jun 28 16:42:42 2013
@@ -255,6 +255,8 @@
                                        if (x != null && x.equals("true"))
                                        {
                                                String y = 
variableContext.getParameter("prerequisites");
+                                               if (y != null && y.length() == 
0)
+                                                       y = null;
                                                
connection.setPrerequisiteMapping(y);
                                        }
                                        
@@ -376,6 +378,8 @@
                                        if (x != null && x.equals("true"))
                                        {
                                                String y = 
variableContext.getParameter("prerequisites");
+                                               if (y != null && y.length() == 
0)
+                                                       y = null;
                                                
connection.setPrerequisiteMapping(y);
                                        }
 


Reply via email to