File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -40,20 +40,20 @@ It is intended to be used as a **foundation** for other libraries or application
4040import io.github.malczuuu.problem4j.Problem ;
4141import io.github.malczuuu.problem4j.ProblemException ;
4242
43- public class Class {
44-
45- public void method () {
46- Problem problem =
47- Problem . builder()
48- .type(" https://example.com/errors/invalid-request" )
49- .title(" Invalid Request" )
50- .status(400 )
51- .detail(" not a valid json" )
52- .instance(" https://example.com/instances/1234" )
53- .build();
54-
55- throw new ProblemException (problem);
56- }
43+ public class ExampleClass {
44+
45+ public void method () {
46+ Problem problem =
47+ Problem . builder()
48+ .type(" https://example.com/errors/invalid-request" )
49+ .title(" Invalid Request" )
50+ .status(400 )
51+ .detail(" not a valid json" )
52+ .instance(" https://example.com/instances/1234" )
53+ .build();
54+
55+ throw new ProblemException (problem);
56+ }
5757}
5858```
5959
You can’t perform that action at this time.
0 commit comments