lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r897662 - /lucene/solr/trunk/src/java/org/apache/solr/handler/component/ShardResponse.java
Date Sun, 10 Jan 2010 17:20:37 GMT
Author: yonik
Date: Sun Jan 10 17:20:36 2010
New Revision: 897662

URL: http://svn.apache.org/viewvc?rev=897662&view=rev
Log:
tabs begone

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/handler/component/ShardResponse.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/component/ShardResponse.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/component/ShardResponse.java?rev=897662&r1=897661&r2=897662&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/component/ShardResponse.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/component/ShardResponse.java Sun Jan
10 17:20:36 2010
@@ -20,63 +20,63 @@
 import org.apache.solr.common.SolrException;
 
 public final class ShardResponse {
-	  private ShardRequest req;
-	  private String shard;
-	  private String shardAddress;  // the specific shard that this response was received from
 
-	  private int rspCode;
-	  private Throwable exception;
-	  private SolrResponse rsp;
-
-	  public String toString() {
-	    return "ShardResponse:{shard="+shard+",shardAddress="+shardAddress
-	            +"\n\trequest=" + req
-	            +"\n\tresponse=" + rsp
-	            + (exception==null ? "" : "\n\texception="+ SolrException.toStr(exception))

-	            +"\n}";
-	  }
-	  
-	  public Throwable getException()
-	  {
-		  return exception;
-	  }
-	  
-	  public ShardRequest getShardRequest()
-	  {
-		  return req;
-	  }
-	  
-	  public SolrResponse getSolrResponse()
-	  {
-		  return rsp;
-	  }
-	  
-	  public String getShard()
-	  {
-		  return shard;
-	  }
-	  
-	  void setShardRequest(ShardRequest rsp)
-	  {
-		  this.req = rsp;
-	  }
-	  
-	  void setSolrResponse(SolrResponse rsp)
-	  {
-		  this.rsp = rsp;
-	  }
-	  
-	  void setShard(String shard)
-	  {
-		  this.shard = shard;
-	  }
-	  
-	  void setException(Throwable exception)
-	  {
-		  this.exception = exception;
-	  }
-	  
-	  void setResponseCode(int rspCode)
-	  {
-		  this.rspCode = rspCode;
-	  }
+  private ShardRequest req;
+  private String shard;
+  private String shardAddress;  // the specific shard that this response was received from
+  private int rspCode;
+  private Throwable exception;
+  private SolrResponse rsp;
+
+  public String toString() {
+    return "ShardResponse:{shard="+shard+",shardAddress="+shardAddress
+            +"\n\trequest=" + req
+            +"\n\tresponse=" + rsp
+            + (exception==null ? "" : "\n\texception="+ SolrException.toStr(exception))
+            +"\n}";
+  }
+
+  public Throwable getException()
+  {
+    return exception;
+  }
+
+  public ShardRequest getShardRequest()
+  {
+    return req;
+  }
+
+  public SolrResponse getSolrResponse()
+  {
+    return rsp;
+  }
+
+  public String getShard()
+  {
+    return shard;
+  }
+
+  void setShardRequest(ShardRequest rsp)
+  {
+    this.req = rsp;
+  }
+
+  void setSolrResponse(SolrResponse rsp)
+  {
+    this.rsp = rsp;
+  }
+
+  void setShard(String shard)
+  {
+    this.shard = shard;
+  }
+
+  void setException(Throwable exception)
+  {
+    this.exception = exception;
+  }
+
+  void setResponseCode(int rspCode)
+  {
+    this.rspCode = rspCode;
+  }
 }



Mime
View raw message