@@ -330,7 +330,7 @@ public void getContentTypes(JSONObject params, final ContentTypesCallback callba
330330 if (params == null ) {
331331 params = new JSONObject ();
332332 }
333- Iterator keys = params .keys ();
333+ Iterator < String > keys = params .keys ();
334334 while (keys .hasNext ()) {
335335 // loop to get the dynamic key
336336 String key = (String ) keys .next ();
@@ -378,9 +378,9 @@ private void fetchContentTypes(String urlString, JSONObject urlQueries, ArrayMap
378378 * <br><br><b>Example :</b><br>
379379 * <pre class="prettyprint">
380380 *
381- * stack.sync(SyncResultCallBack syncCallBack){ }
381+ * stack.sync(SyncResultCallBack syncCallBack){ }
382382 *
383- * </pre>
383+ * </pre>
384384 */
385385
386386 public void sync (SyncResultCallBack syncCallBack ) {
@@ -413,8 +413,8 @@ public void sync(SyncResultCallBack syncCallBack) {
413413 *
414414 * <br><br><b>Example :</b><br>
415415 * <pre class="prettyprint">
416- * stack.syncPaginationToken(pagination_token, new SyncResultCallBack()) {}
417- * </pre>
416+ * stack.syncPaginationToken(pagination_token, new SyncResultCallBack()) {}
417+ * </pre>
418418 */
419419 public void syncPaginationToken (String pagination_token , SyncResultCallBack syncCallBack ) {
420420 this .pagination_token = pagination_token ;
@@ -442,9 +442,9 @@ public void syncPaginationToken(String pagination_token, SyncResultCallBack sync
442442 * and the details of the content that was deleted or updated.
443443 * <br><br><b>Example :</b><br>
444444 * <pre class="prettyprint">
445- * stack.syncToken(sync_token, new SyncResultCallBack() ){ }
445+ * stack.syncToken(sync_token, new SyncResultCallBack() ){ }
446446 *
447- * </pre>
447+ * </pre>
448448 */
449449 public void syncToken (String sync_token , SyncResultCallBack syncCallBack ) {
450450
@@ -472,8 +472,8 @@ public void syncToken(String sync_token, SyncResultCallBack syncCallBack) {
472472 *
473473 * <br><br><b>Example :</b><br>
474474 * <pre class="prettyprint">
475- * stack.syncFromDate(start_date, new SyncResultCallBack()) { }
476- * </pre>
475+ * stack.syncFromDate(start_date, new SyncResultCallBack()) { }
476+ * </pre>
477477 */
478478 public void syncFromDate (Date from_date , SyncResultCallBack syncCallBack ) {
479479 startFromDate = convertUTCToISO (from_date );
@@ -511,10 +511,10 @@ private String convertUTCToISO(Date date) {
511511 * <br><br><b>Example :</b><br>
512512 * <pre class="prettyprint">
513513 *
514- * // dummy content_type like "session"
515- * stack.syncContentType(String content_type, new SyncResultCallBack()){ }
514+ * // dummy content_type like "session"
515+ * stack.syncContentType(String content_type, new SyncResultCallBack()){ }
516516 *
517- * </pre>
517+ * </pre>
518518 */
519519 public void syncContentType (String content_type , SyncResultCallBack syncCallBack ) {
520520
@@ -606,9 +606,9 @@ private String getLanguageCode(Language language) {
606606 * <br><br><b>Example :</b><br>
607607 * <pre class="prettyprint">
608608 *
609- * stackInstance.syncPublishType(Stack.PublishType.entry_published, new SyncResultCallBack()) { }
609+ * stackInstance.syncPublishType(Stack.PublishType.entry_published, new SyncResultCallBack()) { }
610610 *
611- * </pre>
611+ * </pre>
612612 */
613613
614614 public void syncPublishType (PublishType type , SyncResultCallBack syncCallBack ) {
0 commit comments