Fix NPE when setting classpath.

Issue introduced with b8ca6a585b
This commit is contained in:
Aaron Sheldon 2015-02-10 21:57:54 +00:00
parent 3bcfcac9ee
commit 83e23be070
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public class CheckStyleTask extends Task
*/
public void setClasspath(Path classpath)
{
if (classpath == null) {
if (this.classpath == null) {
this.classpath = classpath;
}
else {