diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java index 46794c280264..150b1b658c16 100644 --- a/core/src/main/java/hudson/Functions.java +++ b/core/src/main/java/hudson/Functions.java @@ -379,7 +379,7 @@ public static String addSuffix(int n, String singular, String plural) { } /** - * @since TODO + * @since 2.475 */ public static RunUrl decompose(StaplerRequest2 req) { List ancestors = req.getAncestors(); @@ -610,7 +610,7 @@ public static Iterable reverse(Collection collection) { } /** - * @since TODO + * @since 2.475 */ public static Cookie getCookie(HttpServletRequest req, String name) { Cookie[] cookies = req.getCookies(); @@ -633,7 +633,7 @@ public static javax.servlet.http.Cookie getCookie(javax.servlet.http.HttpServlet } /** - * @since TODO + * @since 2.475 */ public static String getCookie(HttpServletRequest req, String name, String defaultValue) { Cookie c = getCookie(req, name); @@ -753,7 +753,7 @@ public static long getHourLocalTimezone() { * This is used to determine the "current" URL assigned to the given object, * so that one can compute relative URLs from it. * - * @since TODO + * @since 2.475 */ public static String getNearestAncestorUrl(StaplerRequest2 req, Object it) { List list = req.getAncestors(); @@ -981,7 +981,7 @@ public static boolean hasPermission(Object object, Permission permission) throws } /** - * @since TODO + * @since 2.475 */ public static void adminCheck(StaplerRequest2 req, StaplerResponse2 rsp, Object required, Permission permission) throws IOException, ServletException { // this is legacy --- all views should be eventually converted to @@ -1013,7 +1013,7 @@ public static void adminCheck(StaplerRequest req, StaplerResponse rsp, Object re /** * Infers the hudson installation URL from the given request. * - * @since TODO + * @since 2.475 */ public static String inferHudsonURL(StaplerRequest2 req) { String rootUrl = Jenkins.get().getRootUrl(); @@ -2132,7 +2132,7 @@ public static List> getCrumbIssuerDescriptors() { } /** - * @since TODO + * @since 2.475 */ public static String getCrumb(StaplerRequest2 req) { Jenkins h = Jenkins.getInstanceOrNull(); @@ -2328,7 +2328,7 @@ public static String createRenderOnDemandProxy(JellyContext context, String attr /** * Called from renderOnDemand.jelly to generate the parameters for the proxy object generation. * - * @since TODO + * @since 2.475 */ @Restricted(NoExternalUse.class) public static StaplerRequest2.RenderOnDemandParameters createRenderOnDemandProxyParameters(JellyContext context, String attributesToCapture) { diff --git a/core/src/main/java/hudson/Plugin.java b/core/src/main/java/hudson/Plugin.java index 1427da9fda8a..065b604095ad 100644 --- a/core/src/main/java/hudson/Plugin.java +++ b/core/src/main/java/hudson/Plugin.java @@ -224,7 +224,7 @@ public void configure(JSONObject formData) throws IOException, javax.servlet.Ser *

* If you are using this method, you'll likely be interested in * using {@link #save()} and {@link #load()}. - * @since TODO + * @since 2.475 */ public void configure(StaplerRequest2 req, JSONObject formData) throws IOException, ServletException, FormException { try { @@ -250,7 +250,7 @@ public void configure(StaplerRequest req, JSONObject formData) throws IOExceptio /** * This method serves static resources in the plugin under {@code hudson/plugin/SHORTNAME}. * - * @since TODO + * @since 2.475 */ public void doDynamic(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { if (Util.isOverridden(Plugin.class, getClass(), "doDynamic", StaplerRequest.class, StaplerResponse.class)) { diff --git a/core/src/main/java/hudson/PluginManager.java b/core/src/main/java/hudson/PluginManager.java index e1f5d4cc1184..b90b2eb9f6d4 100644 --- a/core/src/main/java/hudson/PluginManager.java +++ b/core/src/main/java/hudson/PluginManager.java @@ -379,7 +379,7 @@ PluginManager doCreate(@NonNull Class klass, private final PluginStrategy strategy; /** - * @since TODO + * @since 2.475 */ protected PluginManager(ServletContext context, File rootDir) { this.context = context; diff --git a/core/src/main/java/hudson/Util.java b/core/src/main/java/hudson/Util.java index 5ca66e9c4424..b4529a0ea279 100644 --- a/core/src/main/java/hudson/Util.java +++ b/core/src/main/java/hudson/Util.java @@ -1852,7 +1852,7 @@ public static long daysElapsedSince(@NonNull Date date) { * Find the specific ancestor, or throw an exception. * Useful for an ancestor we know is inside the URL to ease readability * - * @since TODO + * @since 2.475 */ @Restricted(NoExternalUse.class) public static @NonNull T getNearestAncestorOfTypeOrThrow(@NonNull StaplerRequest2 request, @NonNull Class clazz) { diff --git a/core/src/main/java/hudson/WebAppMain.java b/core/src/main/java/hudson/WebAppMain.java index 986452797f90..d62e8da6223a 100644 --- a/core/src/main/java/hudson/WebAppMain.java +++ b/core/src/main/java/hudson/WebAppMain.java @@ -322,7 +322,7 @@ private void recordBootAttempt(File home) { } /** - * @since TODO + * @since 2.475 */ public static void installExpressionFactory(ServletContextEvent event) { JellyFacet.setExpressionFactory(event, new ExpressionFactory2()); diff --git a/core/src/main/java/hudson/console/AnnotatedLargeText.java b/core/src/main/java/hudson/console/AnnotatedLargeText.java index 1798512f3e03..963435afe1ae 100644 --- a/core/src/main/java/hudson/console/AnnotatedLargeText.java +++ b/core/src/main/java/hudson/console/AnnotatedLargeText.java @@ -95,7 +95,7 @@ public AnnotatedLargeText(ByteBuffer memory, Charset charset, boolean completed, } /** - * @since TODO + * @since 2.475 */ public void doProgressiveHtml(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException { if (Util.isOverridden(AnnotatedLargeText.class, getClass(), "doProgressiveHtml", StaplerRequest.class, StaplerResponse.class)) { @@ -122,7 +122,7 @@ private void doProgressiveHtmlImpl(StaplerRequest2 req, StaplerResponse2 rsp) th /** * Aliasing what I think was a wrong name in {@link LargeText} * - * @since TODO + * @since 2.475 */ public void doProgressiveText(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException { doProgressText(req, rsp); @@ -146,7 +146,7 @@ private boolean isHtml() { } /** - * @since TODO + * @since 2.475 */ @Override protected void setContentType(StaplerResponse2 rsp) { diff --git a/core/src/main/java/hudson/model/AbstractItem.java b/core/src/main/java/hudson/model/AbstractItem.java index af64ff19df34..0e712d8a2e88 100644 --- a/core/src/main/java/hudson/model/AbstractItem.java +++ b/core/src/main/java/hudson/model/AbstractItem.java @@ -649,7 +649,7 @@ private Object readResolve() { /** * Accepts the new description. * - * @since TODO + * @since 2.475 */ @RequirePOST public synchronized void doSubmitDescription(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { @@ -690,7 +690,7 @@ private void doSubmitDescriptionImpl(StaplerRequest2 req, StaplerResponse2 rsp) * since it predates {@code }. {@code /delete} goes to a Jelly page * which should now be unused by core but is left in case plugins are still using it. * - * @since TODO + * @since 2.475 */ @RequirePOST public void doDoDelete(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException, InterruptedException { @@ -736,7 +736,7 @@ private void doDoDeleteImpl(StaplerRequest2 req, StaplerResponse2 rsp) throws IO } /** - * @since TODO + * @since 2.475 */ @Override public void delete(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { @@ -830,7 +830,7 @@ protected void performDelete() throws IOException, InterruptedException { /** * Accepts {@code config.xml} submission, as well as serve it. * - * @since TODO + * @since 2.475 */ @WebMethod(name = "config.xml") public void doConfigDotXml(StaplerRequest2 req, StaplerResponse2 rsp) diff --git a/core/src/main/java/hudson/model/AbstractProject.java b/core/src/main/java/hudson/model/AbstractProject.java index a380943687f7..61f407034c43 100644 --- a/core/src/main/java/hudson/model/AbstractProject.java +++ b/core/src/main/java/hudson/model/AbstractProject.java @@ -1778,7 +1778,7 @@ public void doPolling(StaplerRequest2 req, StaplerResponse2 rsp) throws IOExcept } /** - * @since TODO + * @since 2.475 */ @Override protected void submit(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException, FormException { diff --git a/core/src/main/java/hudson/model/Actionable.java b/core/src/main/java/hudson/model/Actionable.java index d8088319021b..45a8978a0388 100644 --- a/core/src/main/java/hudson/model/Actionable.java +++ b/core/src/main/java/hudson/model/Actionable.java @@ -342,7 +342,7 @@ public T getAction(Class type) { } /** - * @since TODO + * @since 2.475 */ public Object getDynamic(String token, StaplerRequest2 req, StaplerResponse2 rsp) { if (Util.isOverridden(Actionable.class, getClass(), "getDynamic", String.class, StaplerRequest.class, StaplerResponse.class)) { @@ -374,7 +374,7 @@ private Object getDynamicImpl(String token, StaplerRequest2 req, StaplerResponse } /** - * @since TODO + * @since 2.475 */ @Override public ContextMenu doContextMenu(StaplerRequest2 request, StaplerResponse2 response) throws Exception { diff --git a/core/src/main/java/hudson/model/BuildAuthorizationToken.java b/core/src/main/java/hudson/model/BuildAuthorizationToken.java index 3611824fb54d..365403124c3a 100644 --- a/core/src/main/java/hudson/model/BuildAuthorizationToken.java +++ b/core/src/main/java/hudson/model/BuildAuthorizationToken.java @@ -54,7 +54,7 @@ public BuildAuthorizationToken(String token) { } /** - * @since TODO + * @since 2.475 */ public static BuildAuthorizationToken create(StaplerRequest2 req) { if (req.getParameter("pseudoRemoteTrigger") != null) { @@ -79,7 +79,7 @@ public static BuildAuthorizationToken create(StaplerRequest req) { } /** - * @since TODO + * @since 2.475 */ public static void checkPermission(Job project, BuildAuthorizationToken token, StaplerRequest2 req, StaplerResponse2 rsp) throws IOException { if (token != null && token.token != null) { diff --git a/core/src/main/java/hudson/model/Descriptor.java b/core/src/main/java/hudson/model/Descriptor.java index e2067bfc6944..562b96e37b8e 100644 --- a/core/src/main/java/hudson/model/Descriptor.java +++ b/core/src/main/java/hudson/model/Descriptor.java @@ -580,7 +580,7 @@ public T newInstance(StaplerRequest req) throws FormException { * * @throws FormException * Signals a problem in the submitted form. - * @since TODO + * @since 2.475 */ public T newInstance(@Nullable StaplerRequest2 req, @NonNull JSONObject formData) throws FormException { if (Util.isOverridden(Descriptor.class, getClass(), "newInstance", StaplerRequest.class, JSONObject.class)) { @@ -626,7 +626,7 @@ private T newInstanceImpl(@Nullable StaplerRequest2 req, @NonNull JSONObject for * Replacement for {@link StaplerRequest2#bindJSON(Class, JSONObject)} which honors {@link #newInstance(StaplerRequest2, JSONObject)}. * This is automatically used inside {@link #newInstance(StaplerRequest2, JSONObject)} so a direct call would only be necessary * in case the top level binding might use a {@link Descriptor} which overrides {@link #newInstance(StaplerRequest2, JSONObject)}. - * @since TODO + * @since 2.475 */ public static T bindJSON(StaplerRequest2 req, Class type, JSONObject src) { return bindJSON(req, type, src, false); @@ -859,7 +859,7 @@ public boolean configure(StaplerRequest req) throws FormException { * See the developer documentation. * @return false * to keep the client in the same config page. - * @since TODO + * @since 2.475 */ public boolean configure(StaplerRequest2 req, JSONObject json) throws FormException { if (Util.isOverridden(Descriptor.class, getClass(), "configure", StaplerRequest.class, JSONObject.class)) { @@ -1062,7 +1062,7 @@ private void doHelpImpl(StaplerRequest2 req, StaplerResponse2 rsp) throws IOExce } /** - * @since TODO + * @since 2.475 */ @Restricted(NoExternalUse.class) public static URL getStaticHelpUrl(StaplerRequest2 req, Klass c, String suffix) { @@ -1142,7 +1142,7 @@ Map, T> toMap(Iterable describables) { * List of descriptors to create instances from. * @return * Can be empty but never null. - * @since TODO + * @since 2.475 */ public static > List newInstancesFromHeteroList(StaplerRequest2 req, JSONObject formData, String key, @@ -1162,7 +1162,7 @@ List newInstancesFromHeteroList(StaplerRequest req, JSONObject formData, Stri } /** - * @since TODO + * @since 2.475 */ public static > List newInstancesFromHeteroList(StaplerRequest2 req, Object formData, diff --git a/core/src/main/java/hudson/model/Hudson.java b/core/src/main/java/hudson/model/Hudson.java index 7d45fd63d749..5ae161199c63 100644 --- a/core/src/main/java/hudson/model/Hudson.java +++ b/core/src/main/java/hudson/model/Hudson.java @@ -81,7 +81,7 @@ public static Hudson getInstance() { } /** - * @since TODO + * @since 2.475 */ public Hudson(File root, ServletContext context) throws IOException, InterruptedException, ReactorException { this(root, context, null); @@ -96,7 +96,7 @@ public Hudson(File root, javax.servlet.ServletContext context) throws IOExceptio } /** - * @since TODO + * @since 2.475 */ public Hudson(File root, ServletContext context, PluginManager pluginManager) throws IOException, InterruptedException, ReactorException { super(root, context, pluginManager); diff --git a/core/src/main/java/hudson/model/ItemGroupMixIn.java b/core/src/main/java/hudson/model/ItemGroupMixIn.java index 62a46f395247..404d213f7344 100644 --- a/core/src/main/java/hudson/model/ItemGroupMixIn.java +++ b/core/src/main/java/hudson/model/ItemGroupMixIn.java @@ -144,7 +144,7 @@ public static Map loadChildren(ItemGroup parent, File * Creates a {@link TopLevelItem} for example from the submission of the {@code /lib/hudson/newFromList/form} tag * or throws an exception if it fails. * - * @since TODO + * @since 2.475 */ public synchronized TopLevelItem createTopLevelItem(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { acl.checkPermission(Item.CREATE); diff --git a/core/src/main/java/hudson/model/Job.java b/core/src/main/java/hudson/model/Job.java index 10637d666d68..9953b0106d0f 100644 --- a/core/src/main/java/hudson/model/Job.java +++ b/core/src/main/java/hudson/model/Job.java @@ -859,7 +859,7 @@ public RunT getNearestOldBuild(int n) { } /** - * @since TODO + * @since 2.475 */ @Override public Object getDynamic(String token, StaplerRequest2 req, @@ -1207,7 +1207,7 @@ public String getEntryAuthor(FeedItem entry) { /** - * @since TODO + * @since 2.475 */ @Override public ContextMenu doChildrenContextMenu(StaplerRequest2 request, StaplerResponse2 response) throws Exception { @@ -1433,7 +1433,7 @@ public synchronized void doConfigSubmit(StaplerRequest2 req, * Derived class can override this to perform additional config submission * work. * - * @since TODO + * @since 2.475 */ protected void submit(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException, FormException { diff --git a/core/src/main/java/hudson/model/JobProperty.java b/core/src/main/java/hudson/model/JobProperty.java index 70ef159547c0..c7444de3343a 100644 --- a/core/src/main/java/hudson/model/JobProperty.java +++ b/core/src/main/java/hudson/model/JobProperty.java @@ -186,7 +186,7 @@ public Collection getJobOverrides() { } /** - * @since TODO + * @since 2.475 */ @Override public JobProperty reconfigure(StaplerRequest2 req, JSONObject form) throws FormException { diff --git a/core/src/main/java/hudson/model/Project.java b/core/src/main/java/hudson/model/Project.java index eb31add23938..30efe857e891 100644 --- a/core/src/main/java/hudson/model/Project.java +++ b/core/src/main/java/hudson/model/Project.java @@ -228,7 +228,7 @@ public MavenInstallation inferMavenInstallation() { // /** - * @since TODO + * @since 2.475 */ @Override protected void submit(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException, FormException { diff --git a/core/src/main/java/hudson/model/RSS.java b/core/src/main/java/hudson/model/RSS.java index bb41c8af10a2..98cf0fb74032 100644 --- a/core/src/main/java/hudson/model/RSS.java +++ b/core/src/main/java/hudson/model/RSS.java @@ -56,7 +56,7 @@ public final class RSS { * Entries to be listed in the RSS feed. * @param adapter * Controls how to render entries to RSS. - * @since TODO + * @since 2.475 */ public static void forwardToRss(String title, String url, Collection entries, FeedAdapter adapter, StaplerRequest2 req, HttpServletResponse rsp) throws IOException, ServletException { req.setAttribute("adapter", adapter); @@ -98,7 +98,7 @@ public static void forwardToRss(String title, String url, Collection feedAdapter) throws IOException, ServletException { final FeedAdapter feedAdapter_ = feedAdapter == null ? Run.FEED_ADAPTER : feedAdapter; diff --git a/core/src/main/java/hudson/model/Run.java b/core/src/main/java/hudson/model/Run.java index f4084bcbf254..91f032b7881d 100644 --- a/core/src/main/java/hudson/model/Run.java +++ b/core/src/main/java/hudson/model/Run.java @@ -2297,7 +2297,7 @@ public void doBuildTimestamp(StaplerRequest2 req, StaplerResponse2 rsp, @QueryPa /** * Sends out the raw console output. * - * @since TODO + * @since 2.475 */ public void doConsoleText(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException { if (Util.isOverridden(Run.class, getClass(), "doConsoleText", StaplerRequest.class, StaplerResponse.class)) { @@ -2375,7 +2375,7 @@ public void keepLog(boolean newValue) throws IOException { /** * Deletes the build when the button is pressed. * - * @since TODO + * @since 2.475 */ @RequirePOST public void doDoDelete(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { diff --git a/core/src/main/java/hudson/model/View.java b/core/src/main/java/hudson/model/View.java index e807fa23de30..5d53a49ef0b7 100644 --- a/core/src/main/java/hudson/model/View.java +++ b/core/src/main/java/hudson/model/View.java @@ -788,7 +788,7 @@ public synchronized void doDoDelete(StaplerRequest2 req, StaplerResponse2 rsp) t * * @return * null if fails. - * @since TODO + * @since 2.475 */ @RequirePOST public /* abstract */ Item doCreateItem(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { @@ -1104,7 +1104,7 @@ public static Permission getItemCreatePermission() { } /** - * @since TODO + * @since 2.475 */ public static View create(StaplerRequest2 req, StaplerResponse2 rsp, ViewGroup owner) throws FormException, IOException, ServletException { diff --git a/core/src/main/java/hudson/scm/RepositoryBrowsers.java b/core/src/main/java/hudson/scm/RepositoryBrowsers.java index 3562f1c13964..3c1e818a0385 100644 --- a/core/src/main/java/hudson/scm/RepositoryBrowsers.java +++ b/core/src/main/java/hudson/scm/RepositoryBrowsers.java @@ -83,7 +83,7 @@ T createInstance(Class type, StaplerRequest req, String fieldName) throws For /** * Creates an instance of {@link RepositoryBrowser} from a form submission. * - * @since TODO + * @since 2.475 */ public static T createInstance(Class type, StaplerRequest2 req, JSONObject parent, String fieldName) throws FormException { diff --git a/core/src/main/java/hudson/security/SecurityRealm.java b/core/src/main/java/hudson/security/SecurityRealm.java index d99e3487eaa6..0706f99a4a31 100644 --- a/core/src/main/java/hudson/security/SecurityRealm.java +++ b/core/src/main/java/hudson/security/SecurityRealm.java @@ -278,7 +278,7 @@ public boolean canLogOut() { * This parameter allows you to redirect people to different pages depending on who they are. * @return * never null. - * @since TODO + * @since 2.475 * @see #doLogout(StaplerRequest2, StaplerResponse2) */ protected String getPostLogOutUrl2(StaplerRequest2 req, Authentication auth) { @@ -340,7 +340,7 @@ public List> getCaptchaSupportDescriptors() { * The default implementation erases the session and do a few other clean up, then * redirect the user to the URL specified by {@link #getPostLogOutUrl2(StaplerRequest2, Authentication)}. * - * @since TODO + * @since 2.475 */ public void doLogout(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { if (Util.isOverridden(SecurityRealm.class, getClass(), "doLogout", StaplerRequest.class, StaplerResponse.class)) { @@ -619,7 +619,7 @@ public synchronized SecurityComponents getSecurityComponents() { * For other plugins that want to contribute {@link Filter}, see * {@link PluginServletFilter}. * - * @since TODO + * @since 2.475 */ public Filter createFilter(FilterConfig filterConfig) { if (Util.isOverridden(SecurityRealm.class, getClass(), "createFilter", javax.servlet.FilterConfig.class)) { diff --git a/core/src/main/java/hudson/slaves/Cloud.java b/core/src/main/java/hudson/slaves/Cloud.java index 3bff60c0d0ad..05f9bb9c0139 100644 --- a/core/src/main/java/hudson/slaves/Cloud.java +++ b/core/src/main/java/hudson/slaves/Cloud.java @@ -342,7 +342,7 @@ public HttpResponse doConfigSubmit(StaplerRequest2 req, StaplerResponse2 rsp) th } /** - * @since TODO + * @since 2.475 */ public Cloud reconfigure(@NonNull final StaplerRequest2 req, JSONObject form) throws Descriptor.FormException { if (Util.isOverridden(Cloud.class, getClass(), "reconfigure", StaplerRequest.class, JSONObject.class)) { diff --git a/core/src/main/java/hudson/slaves/ComputerListener.java b/core/src/main/java/hudson/slaves/ComputerListener.java index f5d220c1104e..6e52220ce3a8 100644 --- a/core/src/main/java/hudson/slaves/ComputerListener.java +++ b/core/src/main/java/hudson/slaves/ComputerListener.java @@ -214,7 +214,7 @@ public void onConfigurationChange() {} /** * Indicates that the computer has become idle. * - * @since TODO + * @since 2.476 */ public void onIdle(Computer c) {} diff --git a/core/src/main/java/hudson/tasks/LogRotator.java b/core/src/main/java/hudson/tasks/LogRotator.java index c22d5af2e3d2..ca95081b0385 100644 --- a/core/src/main/java/hudson/tasks/LogRotator.java +++ b/core/src/main/java/hudson/tasks/LogRotator.java @@ -111,7 +111,7 @@ public CollatedLogRotatorException(String msg, Collection values) { /** * If enabled also remove last successful build. - * @since TODO + * @since 2.474 */ private boolean removeLastBuild; diff --git a/core/src/main/java/hudson/util/FormApply.java b/core/src/main/java/hudson/util/FormApply.java index dc5e4d64df9b..280a3051286a 100644 --- a/core/src/main/java/hudson/util/FormApply.java +++ b/core/src/main/java/hudson/util/FormApply.java @@ -63,7 +63,7 @@ public void generateResponse(StaplerRequest2 req, StaplerResponse2 rsp, Object n /** * Is this submission from the "apply" button? * - * @since TODO + * @since 2.475 */ public static boolean isApply(StaplerRequest2 req) { return Boolean.parseBoolean(req.getParameter("core:apply")); diff --git a/core/src/main/java/hudson/util/Graph.java b/core/src/main/java/hudson/util/Graph.java index 6e4ef6c59515..6d89fd6a6369 100644 --- a/core/src/main/java/hudson/util/Graph.java +++ b/core/src/main/java/hudson/util/Graph.java @@ -152,7 +152,7 @@ public static Dimension safeDimension(int width, int height, int defaultWidth, i /** * Renders a graph. * - * @since TODO + * @since 2.475 */ public void doPng(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException { if (Util.isOverridden(Graph.class, getClass(), "doPng", StaplerRequest.class, StaplerResponse.class)) { @@ -225,7 +225,7 @@ private void doPngImpl(StaplerRequest2 req, StaplerResponse2 rsp) throws IOExcep /** * Renders a clickable map. * - * @since TODO + * @since 2.475 */ public void doMap(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException { if (Util.isOverridden(Graph.class, getClass(), "doMap", StaplerRequest.class, StaplerResponse.class)) { diff --git a/core/src/main/java/hudson/util/ListBoxModel.java b/core/src/main/java/hudson/util/ListBoxModel.java index c97ed0f431e7..27efa0a8c573 100644 --- a/core/src/main/java/hudson/util/ListBoxModel.java +++ b/core/src/main/java/hudson/util/ListBoxModel.java @@ -171,7 +171,7 @@ public ListBoxModel add(@NonNull String nameAndValue) { } /** - * @since TODO + * @since 2.475 */ public void writeTo(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { if (Util.isOverridden(ListBoxModel.class, getClass(), "writeTo", StaplerRequest.class, StaplerResponse.class)) { diff --git a/core/src/main/java/hudson/util/PluginServletFilter.java b/core/src/main/java/hudson/util/PluginServletFilter.java index bb4ecfc18d9b..5e6ca8704dff 100644 --- a/core/src/main/java/hudson/util/PluginServletFilter.java +++ b/core/src/main/java/hudson/util/PluginServletFilter.java @@ -105,7 +105,7 @@ public void init(FilterConfig config) throws ServletException { * May be paired with {@link #removeFilter}. *

For most purposes you can instead use {@link HttpServletFilter}. * - * @since TODO + * @since 2.475 */ public static void addFilter(Filter filter) throws ServletException { Jenkins j = Jenkins.getInstanceOrNull(); @@ -141,7 +141,7 @@ public static void addFilter(javax.servlet.Filter filter) throws javax.servlet.S * Checks whether the given filter is already registered in the chain. * @param filter the filter to check. * @return true if the filter is already registered in the chain. - * @since TODO + * @since 2.475 */ public static boolean hasFilter(Filter filter) { Jenkins j = Jenkins.getInstanceOrNull(); @@ -166,7 +166,7 @@ public static boolean hasFilter(javax.servlet.Filter filter) { } /** - * @since TODO + * @since 2.475 */ public static void removeFilter(Filter filter) throws ServletException { Jenkins j = Jenkins.getInstanceOrNull(); diff --git a/core/src/main/java/jenkins/console/ConsoleUrlProvider.java b/core/src/main/java/jenkins/console/ConsoleUrlProvider.java index dcd3883ba07c..637cf10145c6 100644 --- a/core/src/main/java/jenkins/console/ConsoleUrlProvider.java +++ b/core/src/main/java/jenkins/console/ConsoleUrlProvider.java @@ -85,7 +85,7 @@ default Descriptor getDescriptor() { /** * Looks up the {@link #getConsoleUrl} value from the first provider to offer one. - * @since TODO + * @since 2.476 */ static @NonNull String consoleUrlOf(Run run) { final List providers = new ArrayList<>(); diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java index 3c756bbb7ba0..9af524b6b1d9 100644 --- a/core/src/main/java/jenkins/model/Jenkins.java +++ b/core/src/main/java/jenkins/model/Jenkins.java @@ -759,7 +759,7 @@ private static int getSlaveAgentPortInitialValue(int def) { private final transient ServletContext jakartaServletContext; /** - * @since TODO + * @since 2.475 */ public ServletContext getServletContext() { return this.jakartaServletContext; @@ -4435,7 +4435,7 @@ public void doLoginEntry(StaplerRequest2 req, StaplerResponse2 rsp) throws IOExc /** * Logs out the user. * - * @since TODO + * @since 2.475 */ public void doLogout(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException { String user = getAuthentication2().getName(); @@ -4933,7 +4933,7 @@ public void doScriptText(StaplerRequest req, StaplerResponse rsp) throws IOExcep } /** - * @since TODO + * @since 2.475 */ public static void _doScript(StaplerRequest2 req, StaplerResponse2 rsp, RequestDispatcher view, VirtualChannel channel, ACL acl) throws IOException, ServletException { // ability to run arbitrary script is dangerous diff --git a/core/src/main/java/jenkins/mvn/GlobalSettingsProvider.java b/core/src/main/java/jenkins/mvn/GlobalSettingsProvider.java index 98055fb39b2e..9e0a2cef24fb 100644 --- a/core/src/main/java/jenkins/mvn/GlobalSettingsProvider.java +++ b/core/src/main/java/jenkins/mvn/GlobalSettingsProvider.java @@ -29,7 +29,7 @@ public abstract class GlobalSettingsProvider extends AbstractDescribableImpl build, TaskListener listener); /** - * @since TODO + * @since 2.475 */ public static GlobalSettingsProvider parseSettingsProvider(StaplerRequest2 req) throws Descriptor.FormException, ServletException { JSONObject settings = req.getSubmittedForm().getJSONObject("globalSettings"); diff --git a/core/src/main/java/jenkins/security/BasicHeaderAuthenticator.java b/core/src/main/java/jenkins/security/BasicHeaderAuthenticator.java index 2906a1aa461b..7b012292efbd 100644 --- a/core/src/main/java/jenkins/security/BasicHeaderAuthenticator.java +++ b/core/src/main/java/jenkins/security/BasicHeaderAuthenticator.java @@ -38,7 +38,7 @@ public abstract class BasicHeaderAuthenticator implements ExtensionPoint { *

* When no processor can validate the username/password pair, caller will make * the request processing fail. - * @since TODO + * @since 2.475 */ @CheckForNull public Authentication authenticate2(HttpServletRequest req, HttpServletResponse rsp, String username, String password) throws IOException, ServletException {