Skip to content

Commit b279603

Browse files
Update @since in Javadoc for newly introduced APIs (#974)
1 parent cfa48b0 commit b279603

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

integrations/src/test/java/io/jenkins/plugins/casc/GlobalMatrixAuthorizationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* @author Mads Nielsen
16-
* @since TODO
16+
* @since 1.0
1717
*/
1818
public class GlobalMatrixAuthorizationTest {
1919

integrations/src/test/java/io/jenkins/plugins/casc/RoleStrategyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
/**
3232
* @author Oleg Nenashev
33-
* @since TODO
33+
* @since 1.0
3434
*/
3535
public class RoleStrategyTest {
3636

plugin/src/main/java/io/jenkins/plugins/casc/Attribute.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public Attribute<Owner, Type> getter(Getter<Owner, Type> getter) {
147147
* Sets whether the attribute is secret.
148148
* If so, various outputs will be suppressed (exports, logging).
149149
* @param secret {@code true} to make an attribute secret
150-
* @since TODO
150+
* @since 1.25
151151
*/
152152
public Attribute<Owner, Type> secret(boolean secret) {
153153
this.secret = secret;
@@ -195,7 +195,7 @@ public List<String> possibleValues() {
195195
* @return {@code true} if the attribute is secret
196196
* @param target Target object.
197197
* If {@code null}, only the attribute metadata is checked
198-
* @since TODO
198+
* @since 1.25
199199
*/
200200
public boolean isSecret(@CheckForNull Owner target) {
201201
// This.secret should be always true for the first condition, but getType() is overridable

plugin/src/main/java/io/jenkins/plugins/casc/ConfiguratorException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* Exception type for {@link Configurator} issues.
3030
* @author Oleg Nenashev
31-
* @since TODO
31+
* @since 1.0
3232
* @see Configurator#configure(CNode, ConfigurationContext)
3333
* @see Configurator
3434
*/

plugin/src/main/java/io/jenkins/plugins/casc/SecretSourceResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class SecretSourceResolver {
2727
* Encodes String so that it can be safely represented in the YAML after export.
2828
* @param toEncode String to encode
2929
* @return Encoded string
30-
* @since TODO
30+
* @since 1.25
3131
*/
3232
public static String encode(@CheckForNull String toEncode) {
3333
if (toEncode == null) {

plugin/src/main/java/io/jenkins/plugins/casc/model/Scalar.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public String getValue() {
8585
/**
8686
* Check whether the scalar value should be masked in the output.
8787
* @return {@code true} if the value is masked
88-
* @since TODO
88+
* @since 1.25
8989
*/
9090
public boolean isMasked() {
9191
return sensitive && !encrypted;
@@ -96,7 +96,7 @@ public boolean isMasked() {
9696
* It indicates that the scalar represents a sensitive argument (secret or other restricted data).
9797
* @param sensitive value to set
9898
* @return Object instance
99-
* @since TODO
99+
* @since 1.25
100100
*/
101101
public Scalar sensitive(boolean sensitive) {
102102
this.sensitive = sensitive;
@@ -107,7 +107,7 @@ public Scalar sensitive(boolean sensitive) {
107107
* Indicates that the data is encrypted and hence safe to be exported.
108108
* @param encrypted Value to set
109109
* @return Object instance
110-
* @since TODO
110+
* @since 1.25
111111
*/
112112
public Scalar encrypted(boolean encrypted) {
113113
this.encrypted = encrypted;

plugin/src/test/java/io/jenkins/plugins/casc/misc/JenkinsConfiguredWithCodeRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private ConfiguredWithCode getConfiguredWithCode() {
8686
* @param strict Fail if any export operation returns error
8787
* @throws Exception Export error
8888
* @throws AssertionError Failed to export the configuration
89-
* @since TODO
89+
* @since 1.25
9090
*/
9191
public String exportToString(boolean strict) throws Exception {
9292
final ByteArrayOutputStream out = new ByteArrayOutputStream();

plugin/src/test/java/io/jenkins/plugins/casc/misc/RoundTripAbstractTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* 3. A string that should be present in the logs (casc logger) that guarantees the config is loaded. Usually a weird
4343
* text configured.
4444
*
45-
* @since TODO
45+
* @since 1.20
4646
*/
4747
public abstract class RoundTripAbstractTest {
4848
@Rule

plugin/src/test/java/io/jenkins/plugins/casc/misc/Util.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public static String toStringFromYamlFile(Object clazz, String resourcePath) thr
166166
* Checks whether {@link LoggerRule} has not recorded the message.
167167
* @param logging Logger rule
168168
* @param unexpectedText Text to check
169-
* @since TODO
169+
* @since 1.25
170170
*/
171171
public static void assertNotInLog(LoggerRule logging, String unexpectedText) {
172172
assertFalse("The log should not contain '" + unexpectedText + "'",
@@ -177,7 +177,7 @@ public static void assertNotInLog(LoggerRule logging, String unexpectedText) {
177177
* Checks whether {@link LoggerRule} has recorded the message.
178178
* @param logging Logger rule
179179
* @param expectedText Text to check
180-
* @since TODO
180+
* @since 1.25
181181
*/
182182
public static void assertLogContains(LoggerRule logging, String expectedText) {
183183
assertTrue("The log should contain '" + expectedText + "'",

0 commit comments

Comments
 (0)