Skip to content

Commit

Permalink
Merge pull request #3 from jenkinsci/findbugs-enable
Browse files Browse the repository at this point in the history
[FIXED JENKINS-29527] - AuthorizationMatrixProperty converter: Inheritance blocking may be passed incorrectly
  • Loading branch information
oleg-nenashev committed Jul 29, 2015
2 parents a30a95b + 18a5840 commit 74cbb6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -13,7 +13,7 @@
<url>http://wiki.jenkins-ci.org/display/JENKINS/Matrix+Authorization+Strategy+Plugin</url>
<properties>
<findbugs-maven-plugin.version>3.0.1</findbugs-maven-plugin.version>
<findbugs.failOnError>false</findbugs.failOnError>
<findbugs.failOnError>true</findbugs.failOnError>
</properties>
<licenses>
<license>
Expand Down
Expand Up @@ -306,9 +306,9 @@ public Object unmarshal(HierarchicalStreamReader reader,
reader.moveDown();
reader.getValue(); // we used to use this but not any more.
reader.moveUp();
prop = reader.peekNextChild();
prop = reader.peekNextChild(); // We check the next field
}
else if ("blocksInheritance".equals(prop)) {
if ("blocksInheritance".equals(prop)) {
reader.moveDown();
as.setBlocksInheritance("true".equals(reader.getValue()));
reader.moveUp();
Expand Down

0 comments on commit 74cbb6e

Please sign in to comment.