[INT-2790] Redis: extractZsetIncrementHeader should return 'true' by default Created: 25/Oct/12  Updated: 21/Nov/12  Resolved: 30/Oct/12

Status: Closed
Project: Spring Integration
Component/s: Redis Support
Affects Version/s: 2.2 RC2
Fix Version/s: 2.2 RC3

Type: Bug Priority: Major
Reporter: Gunnar Hillert Assignee: Gunnar Hillert
Resolution: Complete Votes: 0
Labels: pull-request-submitted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

private boolean extractZsetIncrementHeader(Message<?> message){
  if (message.getHeaders().containsKey(RedisHeaders.ZSET_INCREMENT_SCORE)){
    return this.zsetIncrementScoreExpression.getValue(this.evaluationContext, message, Boolean.class);
  return false;

that default return out of the if block should be true

Comment by Gunnar Hillert [ 25/Oct/12 ]

Issued PR: https://github.com/SpringSource/spring-integration/pull/657

Generated at Fri Jul 10 06:51:54 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.