From 66b0a6cb8961eb96105bfde4d29144f0a90e7a75 Mon Sep 17 00:00:00 2001 From: Lukas Jungmann Date: Thu, 26 Oct 2023 16:12:05 +0200 Subject: [PATCH] improve code samples in javadoc Signed-off-by: Lukas Jungmann --- .../jakarta/annotation/PostConstruct.java | 8 +- .../java/jakarta/annotation/PreDestroy.java | 6 +- .../annotation/sql/DataSourceDefinition.java | 93 +++++++++---------- 3 files changed, 53 insertions(+), 54 deletions(-) diff --git a/api/src/main/java/jakarta/annotation/PostConstruct.java b/api/src/main/java/jakarta/annotation/PostConstruct.java index ea1784a..e8cef7f 100644 --- a/api/src/main/java/jakarta/annotation/PostConstruct.java +++ b/api/src/main/java/jakarta/annotation/PostConstruct.java @@ -30,7 +30,7 @@ * not request any resources to be injected. Only one * method in a given class can be annotated with this annotation. * The method on which the {@code PostConstruct} annotation is - * applied must fulfill all of the following criteria: + * applied must fulfill all the following criteria: *