Skip to content

Commit c7f7b45

Browse files
🪴 code cleaned
1 parent e12a0fb commit c7f7b45

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
43
<modelVersion>4.0.0</modelVersion>
54
<groupId>com.contentstack</groupId>
65
<artifactId>cms</artifactId>
76
<name>contentstack-management-java</name>
8-
<version>0.0.1-SNAPSHOT</version>
7+
<version>0.0.1</version>
98
<description>Contentstack Java Management SDK for Content Management API,
109
Contentstack is a headless CMS with an API-first approach
1110
</description>
@@ -22,7 +21,7 @@
2221
<connection>scm:git:git://github.com/contentstack/contentstack-management-java.git</connection>
2322
<developerConnection>scm:git:ssh://github.com:contentstack/contentstack-management-java.git
2423
</developerConnection>
25-
<tag>HEAD</tag>
24+
<tag>v0.0.1-alpha</tag>
2625
</scm>
2726

2827
<issueManagement>
@@ -343,7 +342,7 @@
343342
</goals>
344343
</pluginExecutionFilter>
345344
<action>
346-
<ignore/>
345+
<ignore />
347346
</action>
348347
</pluginExecution>
349348
</pluginExecutions>

src/main/java/com/contentstack/cms/stack/Extensions.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
* <p>
2020
* You can now pass the branch header in the API request to fetch or manage modules located within specific branches of
2121
* the stack. Additionally, you can also set the include_branch query parameter to true to include the _branch top-level
22-
* key in the response. This key specifies the unique ID of the branch where the concerned Contentstack module resides.
22+
* key in the response.
23+
* This key specifies the unique ID of the branch where the concerned Contentstack module resides.
2324
*
2425
* @author ***REMOVED***
2526
* @version 1.0.0
@@ -99,10 +100,10 @@ public Call<ResponseBody> get(@NotNull String customFieldUid, Map<String, Object
99100
* @param body
100101
* In the ‘Body’ section, you need to provide the following ‘Body’ parameters under ‘form-data’
101102
* <pre>
102-
* Use like: Map<String, RequestBody> params = new HashMap<>();
103-
* prepare RequestBody RequestBody someDataBody = ....;
104-
* add it Map object params.put("DYNAMIC_PARAM_NAME", someDataBody);
105-
* </pre>
103+
* Use like: Map<String, RequestBody> params = new HashMap<>();
104+
* prepare RequestBody RequestBody someDataBody = ....;
105+
* add it Map object params.put("DYNAMIC_PARAM_NAME", someDataBody);
106+
* </pre>
106107
* @return Call
107108
*/
108109
public Call<ResponseBody> uploadCustomField(Map<String, RequestBody> body, Map<String, Object> queryParam) {
@@ -130,10 +131,10 @@ public Call<ResponseBody> uploadCustomField(Map<String, RequestBody> body, Map<S
130131
* @param body
131132
* In the ‘Body’ section, you need to provide the following ‘Body’ parameters under ‘form-data’
132133
* <pre>
133-
* Use like: Map<String, RequestBody> params = new HashMap<>();
134-
* //prepare RequestBody RequestBody someDataBody = ....;
135-
* //add it Map object params.put("DYNAMIC_PARAM_NAME", someDataBody);
136-
* </pre>
134+
* Use like: Map<String, RequestBody> params = new HashMap<>();
135+
* //prepare RequestBody RequestBody someDataBody = ....;
136+
* //add it Map object params.put("DYNAMIC_PARAM_NAME", someDataBody);
137+
* </pre>
137138
* @return Call
138139
*/
139140
public Call<ResponseBody> uploadCustomField(Map<String, Object> queryParam, JSONObject body) {

src/test/java/com/contentstack/cms/stack/TokenUnitTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import org.junit.jupiter.api.*;
1111

1212
import java.util.HashMap;
13-
import java.util.Map;
1413

1514
@Tag("unit")
1615
class TokenUnitTest {

0 commit comments

Comments
 (0)