lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r802275 - /lucene/solr/trunk/src/common/org/apache/solr/common/SolrDocument.java
Date Sat, 08 Aug 2009 00:45:15 GMT
Author: yonik
Date: Sat Aug  8 00:45:15 2009
New Revision: 802275

URL: http://svn.apache.org/viewvc?rev=802275&view=rev
Log:
SOLR-1349: toString() for SolrDocument Map views

Modified:
    lucene/solr/trunk/src/common/org/apache/solr/common/SolrDocument.java

Modified: lucene/solr/trunk/src/common/org/apache/solr/common/SolrDocument.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/common/org/apache/solr/common/SolrDocument.java?rev=802275&r1=802274&r2=802275&view=diff
==============================================================================
--- lucene/solr/trunk/src/common/org/apache/solr/common/SolrDocument.java (original)
+++ lucene/solr/trunk/src/common/org/apache/solr/common/SolrDocument.java Sat Aug  8 00:45:15
2009
@@ -219,7 +219,8 @@
       public void putAll(Map<? extends String, ? extends Collection<Object>>
t) {throw new UnsupportedOperationException();}
       public Collection<Collection<Object>> values() {throw new UnsupportedOperationException();}
       public Collection<Object> put(String key, Collection<Object> value) {throw
new UnsupportedOperationException();}
-      public Collection<Object> remove(Object key) {throw new UnsupportedOperationException();}
     
+      public Collection<Object> remove(Object key) {throw new UnsupportedOperationException();}
+      public String toString() {return _fields.toString();}
     };
   }
 
@@ -247,6 +248,7 @@
       public Collection<Object> values() {throw new UnsupportedOperationException();}
       public Collection<Object> put(String key, Object value) {throw new UnsupportedOperationException();}
       public Collection<Object> remove(Object key) {throw new UnsupportedOperationException();}
     
+      public String toString() {return _fields.toString();}
    };
   }
 



Mime
View raw message