manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1486087 - /manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnection.java
Date Fri, 24 May 2013 15:07:23 GMT
Author: kwright
Date: Fri May 24 15:07:23 2013
New Revision: 1486087

URL: http://svn.apache.org/r1486087
Log:
Put final and static qualifiers on special json tags, for clarity

Modified:
    manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnection.java

Modified: manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnection.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnection.java?rev=1486087&r1=1486086&r2=1486087&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnection.java
(original)
+++ manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnection.java
Fri May 24 15:07:23 2013
@@ -74,8 +74,8 @@ public class ElasticSearchConnection
 
   private String response;
 
-  protected String jsonStatus = "\"ok\"";
-  protected String jsonException = "\"error\"";
+  protected final static String jsonStatus = "\"ok\"";
+  protected final static String jsonException = "\"error\"";
 
   public enum Result
   {



Mime
View raw message