Impact of threat without name in java

bluesteel

New Member
I have various Thread in my java application with syntax \[code\]new Thread(this).start();\[/code\]When I performed Code Audit using Code Pro I have got following message \[code\]Thread declare without a name.\[/code\]I wants to know what does it mean and is it ok if I change the declaration to \[code\]new Thread(this,this.getName()).start();\[/code\]What is the difference between them and their impact. Thanks in advance.
 
Back
Top