Skip to content

Commit

Permalink
EOL JSR 305 (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Dec 14, 2023
1 parent abd6b8b commit 16f3070
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@
<artifactId>google-http-client</artifactId>
<version>${google.http.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<!-- Provided by Jenkins core -->
<exclusion>
<groupId>com.google.guava</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
import java.util.stream.Collectors;
import javax.annotation.Nonnull;
import javax.servlet.ServletException;
import jenkins.model.Jenkins;
import lombok.Getter;
Expand Down Expand Up @@ -446,7 +445,7 @@ static void checkPermissions(@NonNull AccessControlled context, Permission... pe
@Extension
public static class GoogleCloudDescriptor extends Descriptor<Cloud> {

@Nonnull
@NonNull
@Override
public String getDisplayName() {
return Messages.ComputeEngineCloud_DisplayName();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.google.cloud.graphite.platforms.plugin.client.ComputeClient.OperationException;
import com.google.common.base.Strings;
import com.google.jenkins.plugins.computeengine.ssh.GoogleKeyCredential;
import edu.umd.cs.findbugs.annotations.Nullable;
import hudson.Extension;
import hudson.model.Computer;
import hudson.model.Descriptor;
Expand All @@ -32,7 +33,6 @@
import java.util.Optional;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.Nullable;
import jenkins.model.Jenkins;
import lombok.Builder;
import lombok.Getter;
Expand Down

0 comments on commit 16f3070

Please sign in to comment.