We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6706f3 + 3dffef9 commit 78364ebCopy full SHA for 78364eb
src/main/java/com/radiadesign/catalina/session/RedisSession.java
@@ -36,7 +36,7 @@ public void resetDirtyTracking() {
36
public void setAttribute(String key, Object value) {
37
Object oldValue = getAttribute(key);
38
if ( value == null && oldValue != null
39
- || oldValue != null && value == null
+ || oldValue == null && value != null
40
|| !value.getClass().isInstance(oldValue)
41
|| !value.equals(oldValue) ) {
42
changedAttributes.put(key, value);
0 commit comments