Make LookupExtractor abstract methods public, they have to work across classloaders.

This commit is contained in:
Gian Merlino 2016-01-26 23:02:53 -08:00
parent cac4651da0
commit b1e6c01762

View File

@ -44,7 +44,7 @@ public abstract class LookupExtractor
* @return The lookup, or null key cannot have the lookup applied to it and should be treated as missing.
*/
@Nullable
abstract String apply(@NotNull String key);
public abstract String apply(@NotNull String key);
/**
* @param keys set of keys to apply lookup for each element
@ -54,7 +54,7 @@ public abstract class LookupExtractor
* User can override this method if there is a better way to perform bulk lookup
*/
Map<String, String> applyAll(Iterable<String> keys)
public Map<String, String> applyAll(Iterable<String> keys)
{
if (keys == null) {
return Collections.emptyMap();
@ -88,7 +88,7 @@ public abstract class LookupExtractor
* User can override this method if there is a better way to perform bulk reverse lookup
*/
Map<String, List<String>> unapplyAll(Iterable<String> values)
public Map<String, List<String>> unapplyAll(Iterable<String> values)
{
if (values == null) {
return Collections.emptyMap();
@ -107,5 +107,5 @@ public abstract class LookupExtractor
*/
@Nullable
abstract byte[] getCacheKey();
public abstract byte[] getCacheKey();
}