SOLR-8333: Several API tweaks so that public APIs were no longer refering to private classes

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717554 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2015-12-01 23:19:35 +00:00
parent dc675593b8
commit bc0de7eeca
4 changed files with 6 additions and 3 deletions

View File

@ -212,6 +212,9 @@ Other Changes
* SOLR-8338: in OverseerTest replace strings such as "collection1" and "state" with variable
or enum equivalent (Christine Poerschke)
* SOLR-8333: Several API tweaks so that public APIs were no longer refering to private classes
(ehatcher, Shawn Heisey, hossman)
================== 5.4.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release

View File

@ -326,7 +326,7 @@ public class ConcurrentLFUCache<K, V> implements Cache<K,V> {
return map;
}
private static class CacheEntry<K, V> implements Comparable<CacheEntry<K, V>> {
public static class CacheEntry<K, V> implements Comparable<CacheEntry<K, V>> {
K key;
V value;
volatile AtomicLong hits = new AtomicLong(0);

View File

@ -481,7 +481,7 @@ public class ConcurrentLRUCache<K,V> implements Cache<K,V> {
return map;
}
private static class CacheEntry<K,V> implements Comparable<CacheEntry<K,V>> {
public static class CacheEntry<K,V> implements Comparable<CacheEntry<K,V>> {
K key;
V value;
volatile long lastAccessed = 0;

View File

@ -21,7 +21,7 @@ package org.apache.solr.util.hll;
* A serialization schema for HLLs. Reads and writes HLL metadata to
* and from <code>byte[]</code> representations.
*/
interface ISchemaVersion {
public interface ISchemaVersion {
/**
* The number of metadata bytes required for a serialized HLL of the
* specified type.