From 955cbaa3d5ec89a59fe6fce2b9ab6e7bec7c9f94 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Wed, 24 Jan 2018 09:58:42 +0100 Subject: [PATCH] Use kubernetes-credentials 0.3.0 --- .../kubernetes/OpenShiftBearerTokenCredentialImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/OpenShiftBearerTokenCredentialImpl.java b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/OpenShiftBearerTokenCredentialImpl.java index 7d98d71113..df947f7fbd 100644 --- a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/OpenShiftBearerTokenCredentialImpl.java +++ b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/OpenShiftBearerTokenCredentialImpl.java @@ -1,15 +1,18 @@ package org.csanchez.jenkins.plugins.kubernetes; -import org.jenkinsci.plugins.kubernetes.credentials.BearerTokenCredentialImpl; import org.kohsuke.stapler.DataBoundConstructor; import com.cloudbees.plugins.credentials.CredentialsScope; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; + /** * @author Nicolas De Loof */ @Deprecated -public class OpenShiftBearerTokenCredentialImpl extends BearerTokenCredentialImpl { +@SuppressFBWarnings("NM_SAME_SIMPLE_NAME_AS_SUPERCLASS") +public class OpenShiftBearerTokenCredentialImpl + extends org.jenkinsci.plugins.kubernetes.credentials.OpenShiftBearerTokenCredentialImpl { private static final long serialVersionUID = -3725963485838773012L;