Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill in since todos #9077

Merged
merged 1 commit into from Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/main/java/hudson/cli/CLIConnectionFactory.java
Expand Up @@ -25,7 +25,7 @@ public CLIConnectionFactory authorization(String value) {
/**
* Skip TLS certificate and hostname verification checks.
*
* @since TODO
* @since 2.444
*/
public CLIConnectionFactory noCertificateCheck(boolean value) {
this.noCertificateCheck = value;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/lifecycle/Lifecycle.java
Expand Up @@ -317,7 +317,7 @@ public void onStatusUpdate(String status) {
* Whether {@link PluginManager#dynamicLoad(File)} should be supported at all.
* If not, {@link RestartRequiredException} will always be thrown.
* @return true by default
* @since TODO
* @since 2.449
*/
@Restricted(Beta.class)
public boolean supportsDynamicLoad() {
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/ItemGroup.java
Expand Up @@ -184,7 +184,7 @@ default Iterable<Item> allItems() {
* @param dir The root directory the item was loaded from.
* @param item the partially loaded item (take care what methods you call, the item will not have a reference to its parent).
*
* @since TODO
* @since 2.444
*/
default String getItemName(File dir, T item) {
return dir.getName();
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/RunMap.java
Expand Up @@ -98,7 +98,7 @@ public RunMap(@NonNull Job<?, ?> job) {
/**
* @param cons
* Used to create new instance of {@link Run}.
* @since TODO
* @since 2.451
*/
public RunMap(@NonNull Job<?, ?> job, Constructor cons) {
this.job = Objects.requireNonNull(job);
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/UpdateSite.java
Expand Up @@ -496,7 +496,7 @@
/**
*
* @return the URL used by {@link jenkins.install.SetupWizard} for suggested plugins to install at setup time
* @since TODO
* @since 2.446
*/
@Exported
public String getSuggestedPluginsUrl() {
Expand Down Expand Up @@ -1572,7 +1572,7 @@
*/
@Restricted(DoNotUse.class)
public boolean hasWarnings() {
return !getWarnings().isEmpty();

Check warning on line 1575 in core/src/main/java/hudson/model/UpdateSite.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Partially covered line

Line 1575 is only partially covered, one branch is missing
}

/**
Expand Down
Expand Up @@ -84,7 +84,7 @@ protected UserDetails authenticate2(String username, String password) throws Aut

/**
* A public alias of @{link {@link #authenticate2(String, String)}.
* @since TODO
* @since 2.444
*/
@Restricted(Beta.class)
public final UserDetails authenticateByPassword(String username, String password) throws AuthenticationException {
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/util/io/ArchiverFactory.java
Expand Up @@ -55,7 +55,7 @@ public Archiver create(OutputStream out) throws IOException {
* Creates an archiver on top of the given stream.
*
* @param filenamesEncoding the encoding to be used in the archive for file names
* @since TODO
* @since 2.449
*/
@NonNull
public abstract Archiver create(OutputStream out, Charset filenamesEncoding) throws IOException;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/jenkins/websocket/WebSockets.java
Expand Up @@ -70,7 +70,7 @@ public static HttpResponse upgrade(WebSocketSession session) {

/**
* Variant of {@link #upgrade} that does not presume a {@link StaplerRequest}.
* @since TODO
* @since 2.446
*/
public static void upgradeResponse(WebSocketSession session, HttpServletRequest req, HttpServletResponse rsp) throws IOException, ServletException {
if (provider == null) {
Expand Down
6 changes: 3 additions & 3 deletions core/src/main/resources/lib/layout/badge.jelly
Expand Up @@ -26,16 +26,16 @@ THE SOFTWARE.
<st:documentation>
If a Badge is informed it will be displayed, otherwise nothing is done.

@since TODO
@since 2.445
<st:attribute name="badge" type="jenkins.management.Badge">
Badge to be displayed, accepts null value.

@since TODO
@since 2.445
</st:attribute>
<st:attribute name="class" use="optional">
Additional class to be applied.

@since TODO
@since 2.445
</st:attribute>
</st:documentation>
<j:if test="${attrs.badge != null}">
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/layout/copyButton.jelly
Expand Up @@ -45,7 +45,7 @@ THE SOFTWARE.
</st:attribute>
<st:attribute name="ref" use="required">
The id of the target element to be copied
@since TODO
@since 2.449
</st:attribute>
</st:documentation>

Expand Down