fix option lookups in specific contexts returning as global instead

This commit is contained in:
Luck 2017-02-03 17:18:18 +00:00
parent c837dd5cc8
commit 1d71ec07be
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -145,7 +145,7 @@ public interface LPSubject extends Subject {
@Deprecated
@Override
default Optional<String> getOption(@NonNull Set<Context> contexts, @NonNull String key) {
return getOption(getActiveContextSet(), key);
return getOption(convertContexts(contexts), key);
}
@Deprecated