@@ -35,9 +35,9 @@ protected void setStackInstance(Stack stack) {
3535 * Sets header on {@link Stack}.
3636 *
3737 * @param headerKey
38- * the header key
38+ * the header key
3939 * @param headerValue
40- * the header value
40+ * the header value
4141 */
4242 public void setHeader (String headerKey , String headerValue ) {
4343 if (!headerKey .isEmpty () && !headerValue .isEmpty ()) {
@@ -49,7 +49,7 @@ public void setHeader(String headerKey, String headerValue) {
4949 * Remove header from {@link Stack}
5050 *
5151 * @param headerKey
52- * the header key
52+ * the header key
5353 */
5454 public void removeHeader (String headerKey ) {
5555 if (!headerKey .isEmpty ()) {
@@ -58,12 +58,13 @@ public void removeHeader(String headerKey) {
5858 }
5959
6060 /**
61- * An entry is the actual piece of content created using one of the defined content types.
61+ * An entry is the actual piece of content created using one of the defined
62+ * content types.
6263 * <p>
6364 * The Get a single entry request fetches a particular entry of a content type.
6465 *
6566 * @param entryUid
66- * the entry unique ID of the entry that you want to fetch.
67+ * the entry unique ID of the entry that you want to fetch.
6768 * @return the {@link Entry} entry.
6869 */
6970 public Entry entry (String entryUid ) {
@@ -81,8 +82,10 @@ protected Entry entry() {
8182 }
8283
8384 /**
84- * Query. The Get all entries request fetches the list of all the entries of a particular content type. It returns
85- * the content of each entry in JSON format. You need to specify the environment and locale of which you want to get
85+ * Query. The Get all entries request fetches the list of all the entries of a
86+ * particular content type. It returns
87+ * the content of each entry in JSON format. You need to specify the environment
88+ * and locale of which you want to get
8689 * the entries.
8790 *
8891 * <p>
@@ -94,10 +97,14 @@ protected Entry entry() {
9497 * language itself, this parameter would not be applicable.
9598 *
9699 * <p>
97- * To include the publishing details in the response, make use of the include_publish_details=true parameter. This
98- * will return the publishing details of the entry in every environment along with the version number that is
99- * published in each of the environments. You can add other Queries to extend the functionality of this API call.
100- * Add a query parameter named query and provide your query (in JSON format) as the value.
100+ * To include the publishing details in the response, make use of the
101+ * include_publish_details=true parameter. This
102+ * will return the publishing details of the entry in every environment along
103+ * with the version number that is
104+ * published in each of the environments. You can add other Queries to extend
105+ * the functionality of this API call.
106+ * Add a query parameter named query and provide your query (in JSON format) as
107+ * the value.
101108 *
102109 * @return the {@link Query}
103110 */
@@ -112,9 +119,9 @@ public Query query() {
112119 * Fetch.
113120 *
114121 * @param params
115- * the params
122+ * the params
116123 * @param callback
117- * the callback
124+ * the callback
118125 */
119126 public void fetch (@ NotNull JSONObject params , final ContentTypesCallback callback ) {
120127 String urlString = "content_types/" + contentTypeUid ;
@@ -136,7 +143,7 @@ public void fetch(@NotNull JSONObject params, final ContentTypesCallback callbac
136143 }
137144
138145 private void fetchContentTypes (String urlString , JSONObject params , HashMap <String , Object > headers ,
139- ContentTypesCallback callback ) {
146+ ContentTypesCallback callback ) {
140147 if (callback != null ) {
141148 HashMap <String , Object > urlParams = getUrlParams (params );
142149 new CSBackgroundTask (this , stackInstance , Constants .FETCHCONTENTTYPES , urlString , headers , urlParams ,
0 commit comments