manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1788414 - /manifoldcf/branches/CONNECTORS-1399/connectors/hdfs/connector/src/main/java/org/apache/manifoldcf/agents/output/hdfs/HDFSOutputConnector.java
Date Fri, 24 Mar 2017 11:44:41 GMT
Author: kwright
Date: Fri Mar 24 11:44:41 2017
New Revision: 1788414

URL: http://svn.apache.org/viewvc?rev=1788414&view=rev
Log:
Fix another dangling JSON reference

Modified:
    manifoldcf/branches/CONNECTORS-1399/connectors/hdfs/connector/src/main/java/org/apache/manifoldcf/agents/output/hdfs/HDFSOutputConnector.java

Modified: manifoldcf/branches/CONNECTORS-1399/connectors/hdfs/connector/src/main/java/org/apache/manifoldcf/agents/output/hdfs/HDFSOutputConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1399/connectors/hdfs/connector/src/main/java/org/apache/manifoldcf/agents/output/hdfs/HDFSOutputConnector.java?rev=1788414&r1=1788413&r2=1788414&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1399/connectors/hdfs/connector/src/main/java/org/apache/manifoldcf/agents/output/hdfs/HDFSOutputConnector.java
(original)
+++ manifoldcf/branches/CONNECTORS-1399/connectors/hdfs/connector/src/main/java/org/apache/manifoldcf/agents/output/hdfs/HDFSOutputConnector.java
Fri Mar 24 11:44:41 2017
@@ -56,7 +56,6 @@ import org.apache.manifoldcf.core.interf
 import org.apache.manifoldcf.core.interfaces.ManifoldCFException;
 import org.apache.manifoldcf.core.interfaces.SpecificationNode;
 import org.apache.manifoldcf.core.interfaces.VersionContext;
-import org.json.JSONException;
 
 public class HDFSOutputConnector extends BaseOutputConnector {
 
@@ -598,14 +597,6 @@ public class HDFSOutputConnector extends
     throw new ManifoldCFException("Namenode URI is malformed: "+e.getMessage(),e);
   }
   
-  /** Handle JSONException */
-  protected static void handleJSONException(JSONException e)
-    throws ManifoldCFException, ServiceInterruption
-  {
-    Logging.agents.error("JSON parsing error: "+e.getMessage(),e);
-    throw new ManifoldCFException("JSON parsing error: "+e.getMessage(),e);
-  }
-  
   /** Handle IOException */
   protected static void handleIOException(IOException e)
     throws ManifoldCFException, ServiceInterruption



Mime
View raw message