ProgressBar: updated javadoc
Fixed sonar errors/warnings