Skip to content

Commit

Permalink
release: 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
javaquery committed May 22, 2024
1 parent 20147a8 commit 4284417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ private void recursiveAddToCollection(String folderName, JSONArray items, JSONOb
* @return - folder object if found else null
*/
private JSONObject findFolder(JSONArray items, String folderName){
folderName = Commons.convertCamelCaseToName(folderName);
int itemsLength = items.length();
for (int i = 0; i < itemsLength; i++) {
JSONObject jsonObject = items.optJSONObject(i);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ private String findFolderRecursive(JSONArray foldersArray, String folderName, St
* @return - folder object
*/
private JSONObject findFolder(JSONArray folders, String name, String containerId){
name = Commons.convertCamelCaseToName(name);
JSONObject result = null;
for(int i = 0; i < folders.length(); i++){
JSONObject folder = folders.getJSONObject(i);
Expand Down

0 comments on commit 4284417

Please sign in to comment.