Skip to content

Commit f7aed1a

Browse files
Unify hyphens in javadocs
1 parent a027d62 commit f7aed1a

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

problem4j-core/src/main/java/io/github/problem4j/core/AbstractProblem.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
* as:
4242
*
4343
* <ul>
44-
* <li>{@code type} a URI identifying the type of the problem
45-
* <li>{@code title} a short, human-readable summary of the problem
46-
* <li>{@code status} the HTTP status code generated for this problem
47-
* <li>{@code detail} a human-readable explanation specific to this occurrence
48-
* <li>{@code instance} a URI identifying the specific occurrence of the problem
44+
* <li>{@code type} - a URI identifying the type of the problem
45+
* <li>{@code title} - a short, human-readable summary of the problem
46+
* <li>{@code status} - the HTTP status code generated for this problem
47+
* <li>{@code detail} - a human-readable explanation specific to this occurrence
48+
* <li>{@code instance} - a URI identifying the specific occurrence of the problem
4949
* </ul>
5050
*
5151
* In addition, custom extensions can be added to provide extra context.
@@ -161,7 +161,7 @@ public boolean hasExtension(String extension) {
161161
/**
162162
* Returns a map of all extension members.
163163
*
164-
* <p>This method provides a complete view of all extension keyvalue pairs, which is useful when
164+
* <p>This method provides a complete view of all extension key-value pairs, which is useful when
165165
* callers need to handle extensions in bulk rather than querying them individually. It
166166
* complements {@link #getExtensionValue(String)} and {@link #hasExtension(String)} by exposing
167167
* the full extension payload at once.

problem4j-core/src/main/java/io/github/problem4j/core/Problem.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
* as:
3333
*
3434
* <ul>
35-
* <li>{@code type} a URI identifying the type of the problem
36-
* <li>{@code title} a short, human-readable summary of the problem
37-
* <li>{@code status} the HTTP status code generated for this problem
38-
* <li>{@code detail} a human-readable explanation specific to this occurrence
39-
* <li>{@code instance} a URI identifying the specific occurrence of the problem
35+
* <li>{@code type} - a URI identifying the type of the problem
36+
* <li>{@code title} - a short, human-readable summary of the problem
37+
* <li>{@code status} - the HTTP status code generated for this problem
38+
* <li>{@code detail} - a human-readable explanation specific to this occurrence
39+
* <li>{@code instance} - a URI identifying the specific occurrence of the problem
4040
* </ul>
4141
*
4242
* In addition, custom extensions can be added to provide extra context.
@@ -122,7 +122,7 @@ static Extension extension(String key, Object value) {
122122
/**
123123
* Returns a map of all extension members.
124124
*
125-
* <p>This method provides a complete view of all extension keyvalue pairs, which is useful when
125+
* <p>This method provides a complete view of all extension key-value pairs, which is useful when
126126
* callers need to handle extensions in bulk rather than querying them individually. It
127127
* complements {@link #getExtensionValue(String)} and {@link #hasExtension(String)} by exposing
128128
* the full extension payload at once.

problem4j-core/src/main/java/io/github/problem4j/core/ProblemStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
* 207 Multi-Status, 422 Unprocessable Entity, 423 Locked, 424 Failed Dependency.
6161
* <li><b>1999-06</b> - RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1 (Obsoleted) (<a
6262
* href="https://datatracker.ietf.org/doc/html/rfc2616">link</a>) - core set:
63-
* 100,101,200206,300305,400417,500505.
63+
* 100,101,200-206,300-305,400-417,500-505.
6464
* <li><b>2000-02</b> - RFC 2774: An HTTP Extension Framework (<a
6565
* href="https://datatracker.ietf.org/doc/html/rfc2774">link</a>) - adds 510 Not Extended.
6666
* <li><b>2002-01</b> - RFC 3229: Delta encoding in HTTP (<a

0 commit comments

Comments
 (0)