[Red5commits] [2427] fixed warnings
jbauch
luke at codegent.com
Tue Oct 23 14:50:18 PDT 2007
fixed warnings
Timestamp: 10/23/07 16:50:08 EST (less than one hour ago)
Change: 2427
Author: jbauch
Files (see diff or trac for details):
java/server/trunk/src/org/red5/server/AttributeStore.java
java/server/trunk/src/org/red5/server/Client.java
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2427
Index: /java/server/trunk/src/org/red5/server/Client.java
===================================================================
--- /java/server/trunk/src/org/red5/server/Client.java (revision 2397)
+++ /java/server/trunk/src/org/red5/server/Client.java (revision 2427)
@@ -227,5 +227,5 @@
for (IScope scope : connToScope.values()) {
log.debug("Client scope: " + scope);
- for (Map.Entry entry : scope.getAttributes().entrySet()) {
+ for (Map.Entry<String, Object> entry : scope.getAttributes().entrySet()) {
log.debug("Client scope attr: " + entry.getKey() + " = "
+ entry.getValue());
Index: /java/server/trunk/src/org/red5/server/AttributeStore.java
===================================================================
--- /java/server/trunk/src/org/red5/server/AttributeStore.java (revision 1915)
+++ /java/server/trunk/src/org/red5/server/AttributeStore.java (revision 2427)
@@ -266,4 +266,5 @@
* @return Attribute
*/
+ @SuppressWarnings("unchecked")
public List getListAttribute(String name) {
return (List) getAttribute(name);
@@ -286,4 +287,5 @@
* @return Attribute
*/
+ @SuppressWarnings("unchecked")
public Map getMapAttribute(String name) {
return (Map) getAttribute(name);
@@ -296,4 +298,5 @@
* @return Attribute
*/
+ @SuppressWarnings("unchecked")
public Set getSetAttribute(String name) {
return (Set) getAttribute(name);
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