Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hamcrest #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
package com.redhat.jenkins.nodesharingbackend;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.remoting.Callable;
import hudson.remoting.Channel;
import hudson.remoting.ChannelBuilder;
Expand Down Expand Up @@ -103,7 +104,8 @@ private NoopChannel(ChannelBuilder settings, CommandTransport transport) throws
@Override public Object getProperty(Object key) { return null; } // $COVERAGE-IGNORE$
@Override public <T> T getProperty(ChannelProperty<T> key) { return null; } // $COVERAGE-IGNORE$

@Override public Object waitForProperty(Object key) { return null; } // $COVERAGE-IGNORE$
@Override @SuppressFBWarnings(value = "NP_NONNULL_RETURN_VIOLATION", justification = "TODO Triage")
public Object waitForProperty(Object key) { return null; } // $COVERAGE-IGNORE$
@Override public <T> T waitForProperty(ChannelProperty<T> key) { return null; } // $COVERAGE-IGNORE$

@Override public Object setProperty(Object key, Object value) { return null; } // $COVERAGE-IGNORE$
Expand Down
2 changes: 1 addition & 1 deletion jth-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<artifactId>hamcrest</artifactId>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.54</version>
<version>4.64</version>
</parent>

<groupId>org.jenkins-ci.plugins.nodesharing</groupId>
Expand Down Expand Up @@ -201,5 +201,7 @@
<concurrency>0.5C</concurrency>
<surefire.useFile>false</surefire.useFile>
<findbugs.failOnError>false</findbugs.failOnError>
<!-- TODO fix violations -->
<spotbugs.threshold>High</spotbugs.threshold>
</properties>
</project>
</project>