Skip to content

Commit 26e5da7

Browse files
refactor: clean up documentation and remove unnecessary whitespace in GlobalField class
1 parent bf9005f commit 26e5da7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@
99
import java.util.logging.Logger;
1010

1111
/**
12-
* <a href=
13-
* "https://www.contentstack.com/docs/developers/apis/content-delivery-api/#single-content-type">ContentType</a>
14-
* This
15-
* call returns information of a specific global field. It returns the global
16-
* field schema, but does not include its
17-
* entries.
12+
* This call returns information of a specific global field. It returns the
13+
* global field schema.
1814
*
1915
*/
2016
public class GlobalField {
@@ -63,6 +59,7 @@ public void removeHeader(String headerKey) {
6359
this.headers.remove(headerKey);
6460
}
6561
}
62+
6663
/**
6764
* Fetch.
6865
*
@@ -103,7 +100,6 @@ private void fetchGlobalFields(String urlString, JSONObject params, HashMap<Stri
103100
}
104101
}
105102

106-
107103
private HashMap<String, Object> getUrlParams(JSONObject urlQueriesJSON) {
108104
HashMap<String, Object> hashMap = new HashMap<>();
109105
if (urlQueriesJSON != null && urlQueriesJSON.length() > 0) {

0 commit comments

Comments
 (0)