Commit 2104e739 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

SpotBugs: same, thread started from constructor is not ok unless final

parent 47585448
...@@ -41,7 +41,7 @@ import lazyj.ExtProperties; ...@@ -41,7 +41,7 @@ import lazyj.ExtProperties;
* @author mmmartin * @author mmmartin
* *
*/ */
public class ComputingElement extends Thread { public final class ComputingElement extends Thread {
/** /**
* ApMon sender * ApMon sender
...@@ -152,7 +152,7 @@ public class ComputingElement extends Thread { ...@@ -152,7 +152,7 @@ public class ComputingElement extends Thread {
ConfigUtils.setApplicationName("CE"); ConfigUtils.setApplicationName("CE");
final ComputingElement CE = new ComputingElement(); final ComputingElement CE = new ComputingElement();
CE.run(); CE.start();
} }
private int getNumberFreeSlots() { private int getNumberFreeSlots() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment