[Red5commits] [2451] fixed check if attribute value has changed
jbauch
luke at codegent.com
Tue Oct 30 23:52:05 PDT 2007
fixed check if attribute value has changed
Timestamp: 10/26/07 06:43:33 EST (5 days ago)
Change: 2451
Author: jbauch
Files (see diff or trac for details):
java/server/trunk/src/org/red5/server/AttributeStore.java
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2451
Index: /java/server/trunk/src/org/red5/server/AttributeStore.java
===================================================================
--- /java/server/trunk/src/org/red5/server/AttributeStore.java (revision 2443)
+++ /java/server/trunk/src/org/red5/server/AttributeStore.java (revision 2451)
@@ -169,5 +169,5 @@
// Update with new value
Object previous = attributes.put(name, value);
- return value.equals(previous);
+ return (!value.equals(previous));
}
}
Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.
More information about the Red5commits
mailing list