Skip to content

Commit

Permalink
#174 boolean flag intraObjectCacheEnabled in CidsBean.createNewCidsBe…
Browse files Browse the repository at this point in the history
…anFromJSON() is not evaluated!
  • Loading branch information
p-a-s-c-a-l committed Jun 30, 2016
1 parent ce2a95e commit 9cba3a0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/de/cismet/cids/dynamics/CidsBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,12 @@ public static CidsBean createNewCidsBeanFromTableName(final String domainName,
*/
public static CidsBean createNewCidsBeanFromJSON(final boolean intraObjectCacheEnabled, final String json)
throws Exception {
return intraObjectCacheMapper.readValue(json, CidsBean.class);
// #174 boolean flag intraObjectCacheEnabled in CidsBean.createNewCidsBeanFromJSON() is not evaluated
if (intraObjectCacheEnabled) {
return intraObjectCacheMapper.readValue(json, CidsBean.class);
} else {
return mapper.readValue(json, CidsBean.class);
}
}

/**
Expand Down

0 comments on commit 9cba3a0

Please sign in to comment.