removed warnings

pull/1/head
orbiter 11 years ago
parent d51f9cc863
commit 12ba890205

@ -64,6 +64,8 @@ import org.apache.solr.common.SolrDocument;
*/ */
public class URIMetadataNode extends SolrDocument { public class URIMetadataNode extends SolrDocument {
private static final long serialVersionUID = -256046934741561968L;
protected byte[] hash = null; protected byte[] hash = null;
protected String urlRaw = null, keywords = null; protected String urlRaw = null, keywords = null;
protected DigestURL url = null; protected DigestURL url = null;
@ -283,6 +285,7 @@ public class URIMetadataNode extends SolrDocument {
return ASCII.getBytes(referrer); return ASCII.getBytes(referrer);
} }
@Override
public int size() { public int size() {
return getInt(CollectionSchema.size_i); return getInt(CollectionSchema.size_i);
} }

Loading…
Cancel
Save