Skip to content

Commit 8e11d03

Browse files
Update README.md
1 parent 56d25b2 commit 8e11d03

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ import io.github.malczuuu.problem4j.core.Problem;
4040
import io.github.malczuuu.problem4j.core.ProblemException;
4141

4242
Problem problem =
43-
Problem.builder()
44-
.type("https://example.com/errors/invalid-request")
45-
.title("Invalid Request")
46-
.status(400)
47-
.detail("not a valid json")
48-
.instance("https://example.com/instances/1234")
49-
.build();
43+
Problem.builder()
44+
.type("https://example.com/errors/invalid-request")
45+
.title("Invalid Request")
46+
.status(400)
47+
.detail("not a valid json")
48+
.instance("https://example.com/instances/1234")
49+
.build();
5050
throw new ProblemException(problem);
5151
```
5252

@@ -61,14 +61,14 @@ higher is required to use this library.
6161
<dependency>
6262
<groupId>io.github.malczuuu.problem4j</groupId>
6363
<artifactId>problem4j-core</artifactId>
64-
<version>1.2.1</version>
64+
<version>1.2.2</version>
6565
</dependency>
6666
</dependencies>
6767
```
6868
2. Gradle (Groovy or Kotlin DSL):
6969
```groovy
7070
dependencies {
71-
implementation("io.github.malczuuu.problem4j:problem4j-core:1.2.1")
71+
implementation("io.github.malczuuu.problem4j:problem4j-core:1.2.2")
7272
}
7373
```
7474

0 commit comments

Comments
 (0)