diff --git a/src/main/java/org/openrewrite/jenkins/Jenkins.java b/src/main/java/org/openrewrite/jenkins/Jenkins.java index dffdbea..d6b7da9 100644 --- a/src/main/java/org/openrewrite/jenkins/Jenkins.java +++ b/src/main/java/org/openrewrite/jenkins/Jenkins.java @@ -36,8 +36,7 @@ class Jenkins { * @param sourceFile POM * @return jenkins-core's version if managed, otherwise null */ - @Nullable - public static String isJenkinsPluginPom(SourceFile sourceFile) { + public static @Nullable String isJenkinsPluginPom(SourceFile sourceFile) { return sourceFile.getMarkers() .findFirst(MavenResolutionResult.class) .map(mavenResolution -> mavenResolution.getPom().getManagedVersion("org.jenkins-ci.main",