Skip to content

Commit 7859b63

Browse files
committed
Fix Javadoc generation warnings.
1 parent 17cc0ea commit 7859b63

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/main/java/com/github/fge/jsonschema/format/AbstractFormatAttribute.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public final EnumSet<NodeType> supportedTypes()
7272
* Return a new message for this format attribute
7373
*
7474
* @param data the validation context
75+
* @param bundle the format bundle
7576
* @param key key in the format bundle message
7677
* @return a new message
7778
*/

src/main/java/com/github/fge/jsonschema/format/common/RFC3339DateTimeAttribute.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@
1818
import com.google.common.collect.ImmutableList;
1919

2020
/**
21-
* A {@link DateTimeFormatter} for date and time format defined in RFC3339.
22-
* @see <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 - Section 5.6</a>
21+
* A {@link DateTimeFormatter} for date and time format defined in RFC3339.
2322
*
2423
* This is backwards incompat with the original DateTimeAttribute. It will become the default in the future
2524
* to use it currently you need to:
2625
* Library library = DraftV4Library.get().thaw()
2726
* .addFormatAttribute("date-time", RFC3339DateTimeAttribute.getInstance())
2827
* .freeze();
2928
* Then follow the rest of the steps in example 8 to hook it into your flow.
29+
*
30+
* @see <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 - Section 5.6</a>
3031
*/
3132
public class RFC3339DateTimeAttribute extends AbstractFormatAttribute {
3233

src/main/java/com/github/fge/jsonschema/keyword/validator/helpers/NumericValidator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ public final void validate(final Processor<FullData, FullData> processor,
7777
* @param report the validation report
7878
* @param bundle the message bundle to use
7979
* @param data the validation data
80-
*/
80+
* @throws ProcessingException a processing error occurred during validation
81+
*/
8182
protected abstract void validateLong(final ProcessingReport report,
8283
final MessageBundle bundle, final FullData data)
8384
throws ProcessingException;
@@ -89,6 +90,7 @@ protected abstract void validateLong(final ProcessingReport report,
8990
* @param report the validation report
9091
* @param bundle the message bundle to use
9192
* @param data the validation data
93+
* @throws ProcessingException a processing error occurred during validation
9294
*/
9395
protected abstract void validateDecimal(final ProcessingReport report,
9496
final MessageBundle bundle, final FullData data)

0 commit comments

Comments
 (0)