incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1070292 - /incubator/lcf/branches/CONNECTORS-151-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
Date Sun, 13 Feb 2011 20:32:10 GMT
Author: kwright
Date: Sun Feb 13 20:32:09 2011
New Revision: 1070292

URL: http://svn.apache.org/viewvc?rev=1070292&view=rev
Log:
Handle the null return case properly

Modified:
    incubator/lcf/branches/CONNECTORS-151-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java

Modified: incubator/lcf/branches/CONNECTORS-151-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-151-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java?rev=1070292&r1=1070291&r2=1070292&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-151-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
(original)
+++ incubator/lcf/branches/CONNECTORS-151-branch/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
Sun Feb 13 20:32:09 2011
@@ -643,6 +643,8 @@ public class FilenetConnector extends or
         folderName = folderName.substring(1);
       String[] folderPath = folderName.split("/");
       String[] rval = doGetChildFolders(folderPath);
+      if (rval == null)
+        return null;
       java.util.Arrays.sort(rval);
       return rval;
     }



Mime
View raw message