Small fixes to context system

This commit is contained in:
Luck
2016-09-25 16:55:14 +01:00
Unverified
parent c53623dd67
commit 4da7fe4ff9
5 changed files with 14 additions and 12 deletions
@@ -39,6 +39,6 @@ public class ServerCalculator<T> extends ContextCalculator<T> {
@Override
public boolean isContextApplicable(T subject, Map.Entry<String, String> context) {
return context.getKey().equals("server") && server.equals(context.getValue());
return context.getKey().equals("server") && server.equalsIgnoreCase(context.getValue());
}
}