Skip to content

Commit

Permalink
update Experimental annotation for adding version for since
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorsten Marx committed Sep 9, 2024
1 parent ae91980 commit c9e0eb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* #L%
*/

import com.github.thmarx.cms.api.annotations.Experimental;
import java.time.Duration;
import java.util.Map;
import lombok.RequiredArgsConstructor;
Expand All @@ -31,6 +32,7 @@
*
* @author t.marx
*/
@Experimental(since = "5.3.0")
@RequiredArgsConstructor
public class PerformanceProperties {
private final Map<String, Object> properties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.TYPE, ElementType.METHOD })
public @interface Experimental {
public String since () default "";
}

Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
import com.github.thmarx.cms.api.PerformanceProperties;
import com.github.thmarx.cms.api.ServerContext;
import com.github.thmarx.cms.api.annotations.Experimental;
import com.github.thmarx.cms.api.feature.features.IsPreviewFeature;
import com.github.thmarx.cms.api.feature.features.RequestFeature;
import com.github.thmarx.cms.api.request.RequestContext;
Expand Down Expand Up @@ -52,6 +53,7 @@
*
* @author t.marx
*/
@Experimental(since = "5.3.0")
@Slf4j
public class PooledRequestContextFilter extends Handler.Wrapper {

Expand Down

0 comments on commit c9e0eb6

Please sign in to comment.