openamf/src/java/org/openamf/util OpenAMFUtils.java,1.10,1.11
[email protected] Tue, 19 Aug 2003 16:09:24 -0700
| Newsgroups | gmane.comp.java.openamf.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openamf/openamf/src/java/org/openamf/util
In directory sc8-pr-cvs1:/tmp/cvs-serv7475/src/java/org/openamf/util
Modified Files:
OpenAMFUtils.java
Log Message:
don't decode parameters when the desired type is ASObject
Index: OpenAMFUtils.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/util/OpenAMFUtils.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** OpenAMFUtils.java 15 Aug 2003 22:54:47 -0000 1.10
--- OpenAMFUtils.java 19 Aug 2003 23:09:21 -0000 1.11
***************
*** 48,51 ****
--- 48,55 ----
return sqlDate;
}
+ if (flashgateway.io.ASObject.class.isAssignableFrom(parameterType) && parameter instanceof flashgateway.io.ASObject) {
+ log.debug("Desired parameter type is an ASObject, returning parameter without decoding");
+ return parameter;
+ }
boolean setType = false;
-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104