File tree Expand file tree Collapse file tree
src/main/java/com/trolley/trolley Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Add this dependency to your project's POM:
2020<dependency >
2121 <groupId >com.trolley</groupId >
2222 <artifactId >java-sdk</artifactId >
23- <version >1.1.2 </version >
23+ <version >1.1.3 </version >
2424</dependency >
2525```
2626
Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >com.trolley</groupId >
55 <artifactId >java-sdk</artifactId >
6- <version >1.1.2 </version >
6+ <version >1.1.3 </version >
77 <description >Java SDK for Trolley API</description >
88 <packaging >jar</packaging >
99 <name >Trolley Java SDK</name >
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public String post(final String endPoint) throws Exception {
130130 public String patch (final String endPoint , final String body ) throws Exception {
131131 String StringResponse = "" ;
132132 try {
133- final HttpClient httpclient = (HttpClient )HttpClients .createDefault ();
133+ final HttpClient httpclient = (HttpClient )HttpClients .createSystem ();
134134 final HttpPatch httpPatch = new HttpPatch (this .config .getApiBase () + endPoint );
135135 final StringEntity params = new StringEntity (body );
136136 final int timeStamp = (int )(System .currentTimeMillis () / 1000L );
Original file line number Diff line number Diff line change 66public class Version {
77 public static int MAJOR = 1 ;
88 public static int MINOR = 1 ;
9- public static int PATCH = 2 ;
9+ public static int PATCH = 3 ;
1010}
You can’t perform that action at this time.
0 commit comments