Skip to content

Commit 19ba402

Browse files
Update properties javadocs
Drops 'since' tag as these javadocs are used by annotation processor.
1 parent 91de14c commit 19ba402

3 files changed

Lines changed: 14 additions & 80 deletions

File tree

problem4j-spring-web/src/main/java/io/github/problem4j/spring/web/autoconfigure/ProblemProperties.java

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,58 +32,40 @@
3232
@ConfigurationProperties(prefix = "problem4j")
3333
public class ProblemProperties implements ProblemContextSettings, PostProcessorSettings {
3434

35-
/**
36-
* Decides if Problem4J integration is enabled.
37-
*
38-
* @since 1.2.0
39-
*/
35+
/** Decides if Problem4J integration is enabled. */
4036
private final boolean enabled;
4137

4238
/**
4339
* Defines the format for the {@code detail} field in Problem responses. Supported values are
4440
* {@code "lowercase"}, {@code "capitalized"}, and {@code "uppercase"}.
45-
*
46-
* @since 1.2.0
4741
*/
4842
private final String detailFormat;
4943

5044
/**
5145
* Name of the HTTP header that carries a trace ID for simple tracing provided by this library. If
5246
* unset, the feature is disabled.
53-
*
54-
* @since 1.2.0
5547
*/
5648
private final @Nullable String tracingHeaderName;
5749

5850
/**
5951
* Template for overriding the {@code type} field of a Problem response. May contain placeholders
6052
* like {@code {problem.type}} and {@code {context.<key>}}.
61-
*
62-
* @since 1.2.0
6353
*/
6454
private final @Nullable String typeOverride;
6555

6656
/**
6757
* Template for overriding the {@code title} field of a Problem response. May contain placeholders
6858
* like {@code {problem.title}} and {@code {context.<key>}}.
69-
*
70-
* @since 1.2.0
7159
*/
7260
private final @Nullable String titleOverride;
7361

7462
/**
7563
* Template for overriding the {@code instance} field of a Problem response. May contain
7664
* placeholders like {@code {problem.instance}} and {@code {context.<key>}} for dynamic values.
77-
*
78-
* @since 1.2.0
7965
*/
8066
private final @Nullable String instanceOverride;
8167

82-
/**
83-
* Caching configuration for resolver lookups in {@code CachingProblemResolverStore}.
84-
*
85-
* @since 1.2.0
86-
*/
68+
/** Caching configuration for resolver lookups in {@code CachingProblemResolverStore}. */
8769
private final ResolverCaching resolverCaching;
8870

8971
/**

problem4j-spring-webflux/src/main/java/io/github/problem4j/spring/webflux/autoconfigure/ProblemWebFluxProperties.java

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,46 +30,22 @@
3030
@ConfigurationProperties(prefix = "problem4j.webflux")
3131
public class ProblemWebFluxProperties {
3232

33-
/**
34-
* Whether Problem4J integration with WebFlux is enabled.
35-
*
36-
* @since 1.2.0
37-
*/
33+
/** Whether Problem4J integration with WebFlux is enabled. */
3834
private final boolean enabled;
3935

40-
/**
41-
* Configuration for {@code ExceptionWebFluxAdvice}.
42-
*
43-
* @since 1.2.0
44-
*/
36+
/** Configuration for {@code ExceptionWebFluxAdvice}. */
4537
private final ExceptionAdvice exceptionAdvice;
4638

47-
/**
48-
* Configuration for {@code ProblemExceptionWebFluxAdvice}.
49-
*
50-
* @since 1.2.0
51-
*/
39+
/** Configuration for {@code ProblemExceptionWebFluxAdvice}. */
5240
private final ProblemExceptionAdvice problemExceptionAdvice;
5341

54-
/**
55-
* Configuration for {@code ProblemContextWebFluxFilter}.
56-
*
57-
* @since 1.2.0
58-
*/
42+
/** Configuration for {@code ProblemContextWebFluxFilter}. */
5943
private final ProblemContextFilter problemContextFilter;
6044

61-
/**
62-
* Configuration for {@code ProblemEnhancedWebFluxHandler} replacement.
63-
*
64-
* @since 1.2.0
65-
*/
45+
/** Configuration for {@code ProblemEnhancedWebFluxHandler} replacement. */
6646
private final ExceptionHandler exceptionHandler;
6747

68-
/**
69-
* Configuration for {@code ProblemErrorWebExceptionHandler} replacement.
70-
*
71-
* @since 1.2.0
72-
*/
48+
/** Configuration for {@code ProblemErrorWebExceptionHandler} replacement. */
7349
private final ErrorWebExceptionHandler errorWebExceptionHandler;
7450

7551
/**

problem4j-spring-webmvc/src/main/java/io/github/problem4j/spring/webmvc/autoconfigure/ProblemWebMvcProperties.java

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,46 +30,22 @@
3030
@ConfigurationProperties(prefix = "problem4j.webmvc")
3131
public class ProblemWebMvcProperties {
3232

33-
/**
34-
* Whether Problem4J integration with WebMVC is enabled.
35-
*
36-
* @since 1.2.0
37-
*/
33+
/** Whether Problem4J integration with WebMVC is enabled. */
3834
private final boolean enabled;
3935

40-
/**
41-
* Configuration for {@code ExceptionWebMvcAdvice}.
42-
*
43-
* @since 1.2.0
44-
*/
36+
/** Configuration for {@code ExceptionWebMvcAdvice}. */
4537
private final ExceptionAdvice exceptionAdvice;
4638

47-
/**
48-
* Configuration for {@code ProblemExceptionWebMvcAdvice}.
49-
*
50-
* @since 1.2.0
51-
*/
39+
/** Configuration for {@code ProblemExceptionWebMvcAdvice}. */
5240
private final ProblemExceptionAdvice problemExceptionAdvice;
5341

54-
/**
55-
* Configuration for {@code ProblemContextWebMvcFilter}.
56-
*
57-
* @since 1.2.0
58-
*/
42+
/** Configuration for {@code ProblemContextWebMvcFilter}. */
5943
private final ProblemContextFilter problemContextFilter;
6044

61-
/**
62-
* Configuration for {@code ProblemEnhancedWebMvcHandler} replacement.
63-
*
64-
* @since 1.2.0
65-
*/
45+
/** Configuration for {@code ProblemEnhancedWebMvcHandler} replacement. */
6646
private final ExceptionHandler exceptionHandler;
6747

68-
/**
69-
* Configuration for {@code ProblemErrorController} replacement.
70-
*
71-
* @since 1.2.0
72-
*/
48+
/** Configuration for {@code ProblemErrorController} replacement. */
7349
private final ErrorController errorController;
7450

7551
/**

0 commit comments

Comments
 (0)