lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject [1/3] lucene-solr:branch_6x: add toString method
Date Tue, 02 Aug 2016 09:09:59 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 0dc1cf5dd -> 5ace3b430


add toString method


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/6c02a532
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/6c02a532
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/6c02a532

Branch: refs/heads/branch_6x
Commit: 6c02a5323a135280ad5e55d4bb1885c49d3afdb8
Parents: 0dc1cf5
Author: Mike McCandless <mikemccand@apache.org>
Authored: Tue Aug 2 05:09:11 2016 -0400
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Tue Aug 2 05:09:11 2016 -0400

----------------------------------------------------------------------
 .../src/java/org/apache/lucene/replicator/nrt/FileMetaData.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6c02a532/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/FileMetaData.java
----------------------------------------------------------------------
diff --git a/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/FileMetaData.java
b/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/FileMetaData.java
index ac3e1f0..5d63a8c 100644
--- a/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/FileMetaData.java
+++ b/lucene/replicator/src/java/org/apache/lucene/replicator/nrt/FileMetaData.java
@@ -38,5 +38,10 @@ public class FileMetaData {
     this.length = length;
     this.checksum = checksum;
   }
+
+  @Override
+  public String toString() {
+    return "FileMetaData(length=" + length + ")";
+  }
 }
 


Mime
View raw message