Skip to content
Snippets Groups Projects
Commit a2029bc8 authored by erbel's avatar erbel
Browse files

Fix Findbugs for Connectors

parent ea873edf
No related branches found
No related tags found
1 merge request!6Dev/ref
......@@ -119,6 +119,10 @@ public class SensorConnector extends monitoring.impl.SensorImpl {
setOcciAppState(Status.DEPLOYED);
break;
default:
break;
}
}
......
......@@ -166,6 +166,8 @@ public class ComponentManager {
comp.setOcciComponentState(Status.ERROR);
}
break;
default:
break;
}
......@@ -179,14 +181,12 @@ public class ComponentManager {
* title: Stop the application.
*/
public void stop() {
@SuppressWarnings("unused")
int status = -1;
// Component State Machine.
switch (comp.getOcciComponentState().getValue()) {
case Status.ACTIVE_VALUE:
status = cmtool.stop(comp);
cmtool.stop(comp);
comp.setOcciComponentState(Status.INACTIVE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment