Skip to content

Commit

Permalink
Annotate isJavaWebStartSupported as no external use
Browse files Browse the repository at this point in the history
Should only be used by web page.
  • Loading branch information
MarkEWaite committed Nov 17, 2018
1 parent 7a4089f commit 0351a49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/hudson/slaves/JNLPLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public boolean filterType(@Nonnull Class<?> contextClass, @Nonnull Descriptor de
* @return {@code true} if Java Web Start button should be displayed.
* @since FIXME
*/
@Restricted(NoExternalUse.class) // Jelly use
public boolean isJavaWebStartSupported() {
return System.getProperty("java.version", "1.8").startsWith("1.8");
}
Expand Down

0 comments on commit 0351a49

Please sign in to comment.