[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


 Description   
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



 Comments   
Comment by Gunnar Hillert [ 25/Oct/12 ]

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

Generated at Fri Jan 24 04:44:21 UTC 2020 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.