Skip to content

Commit

Permalink
Deps version update.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy12c committed Mar 14, 2024
1 parent 0495303 commit b54b2da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

<properties>
<java.version>11</java.version>
<utils.version>2.4.1</utils.version>
<dao.version>2.4.1</dao.version>
<adapter.version>2.4.1</adapter.version>
<message-rosa.version>2.4.1</message-rosa.version>
<utils.version>2.4.2</utils.version>
<dao.version>2.4.2</dao.version>
<adapter.version>2.4.2</adapter.version>
<message-rosa.version>2.4.2</message-rosa.version>
</properties>

<!-- For Downloading repositories from github packages -->
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/uci/transformer/odk/FormDownloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,12 @@ public void downloadFormsDelta() {
webCredentialsUtils);
HashMap<String, FormDetails> formList = formListDownloader.downloadFormList(false);
int count = 0;
log.info("Total forms received in form list: " + formList.size());
if (formList.size() > 0) {
ArrayList<FormDetails> forms = new ArrayList<>();
for (Map.Entry<String, FormDetails> form : formList.entrySet()) {
File existingForm = new File(formsDir.getAbsolutePath(), FormNameUtils.formatFilenameFromFormName(form.getValue().getFormName()) + ".xml");
log.info("Found existing form: " + existingForm.getAbsolutePath());
if (!existingForm.exists()) {
forms.add(form.getValue());
count += 1;
Expand Down

0 comments on commit b54b2da

Please sign in to comment.