Skip to content

Commit 459114e

Browse files
Fix properties javadocs
1 parent 3d587a5 commit 459114e

3 files changed

Lines changed: 12 additions & 62 deletions

File tree

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,7 @@ private static ResolverCaching createDefault() {
251251
return new ResolverCaching(DEFAULT_ENABLED);
252252
}
253253

254-
/**
255-
* Indicates whether resolver lookup caching is enabled.
256-
*
257-
* @since 1.2.0
258-
*/
254+
/** Indicates whether resolver lookup caching is enabled. */
259255
private final boolean enabled;
260256

261257
/**

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

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,7 @@ private static ExceptionAdvice createDefault() {
191191
return new ExceptionAdvice(DEFAULT_ENABLED);
192192
}
193193

194-
/**
195-
* Whether the {@code ExceptionWebFluxAdvice} bean should be registered.
196-
*
197-
* @since 1.2.0
198-
*/
194+
/** Whether the {@code ExceptionWebFluxAdvice} bean should be registered. */
199195
private final boolean enabled;
200196

201197
/**
@@ -249,11 +245,7 @@ private static ProblemExceptionAdvice createDefault() {
249245
return new ProblemExceptionAdvice(DEFAULT_ENABLED);
250246
}
251247

252-
/**
253-
* Whether the {@code ProblemExceptionWebFluxAdvice} bean should be registered.
254-
*
255-
* @since 1.2.0
256-
*/
248+
/** Whether the {@code ProblemExceptionWebFluxAdvice} bean should be registered. */
257249
private final boolean enabled;
258250

259251
/**
@@ -307,11 +299,7 @@ private static ProblemContextFilter createDefault() {
307299
return new ProblemContextFilter(DEFAULT_ENABLED);
308300
}
309301

310-
/**
311-
* Whether the {@code ProblemContextWebFluxFilter} bean should be registered.
312-
*
313-
* @since 1.2.0
314-
*/
302+
/** Whether the {@code ProblemContextWebFluxFilter} bean should be registered. */
315303
private final boolean enabled;
316304

317305
/**
@@ -365,11 +353,7 @@ private static ExceptionHandler createDefault() {
365353
return new ExceptionHandler(DEFAULT_ENABLED);
366354
}
367355

368-
/**
369-
* Whether the {@code ProblemEnhancedWebFluxHandler} should be registered.
370-
*
371-
* @since 1.2.0
372-
*/
356+
/** Whether the {@code ProblemEnhancedWebFluxHandler} should be registered. */
373357
private final boolean enabled;
374358

375359
/**
@@ -409,29 +393,19 @@ public boolean isEnabled() {
409393
*/
410394
public static class ErrorWebExceptionHandler {
411395

412-
/**
413-
* Default enabled value for {@code ErrorWebExceptionHandler} configuration group.
414-
*
415-
* @since 1.2.0
416-
*/
396+
/** Default enabled value for {@code ErrorWebExceptionHandler} configuration group. */
417397
public static final boolean DEFAULT_ENABLED = true;
418398

419399
/**
420400
* Default enabled value as a string for {@code ErrorWebExceptionHandler} configuration group.
421-
*
422-
* @since 1.2.0
423401
*/
424402
public static final String DEFAULT_ENABLED_VALUE = "true";
425403

426404
private static ErrorWebExceptionHandler createDefault() {
427405
return new ErrorWebExceptionHandler(DEFAULT_ENABLED);
428406
}
429407

430-
/**
431-
* Whether the {@code ProblemErrorWebExceptionHandler} should be registered.
432-
*
433-
* @since 1.2.0
434-
*/
408+
/** Whether the {@code ProblemErrorWebExceptionHandler} should be registered. */
435409
private final boolean enabled;
436410

437411
/**

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

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,7 @@ private static ExceptionAdvice createDefault() {
188188
return new ExceptionAdvice(DEFAULT_ENABLED);
189189
}
190190

191-
/**
192-
* Whether the {@code ExceptionWebMvcAdvice} bean should be registered.
193-
*
194-
* @since 1.2.0
195-
*/
191+
/** Whether the {@code ExceptionWebMvcAdvice} bean should be registered. */
196192
private final boolean enabled;
197193

198194
/**
@@ -246,11 +242,7 @@ private static ProblemExceptionAdvice createDefault() {
246242
return new ProblemExceptionAdvice(DEFAULT_ENABLED);
247243
}
248244

249-
/**
250-
* Whether the {@code ProblemExceptionWebMvcAdvice} bean should be registered.
251-
*
252-
* @since 1.2.0
253-
*/
245+
/** Whether the {@code ProblemExceptionWebMvcAdvice} bean should be registered. */
254246
private final boolean enabled;
255247

256248
/**
@@ -304,11 +296,7 @@ private static ProblemContextFilter createDefault() {
304296
return new ProblemContextFilter(DEFAULT_ENABLED);
305297
}
306298

307-
/**
308-
* Whether the {@code ProblemContextWebMvcFilter} bean should be registered.
309-
*
310-
* @since 1.2.0
311-
*/
299+
/** Whether the {@code ProblemContextWebMvcFilter} bean should be registered. */
312300
private final boolean enabled;
313301

314302
/**
@@ -362,11 +350,7 @@ private static ExceptionHandler createDefault() {
362350
return new ExceptionHandler(DEFAULT_ENABLED);
363351
}
364352

365-
/**
366-
* Whether the {@code ProblemEnhancedWebMvcHandler} should be registered.
367-
*
368-
* @since 1.2.0
369-
*/
353+
/** Whether the {@code ProblemEnhancedWebMvcHandler} should be registered. */
370354
private final boolean enabled;
371355

372356
/**
@@ -424,11 +408,7 @@ private static ErrorController createDefault() {
424408
return new ErrorController(DEFAULT_ENABLED);
425409
}
426410

427-
/**
428-
* Whether the {@code ProblemErrorController} should be registered.
429-
*
430-
* @since 1.2.0
431-
*/
411+
/** Whether the {@code ProblemErrorController} should be registered. */
432412
private final boolean enabled;
433413

434414
/**

0 commit comments

Comments
 (0)