openamf/src/java/org/openamf/invoker RankedMethod.java,1.4,1.5

[email protected]
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
Update of /cvsroot/openamf/openamf/src/java/org/openamf/invoker
In directory sc8-pr-cvs1:/tmp/cvs-serv24631/src/java/org/openamf/invoker

Modified Files:
	RankedMethod.java 
Log Message:
types matched before decoding, but don't match after decoding
use parameter instead of decodedObject


Index: RankedMethod.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/RankedMethod.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RankedMethod.java	5 May 2003 20:36:50 -0000	1.4
--- RankedMethod.java	6 May 2003 03:49:37 -0000	1.5
***************
*** 125,128 ****
--- 125,133 ----
  				}
  				decodedParameters.add(decodedObject);
+ 			} else if (origTypesMatch) {
+ 				// types matched before decoding, but don't match now
+ 				// use parameter instead of decodedObject
+ 				rank += paramTypeMatchValue;
+ 				decodedParameters.add(parameter);
  			} else {
  				log.debug("parameter couldn't be decoded");




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.