File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed
src/main/java/com/github/lightlibs/simplehttpwrapper Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >com.github.lightlibs</groupId >
88 <artifactId >SimpleHttpWrapper</artifactId >
9- <version >0.0.2 </version >
9+ <version >0.0.3 </version >
1010
1111 <build >
1212 <plugins >
1313 <plugin >
1414 <groupId >org.apache.maven.plugins</groupId >
1515 <artifactId >maven-compiler-plugin</artifactId >
1616 <configuration >
17- <source >16 </source >
18- <target >16 </target >
17+ <source >8 </source >
18+ <target >8 </target >
1919 </configuration >
2020 </plugin >
2121 </plugins >
Original file line number Diff line number Diff line change 11package com .github .lightlibs .simplehttpwrapper ;
22
3- public record SimpleHttpResponse (int statusCode , String data ) {}
3+ public class SimpleHttpResponse {
4+
5+ private final int statusCode ;
6+ private final String data ;
7+
8+ public SimpleHttpResponse (int statusCode , String data ) {
9+ this .statusCode = statusCode ;
10+ this .data = data ;
11+ }
12+
13+ public int getStatusCode () {
14+ return statusCode ;
15+ }
16+
17+ public String getData () {
18+ return data ;
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments