未验证 提交 4602160a 编写于 作者: A Alexander Brandes 提交者: GitHub

Fill in todo annotations (#7585)

上级 794d6f74
......@@ -635,7 +635,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
/**
* Defines the location of the detached plugins in the WAR.
* @return by default, {@code /WEB-INF/detached-plugins}
* @since TODO
* @since 2.377
*/
protected @NonNull String getDetachedLocation() {
return "/WEB-INF/detached-plugins";
......
......@@ -364,7 +364,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
* ProxyConfiguration#DEFAULT_CONNECT_TIMEOUT_MILLIS}).
*
* @return a new {@link HttpClient}
* @since TODO
* @since 2.379
*/
public static HttpClient newHttpClient() {
return newHttpClientBuilder().followRedirects(HttpClient.Redirect.NORMAL).build();
......@@ -378,7 +378,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
* ProxyConfiguration#DEFAULT_CONNECT_TIMEOUT_MILLIS}).
*
* @return an {@link HttpClient.Builder}
* @since TODO
* @since 2.379
*/
public static HttpClient.Builder newHttpClientBuilder() {
HttpClient.Builder httpClientBuilder = HttpClient.newBuilder();
......@@ -410,7 +410,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
* @param uri the request URI
* @return an {@link HttpRequest.Builder}
* @throws IllegalArgumentException if the URI scheme is not supported
* @since TODO
* @since 2.379
*/
public static HttpRequest.Builder newHttpRequestBuilder(URI uri) {
HttpRequest.Builder httpRequestBuilder = HttpRequest.newBuilder(uri);
......
......@@ -219,7 +219,7 @@ public abstract class ManagementLink implements ExtensionPoint, Action {
* A {@link Badge} shown as overlay over the icon on "Manage Jenkins".
*
* @return badge or {@code null} if no badge should be shown.
* @since TODO
* @since 2.385
*/
public @CheckForNull Badge getBadge() {
return null;
......
......@@ -472,7 +472,7 @@ public abstract class FormValidation extends IOException implements HttpResponse
*
* @throws IOException if the URI scheme is not supported, the connection was interrupted,
* or the response was an error
* @since TODO
* @since 2.382
*/
protected Stream<String> open(URI uri) throws IOException {
HttpClient httpClient = ProxyConfiguration.newHttpClient();
......@@ -520,7 +520,7 @@ public abstract class FormValidation extends IOException implements HttpResponse
* Find the string literal from the given stream of lines.
*
* @return true if found, false otherwise
* @since TODO
* @since 2.382
*/
protected boolean findText(Stream<String> in, String literal) {
try (in) {
......
......@@ -46,7 +46,7 @@ import java.util.Locale;
* A badge might display the same information as an {@link AdministrativeMonitor}. While an {@link AdministrativeMonitor}
* can be disabled, a badge will always be shown. E.g. the badge of {@link OldDataMonitor.ManagementLinkImpl} always shows the number of old data entries.
*
* @since TODO
* @since 2.385
*/
public class Badge {
......
......@@ -34,7 +34,7 @@ import java.util.logging.Logger;
* Executor service that logs unchecked exceptions / errors in {@link Runnable}.
* Exceptions thrown from {@link Callable} are <em>not</em> not logged,
* under the assumption that something is checking {@link Future#get()}.
* @since TODO
* @since 2.380
*/
public class ErrorLoggingExecutorService extends InterceptingExecutorService {
......
......@@ -19,7 +19,7 @@ import org.apache.commons.lang.StringUtils;
/**
* Helper class to load symbols from Jenkins core or plugins.
* @since TODO
* @since 2.383
*/
public final class Symbol {
private static final Logger LOGGER = Logger.getLogger(Symbol.class.getName());
......@@ -39,7 +39,7 @@ public final class Symbol {
* Generates the svg markup for the given symbol name and attributes.
* @param request the symbol request object.
* @return The svg markup for the symbol.
* @since TODO
* @since 2.383
*/
public static String get(@NonNull SymbolRequest request) {
String name = request.getName();
......
......@@ -9,7 +9,7 @@ import java.util.logging.Logger;
*
* <p>Create an instance using {@link Builder}.
*
* @since TODO
* @since 2.383
*/
public final class SymbolRequest {
private static final Logger LOGGER = Logger.getLogger(SymbolRequest.class.getName());
......
......@@ -47,7 +47,7 @@ THE SOFTWARE.
<st:attribute name="accept">
Defines the file types the file input should accept. This string is a comma-separated list.
</st:attribute>
@since TODO
@since 2.385
</st:documentation>
<f:prepareDatabinding />
......
......@@ -30,7 +30,7 @@ THE SOFTWARE.
<s:attribute name="id">
If specified the ID of the button.
@since TODO
@since 2.376
</s:attribute>
<s:attribute name="name">
If specified, becomes the value of the name attribute.
......@@ -45,7 +45,7 @@ THE SOFTWARE.
Sets whether this button is a primary button or not.
Defaults to true.
@since TODO
@since 2.376
</s:attribute>
<s:attribute name="clazz" />
</s:documentation>
......
......@@ -28,7 +28,7 @@ THE SOFTWARE.
<st:attribute name="title" use="required">
The title of the tab
</st:attribute>
@since TODO
@since 2.385
</st:documentation>
<div class="jenkins-tab-pane">
<h2 class="jenkins-tab-pane__title">${attrs.title}</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册