Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: 28dfd90d2d6ae99c57eb174871c46f4e07e303ba https://github.com/jenkinsci/jenkins/commit/28dfd90d2d6ae99c57eb174871c46f4e07e303ba Author: Jesse Glick <jgl...@cloudbees.com> Date: 2014-09-24 (Wed, 24 Sep 2014)
Changed paths: M core/src/main/java/hudson/model/Run.java Log Message: ----------- Better to use an IllegalStateException rather than assertion in setResult. Assertions are only for cases where you believe the failure of the condition is impossible. For cases where external code might mistakenly make an incorrect call, throw an exception. -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.