Skip to content

Commit

Permalink
Merge pull request #147 from Netflix/bugfix/encoder
Browse files Browse the repository at this point in the history
Removed isJsonString check in EVCacheSerializingTranscoder
  • Loading branch information
samuelfu authored Nov 18, 2024
2 parents 11b47ec + 9840da2 commit d2f9c43
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ public CachedData encode(Object o) {
int flags = 0;
if (o instanceof String) {
b = encodeString((String) o);
if (StringUtils.isJsonObject((String) o)) {
return new CachedData(flags, b, getMaxSize());
}
} else if (o instanceof Long) {
b = tu.encodeLong((Long) o);
flags |= SPECIAL_LONG;
Expand Down

0 comments on commit d2f9c43

Please sign in to comment.