In a Java code there are a few lines like:
this.noWar=Con.get("xys").isEmpty()
if(noWar) ...
What are the best practices suggested above? The first line uses this.noWar which could have been simply written as noWar=...
Is there any advantage to using this.noWar here? or in general when assigning a value to class properties?