Skip to content

Commit 0351a49

Browse files
committed
Annotate isJavaWebStartSupported as no external use
Should only be used by web page.
1 parent 7a4089f commit 0351a49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/hudson/slaves/JNLPLauncher.java

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public boolean filterType(@Nonnull Class<?> contextClass, @Nonnull Descriptor de
232232
* @return {@code true} if Java Web Start button should be displayed.
233233
* @since FIXME
234234
*/
235+
@Restricted(NoExternalUse.class) // Jelly use
235236
public boolean isJavaWebStartSupported() {
236237
return System.getProperty("java.version", "1.8").startsWith("1.8");
237238
}

0 commit comments

Comments
 (0)