File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
main/java/com/contentstack/sdk
test/java/com/contentstack/sdk Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ public void send() {
184184 private void getService (String requestUrl ) throws IOException {
185185 Retrofit retrofit = new Retrofit .Builder ().baseUrl (this .endpoint ).build ();
186186 APIService service = retrofit .create (APIService .class );
187- this .headers .put (X_USER_AGENT , CLIENT_USER_AGENT );
187+ this .headers .put (X_USER_AGENT , CLIENT_USER_AGENT );
188188 this .headers .put (CONTENT_TYPE , APPLICATION_JSON );
189189 Response <ResponseBody > response = service .getRequest (requestUrl , this .headers ).execute ();
190190 if (response .isSuccessful ()) {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class EntryModel {
2626 protected String createdBy = null ;
2727 protected Boolean isDirectory = false ;
2828 protected String [] tags = null ;
29- protected String description = null ;
29+ protected Object description = null ;
3030 protected String environment = null ;
3131 protected JSONArray images = null ;
3232 protected String locale = null ;
@@ -57,7 +57,7 @@ public EntryModel(JSONObject response) {
5757 this .url = (String ) this .jsonObject .opt (urlKey );
5858 }
5959 if (this .jsonObject .has ("description" )) {
60- this .description = ( String ) this .jsonObject .opt ("description" );
60+ this .description = this .jsonObject .opt ("description" );
6161 }
6262
6363 this .images = (JSONArray ) this .jsonObject .opt ("images" );
Original file line number Diff line number Diff line change 33import org .junit .jupiter .api .Assertions ;
44import org .junit .jupiter .api .Test ;
55
6- class AzureRegionTest {
6+ class TestAzureRegion {
77
88 @ Test
99 void testAzureRegion () {
Original file line number Diff line number Diff line change 1616
1717@ TestInstance (TestInstance .Lifecycle .PER_CLASS )
1818@ TestMethodOrder (MethodOrderer .OrderAnnotation .class )
19- class QueryTestCase {
19+ class TestQueryCase {
2020
21- private final Logger logger = Logger .getLogger (QueryTestCase .class .getName ());
21+ private final Logger logger = Logger .getLogger (TestQueryCase .class .getName ());
2222 private Stack stack ;
2323 private Query query ;
2424 private String entryUid ;
You can’t perform that action at this time.
0 commit comments