plugins - Java semi-colon issue -


i getting annoying error when type line eclipse .java document on semi-colon:

    @override public void onenable() {     plugindescriptionfile pdffile = this.getdescription(); this.logger.info(pdffile.getname() + " version " +  pdffile.getversion() + (" has been enabled!"); } 

at end of (" has been enabled!") put necessary semi-colon, gets red line under issue:

syntax error, insert ")" complete expression. 

however, a) cause troubles , b) when says, says it's still wrong , must finish semi-colon.

try this

this.logger.info(pdffile.getname() + " version " +  pdffile.getversion() + " has been enabled!"); 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -