Skip to content

Commit 7f7f39c

Browse files
v1.0.0 - Removed Support Of Marketplace
1 parent f743acf commit 7f7f39c

File tree

19 files changed

+524
-322
lines changed

19 files changed

+524
-322
lines changed

changelog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
## v1.0.0
44

5-
### Jul 12, 2023
6-
- Bug Fixed For Unlocalize An Entry
5+
### Aug 01, 2023
6+
- Bug Fixed For un-localize An Entry
77
- Fixed Timeout Issue
8+
- #32 Fixed issue of Asset upload does not allow specifying attributes
89
- Code coverage improvements
910
- NRP support added
1011
- General improvements with minor breaking changes

pom.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.contentstack.sdk</groupId>
77
<artifactId>cms</artifactId>
88
<packaging>jar</packaging>
99
<name>contentstack-management-java</name>
10-
<version>1.0.0</version>
10+
<version>0.1.1-beta</version>
1111
<description>Contentstack Java Management SDK for Content Management API, Contentstack is a headless CMS with an
1212
API-first approach
1313
</description>
@@ -30,19 +30,19 @@
3030

3131
<issueManagement>
3232
<system>GitHub Issues</system>
33-
<url>http://github.com/contentstack/contentstack-management-java/issues</url>
33+
<url>https://github.com/contentstack/contentstack-management-java/issues</url>
3434
</issueManagement>
3535

3636
<licenses>
3737
<license>
3838
<name>MIT</name>
39-
<url>http://www.opensource.org/licenses/mit-license.php</url>
39+
<url>https://www.opensource.org/licenses/mit-license.php</url>
4040
</license>
4141
</licenses>
4242

4343
<organization>
4444
<name>contentstack</name>
45-
<url>http://contentstack.com</url>
45+
<url>https://contentstack.com</url>
4646
</organization>
4747

4848
<developers>
@@ -246,7 +246,7 @@
246246
<version>${maven-site-plugin.version}</version>
247247
</plugin>
248248

249-
<!-- <plugin>
249+
<plugin>
250250
<groupId>org.apache.maven.plugins</groupId>
251251
<artifactId>maven-gpg-plugin</artifactId>
252252
<version>${maven-gpg-plugin.version}</version>
@@ -259,7 +259,7 @@
259259
</goals>
260260
</execution>
261261
</executions>
262-
</plugin> -->
262+
</plugin>
263263

264264
<plugin>
265265
<groupId>org.apache.maven.plugins</groupId>
@@ -323,7 +323,7 @@
323323

324324

325325
<!-- mvn pdf:pdf -->
326-
<!-- The Maven PDF Plugin allows you generate a PDF document of your documentation -->
326+
<!-- The Maven PDF Plugin allows you to generate a PDF document of your documentation -->
327327
<plugin>
328328
<groupId>org.apache.maven.plugins</groupId>
329329
<artifactId>maven-pdf-plugin</artifactId>
@@ -362,7 +362,7 @@
362362
</goals>
363363
</pluginExecutionFilter>
364364
<action>
365-
<ignore />
365+
<ignore/>
366366
</action>
367367
</pluginExecution>
368368
</pluginExecutions>

src/main/java/com/contentstack/cms/BaseImplementation.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package com.contentstack.cms;
22

33
import org.jetbrains.annotations.NotNull;
4+
45
import java.util.HashMap;
56

67
/**
7-
* The interface Parametron.
8+
* The interface @{@link BaseImplementation}
89
*/
910
public interface BaseImplementation {
1011

@@ -20,7 +21,7 @@ public interface BaseImplementation {
2021
* object as its value.
2122
* @return The method is returning an object of type T.
2223
*/
23-
public <T> T addParam(@NotNull String key, @NotNull Object value);
24+
<T> T addParam(@NotNull String key, @NotNull Object value);
2425

2526
/**
2627
* The function adds a header with a key-value pair to a request.
@@ -34,7 +35,7 @@ public interface BaseImplementation {
3435
* header.
3536
* @return The method is returning an object of type T.
3637
*/
37-
public <T> T addHeader(@NotNull String key, @NotNull String value);
38+
<T> T addHeader(@NotNull String key, @NotNull String value);
3839

3940
/**
4041
* The function "addParams" takes a HashMap of String keys and Object values as
@@ -47,7 +48,7 @@ public interface BaseImplementation {
4748
* annotated with @NotNull, indicating that it cannot be null.
4849
* @return The method is returning an object of type T.
4950
*/
50-
public <T> T addParams(@NotNull HashMap<String, Object> params);
51+
<T> T addParams(@NotNull HashMap<String, Object> params);
5152

5253
/**
5354
* The function adds headers to a HashMap.
@@ -57,7 +58,6 @@ public interface BaseImplementation {
5758
* is a String
5859
* representing the header name and the value is a String
5960
* representing the header value.
60-
* @return The method is returning an object of type T.
6161
*/
62-
public <T> T addHeaders(@NotNull HashMap<String, String> headers);
62+
<T> void addHeaders(@NotNull HashMap<String, String> headers);
6363
}

0 commit comments

Comments
 (0)