incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1026800 - /incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
Date Sun, 24 Oct 2010 13:56:26 GMT
Author: kwright
Date: Sun Oct 24 13:56:26 2010
New Revision: 1026800

URL: http://svn.apache.org/viewvc?rev=1026800&view=rev
Log:
Don't force presence of name field, since it comes in the URL during puts

Modified:
    incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java

Modified: incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java?rev=1026800&r1=1026799&r2=1026800&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
(original)
+++ incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
Sun Oct 24 13:56:26 2010
@@ -2650,8 +2650,6 @@ public class ManifoldCF extends org.apac
       else
         throw new ManifoldCFException("Unrecognized output connection field: '"+childType+"'");
     }
-    if (connection.getName() == null)
-      throw new ManifoldCFException("Missing connection field: '"+CONNECTIONNODE_NAME+"'");
     if (connection.getClassName() == null)
       throw new ManifoldCFException("Missing connection field: '"+CONNECTIONNODE_CLASSNAME+"'");
 
@@ -2764,8 +2762,6 @@ public class ManifoldCF extends org.apac
       else
         throw new ManifoldCFException("Unrecognized authority connection field: '"+childType+"'");
     }
-    if (connection.getName() == null)
-      throw new ManifoldCFException("Missing connection field: '"+CONNECTIONNODE_NAME+"'");
     if (connection.getClassName() == null)
       throw new ManifoldCFException("Missing connection field: '"+CONNECTIONNODE_CLASSNAME+"'");
 
@@ -2916,8 +2912,6 @@ public class ManifoldCF extends org.apac
       else
         throw new ManifoldCFException("Unrecognized repository connection field: '"+childType+"'");
     }
-    if (connection.getName() == null)
-      throw new ManifoldCFException("Missing connection field: '"+CONNECTIONNODE_NAME+"'");
     if (connection.getClassName() == null)
       throw new ManifoldCFException("Missing connection field: '"+CONNECTIONNODE_CLASSNAME+"'");
 



Mime
View raw message