Skip to content

Commit 93705b9

Browse files
Merge pull request #83 from contentstack/next
Next: Updated Utils SDK in Contentstack-Java SDK.
2 parents e1970a2 + d93438e commit 93705b9

File tree

4 files changed

+57
-61
lines changed

4 files changed

+57
-61
lines changed

pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.contentstack.sdk</groupId>
77
<artifactId>java</artifactId>
8-
<version>1.12.0-SNAPSHOT</version>
8+
<version>1.12.1-SNAPSHOT</version>
99
<packaging>jar</packaging>
1010
<name>contentstack-java</name>
1111
<description>Java SDK for Contentstack Content Delivery API</description>
@@ -19,13 +19,13 @@
1919
<surefire-report-plugin.version>2.22.0</surefire-report-plugin.version>
2020
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
2121
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
22-
<dotenv-source.version>2.3.2</dotenv-source.version>
22+
<dotenv-source.version>3.0.0</dotenv-source.version>
2323
<rxjava-source.version>3.1.6</rxjava-source.version>
2424
<retrofit-source.version>2.9.0</retrofit-source.version>
2525
<converter-gson-source.version>2.9.0</converter-gson-source.version>
26-
<loggin.version>4.10.0</loggin.version>
26+
<loggin.version>4.11.0</loggin.version>
2727
<jococo-plugin.version>0.8.5</jococo-plugin.version>
28-
<lombok-source.version>1.18.26</lombok-source.version>
28+
<lombok-source.version>1.18.28</lombok-source.version>
2929
<junit-jupiter.version>5.9.2</junit-jupiter.version>
3030
<junit-jupiter-engine.version>5.8.0-M1</junit-jupiter-engine.version>
3131
<gson.version>2.8.8</gson.version>
@@ -37,7 +37,7 @@
3737
<json-version>20230227</json-version>
3838
<jacoco-maven-plugin-version>0.8.7</jacoco-maven-plugin-version>
3939
<maven-release-plugin-version>2.5.3</maven-release-plugin-version>
40-
<contentstack-utils-version>1.2.0</contentstack-utils-version>
40+
<contentstack-utils-version>1.2.2</contentstack-utils-version>
4141
</properties>
4242

4343
<parent>

src/main/java/com/contentstack/sdk/Config.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public Proxy getProxy() {
7878
* @param keepAliveDuration
7979
* the keepAliveDuration default value is 5
8080
* @param timeUnit
81-
* the timeUnit default value is TimeUnit.MINUTES
81+
* the timeUnit default value is TimeUnit. MINUTES
8282
* @return ConnectionPool
8383
*/
8484
public ConnectionPool connectionPool(int maxIdleConnections, long keepAliveDuration, TimeUnit timeUnit) {

src/main/java/com/contentstack/sdk/Constants.java

+5-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
public class Constants {
2222

2323
private static final Logger logger = Logger.getLogger(Constants.class.getSimpleName());
24-
protected static final String SDK_VERSION = "1.11.0";
24+
protected static final String SDK_VERSION = "1.12.1";
2525
protected static final String ENVIRONMENT = "environment";
2626
protected static final String CONTENT_TYPE_UID = "content_type_uid";
2727
protected static final String ENTRY_UID = "entry_uid";
@@ -71,9 +71,9 @@ public enum REQUEST_CONTROLLER {
7171

7272
/**
7373
* @param dateString
74-
* the date in string format
74+
* the date in string format
7575
* @param zoneId
76-
* the string zoneId
76+
* the string zoneId
7777
* @return Calendar
7878
*/
7979
public static Calendar parseDateToTimeZone(@NotNull String dateString, @NotNull String zoneId) {
@@ -99,10 +99,9 @@ private static Calendar toCalendar(@NotNull String date) {
9999

100100
/**
101101
* @param date
102-
* The date in string format like (String dateString =
103-
* "2016-12-16T12:36:33.961Z";)
102+
* The date in string format like (String dateString = "2016-12-16T12:36:33.961Z";)
104103
* @param timeZone
105-
* the time zone as string
104+
* the time zone as string
106105
* @return calendar @{@link Calendar}
107106
*/
108107
public static Calendar parseDate(@NotNull String date, TimeZone timeZone) {

0 commit comments

Comments
 (0)