Skip to content

Commit 880a455

Browse files
committed
format
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 464517c commit 880a455

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Experimental.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PACKAGE})
3131
public @interface Experimental {
3232
/**
33-
* Message for experimental features that we intend to keep and maintain, but
34-
* the API might change usually, based on user feedback.
35-
* */
33+
* Message for experimental features that we intend to keep and maintain, but the API might change
34+
* usually, based on user feedback.
35+
*/
3636
String API_MIGHT_CHANGE = "API might change, usually based on feedback";
3737

3838
/**

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/expectation/Expectation.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
import io.javaoperatorsdk.operator.api.reconciler.Context;
2222
import io.javaoperatorsdk.operator.api.reconciler.Experimental;
2323

24-
@Experimental("based on feedback the API might change")
24+
import static io.javaoperatorsdk.operator.api.reconciler.Experimental.API_MIGHT_CHANGE;
25+
26+
@Experimental(API_MIGHT_CHANGE)
2527
public interface Expectation<P extends HasMetadata> {
2628

2729
String UNNAMED = "unnamed";

0 commit comments

Comments
 (0)