[FIXED JENKINS-23749] If a pipeline does not have any builds it will throw a NPE.
Fixed checkstyle violation.
Remove debugging code.
Merge pull request #53 from christ66/JENKINS-23749

[FIXED Jenkins-23749] NPE when view contains no builds.