Fixed some issues reported with FindBugs while security plugin is enabled.

bump-core-version
Maninda 8 years ago
parent 2025179df0
commit d41bea9cfe

@ -111,7 +111,7 @@ public class FireAlarmHTTPCommunicator extends HTTPTransportHandler {
AgentManager agentManager = AgentManager.getInstance();
String pathContext = request.getPathInfo();
String separator = File.separator;
String separator = File.separatorChar=='\\' ? "\\\\" : File.separator ;
if (pathContext.toUpperCase().contains(
separator + AgentConstants.TEMPERATURE_CONTROL)) {

Loading…
Cancel
Save