This repository was archived by the owner on Oct 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/hellosign/sdk Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 <groupId >com.hellosign</groupId >
77 <artifactId >hellosign-java-sdk</artifactId >
88 <packaging >jar</packaging >
9- <version >3.2.0 </version >
9+ <version >3.2.1 </version >
1010 <name >HelloSign Java SDK</name >
1111 <url >https://github.com/HelloFax/hellosign-java-sdk</url >
1212 <properties >
Original file line number Diff line number Diff line change @@ -157,16 +157,16 @@ public class HelloSignClient {
157157 private HelloSignClient () {
158158 URL_HELLOSIGN = URL_API_BASE ;
159159 String baseUrl = System .getProperty ("hellosign.base.url" );
160- if (!baseUrl .isEmpty ()) {
160+ if (baseUrl != null && !baseUrl .isEmpty ()) {
161161 URL_HELLOSIGN = baseUrl ;
162162 }
163163 URL_OAUTH_TOKEN = URL_OAUTH_TOKEN_PRODUCTION ;
164164 String customOauthToken = System .getProperty ("hellosign.oauth.base.url" );
165- if (!customOauthToken .isEmpty ()) {
165+ if (customOauthToken != null && !customOauthToken .isEmpty ()) {
166166 URL_OAUTH_TOKEN = customOauthToken ;
167167 }
168168 String disableSslCheck = System .getProperty ("hellosign.disable.ssl" );
169- if ("true" .equalsIgnoreCase (disableSslCheck )) {
169+ if (disableSslCheck != null && "true" .equalsIgnoreCase (disableSslCheck )) {
170170 disableStrictSSL ();
171171 }
172172 initApiEndpoints ();
You can’t perform that action at this time.
0 commit comments