Skip to content

Commit

Permalink
change property map type
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurjuneja committed Nov 5, 2024
1 parent 49b4352 commit 4a3e040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nextflow/src/org/labkey/nextflow/NextFlowController.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public ModelAndView getView(Object form, boolean reshow, BindException errors) t
public boolean handlePost(Object form, BindException errors) throws Exception
{
PropertyStore store = PropertyManager.getNormalStore();
PropertyManager.PropertyMap map = store.getWritableProperties(NextFlowManager.NEXTFLOW_ENABLE, true);
PropertyManager.WritablePropertyMap map = store.getWritableProperties(NextFlowManager.NEXTFLOW_ENABLE, true);
if (map.isEmpty())
{
map.put(IS_NEXTFLOW_ENABLED, Boolean.TRUE.toString());
Expand Down
2 changes: 1 addition & 1 deletion nextflow/src/org/labkey/nextflow/NextFlowManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private void saveConfiguration( NextFlowController.NextFlowConfiguration configu
properties.put(NEXTFLOW_S3_BUCKET_PATH, configuration.getS3BucketPath());
properties.put(NEXTFLOW_ACCOUNT_NAME, configuration.getAccountName());

PropertyManager.PropertyMap props = _encryptedStore.getWritableProperties(NEXTFLOW_CONFIG, true);
PropertyManager.WritablePropertyMap props = _encryptedStore.getWritableProperties(NEXTFLOW_CONFIG, true);
props.clear();
props.putAll(properties);
props.save();
Expand Down

0 comments on commit 4a3e040

Please sign in to comment.