Skip to content

Commit b546650

Browse files
timjagithub-actions[bot]
authored andcommitted
Fill in since annotations
1 parent 9298365 commit b546650

32 files changed

+66
-66
lines changed

core/src/main/java/hudson/Functions.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public static String addSuffix(int n, String singular, String plural) {
379379
}
380380

381381
/**
382-
* @since TODO
382+
* @since 2.475
383383
*/
384384
public static RunUrl decompose(StaplerRequest2 req) {
385385
List<Ancestor> ancestors = req.getAncestors();
@@ -610,7 +610,7 @@ public static <T> Iterable<T> reverse(Collection<T> collection) {
610610
}
611611

612612
/**
613-
* @since TODO
613+
* @since 2.475
614614
*/
615615
public static Cookie getCookie(HttpServletRequest req, String name) {
616616
Cookie[] cookies = req.getCookies();
@@ -633,7 +633,7 @@ public static javax.servlet.http.Cookie getCookie(javax.servlet.http.HttpServlet
633633
}
634634

635635
/**
636-
* @since TODO
636+
* @since 2.475
637637
*/
638638
public static String getCookie(HttpServletRequest req, String name, String defaultValue) {
639639
Cookie c = getCookie(req, name);
@@ -753,7 +753,7 @@ public static long getHourLocalTimezone() {
753753
* This is used to determine the "current" URL assigned to the given object,
754754
* so that one can compute relative URLs from it.
755755
*
756-
* @since TODO
756+
* @since 2.475
757757
*/
758758
public static String getNearestAncestorUrl(StaplerRequest2 req, Object it) {
759759
List list = req.getAncestors();
@@ -981,7 +981,7 @@ public static boolean hasPermission(Object object, Permission permission) throws
981981
}
982982

983983
/**
984-
* @since TODO
984+
* @since 2.475
985985
*/
986986
public static void adminCheck(StaplerRequest2 req, StaplerResponse2 rsp, Object required, Permission permission) throws IOException, ServletException {
987987
// this is legacy --- all views should be eventually converted to
@@ -1013,7 +1013,7 @@ public static void adminCheck(StaplerRequest req, StaplerResponse rsp, Object re
10131013
/**
10141014
* Infers the hudson installation URL from the given request.
10151015
*
1016-
* @since TODO
1016+
* @since 2.475
10171017
*/
10181018
public static String inferHudsonURL(StaplerRequest2 req) {
10191019
String rootUrl = Jenkins.get().getRootUrl();
@@ -2132,7 +2132,7 @@ public static List<Descriptor<CrumbIssuer>> getCrumbIssuerDescriptors() {
21322132
}
21332133

21342134
/**
2135-
* @since TODO
2135+
* @since 2.475
21362136
*/
21372137
public static String getCrumb(StaplerRequest2 req) {
21382138
Jenkins h = Jenkins.getInstanceOrNull();
@@ -2328,7 +2328,7 @@ public static String createRenderOnDemandProxy(JellyContext context, String attr
23282328
/**
23292329
* Called from renderOnDemand.jelly to generate the parameters for the proxy object generation.
23302330
*
2331-
* @since TODO
2331+
* @since 2.475
23322332
*/
23332333
@Restricted(NoExternalUse.class)
23342334
public static StaplerRequest2.RenderOnDemandParameters createRenderOnDemandProxyParameters(JellyContext context, String attributesToCapture) {

core/src/main/java/hudson/Plugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public void configure(JSONObject formData) throws IOException, javax.servlet.Ser
224224
* <p>
225225
* If you are using this method, you'll likely be interested in
226226
* using {@link #save()} and {@link #load()}.
227-
* @since TODO
227+
* @since 2.475
228228
*/
229229
public void configure(StaplerRequest2 req, JSONObject formData) throws IOException, ServletException, FormException {
230230
try {
@@ -250,7 +250,7 @@ public void configure(StaplerRequest req, JSONObject formData) throws IOExceptio
250250
/**
251251
* This method serves static resources in the plugin under {@code hudson/plugin/SHORTNAME}.
252252
*
253-
* @since TODO
253+
* @since 2.475
254254
*/
255255
public void doDynamic(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException {
256256
if (Util.isOverridden(Plugin.class, getClass(), "doDynamic", StaplerRequest.class, StaplerResponse.class)) {

core/src/main/java/hudson/PluginManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ PluginManager doCreate(@NonNull Class<? extends PluginManager> klass,
379379
private final PluginStrategy strategy;
380380

381381
/**
382-
* @since TODO
382+
* @since 2.475
383383
*/
384384
protected PluginManager(ServletContext context, File rootDir) {
385385
this.context = context;

core/src/main/java/hudson/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1852,7 +1852,7 @@ public static long daysElapsedSince(@NonNull Date date) {
18521852
* Find the specific ancestor, or throw an exception.
18531853
* Useful for an ancestor we know is inside the URL to ease readability
18541854
*
1855-
* @since TODO
1855+
* @since 2.475
18561856
*/
18571857
@Restricted(NoExternalUse.class)
18581858
public static @NonNull <T> T getNearestAncestorOfTypeOrThrow(@NonNull StaplerRequest2 request, @NonNull Class<T> clazz) {

core/src/main/java/hudson/WebAppMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private void recordBootAttempt(File home) {
322322
}
323323

324324
/**
325-
* @since TODO
325+
* @since 2.475
326326
*/
327327
public static void installExpressionFactory(ServletContextEvent event) {
328328
JellyFacet.setExpressionFactory(event, new ExpressionFactory2());

core/src/main/java/hudson/console/AnnotatedLargeText.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public AnnotatedLargeText(ByteBuffer memory, Charset charset, boolean completed,
9595
}
9696

9797
/**
98-
* @since TODO
98+
* @since 2.475
9999
*/
100100
public void doProgressiveHtml(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException {
101101
if (Util.isOverridden(AnnotatedLargeText.class, getClass(), "doProgressiveHtml", StaplerRequest.class, StaplerResponse.class)) {
@@ -122,7 +122,7 @@ private void doProgressiveHtmlImpl(StaplerRequest2 req, StaplerResponse2 rsp) th
122122
/**
123123
* Aliasing what I think was a wrong name in {@link LargeText}
124124
*
125-
* @since TODO
125+
* @since 2.475
126126
*/
127127
public void doProgressiveText(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException {
128128
doProgressText(req, rsp);
@@ -146,7 +146,7 @@ private boolean isHtml() {
146146
}
147147

148148
/**
149-
* @since TODO
149+
* @since 2.475
150150
*/
151151
@Override
152152
protected void setContentType(StaplerResponse2 rsp) {

core/src/main/java/hudson/model/AbstractItem.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ private Object readResolve() {
649649
/**
650650
* Accepts the new description.
651651
*
652-
* @since TODO
652+
* @since 2.475
653653
*/
654654
@RequirePOST
655655
public synchronized void doSubmitDescription(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException {
@@ -690,7 +690,7 @@ private void doSubmitDescriptionImpl(StaplerRequest2 req, StaplerResponse2 rsp)
690690
* since it predates {@code <l:confirmationLink>}. {@code /delete} goes to a Jelly page
691691
* which should now be unused by core but is left in case plugins are still using it.
692692
*
693-
* @since TODO
693+
* @since 2.475
694694
*/
695695
@RequirePOST
696696
public void doDoDelete(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException, InterruptedException {
@@ -736,7 +736,7 @@ private void doDoDeleteImpl(StaplerRequest2 req, StaplerResponse2 rsp) throws IO
736736
}
737737

738738
/**
739-
* @since TODO
739+
* @since 2.475
740740
*/
741741
@Override
742742
public void delete(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException {
@@ -830,7 +830,7 @@ protected void performDelete() throws IOException, InterruptedException {
830830
/**
831831
* Accepts {@code config.xml} submission, as well as serve it.
832832
*
833-
* @since TODO
833+
* @since 2.475
834834
*/
835835
@WebMethod(name = "config.xml")
836836
public void doConfigDotXml(StaplerRequest2 req, StaplerResponse2 rsp)

core/src/main/java/hudson/model/AbstractProject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ public void doPolling(StaplerRequest2 req, StaplerResponse2 rsp) throws IOExcept
17781778
}
17791779

17801780
/**
1781-
* @since TODO
1781+
* @since 2.475
17821782
*/
17831783
@Override
17841784
protected void submit(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException, FormException {

core/src/main/java/hudson/model/Actionable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public <T extends Action> T getAction(Class<T> type) {
342342
}
343343

344344
/**
345-
* @since TODO
345+
* @since 2.475
346346
*/
347347
public Object getDynamic(String token, StaplerRequest2 req, StaplerResponse2 rsp) {
348348
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
374374
}
375375

376376
/**
377-
* @since TODO
377+
* @since 2.475
378378
*/
379379
@Override
380380
public ContextMenu doContextMenu(StaplerRequest2 request, StaplerResponse2 response) throws Exception {

core/src/main/java/hudson/model/BuildAuthorizationToken.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public BuildAuthorizationToken(String token) {
5454
}
5555

5656
/**
57-
* @since TODO
57+
* @since 2.475
5858
*/
5959
public static BuildAuthorizationToken create(StaplerRequest2 req) {
6060
if (req.getParameter("pseudoRemoteTrigger") != null) {
@@ -79,7 +79,7 @@ public static BuildAuthorizationToken create(StaplerRequest req) {
7979
}
8080

8181
/**
82-
* @since TODO
82+
* @since 2.475
8383
*/
8484
public static void checkPermission(Job<?, ?> project, BuildAuthorizationToken token, StaplerRequest2 req, StaplerResponse2 rsp) throws IOException {
8585
if (token != null && token.token != null) {

0 commit comments

Comments
 (0)