openamf/src/java/org/openamf/invoker RankedMethod.java,1.7,1.8

[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-serv1983/src/java/org/openamf/invoker

Modified Files:
	RankedMethod.java 
Log Message:
fixed bug with native boolean type

Index: RankedMethod.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/RankedMethod.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** RankedMethod.java	7 May 2003 17:40:18 -0000	1.7
--- RankedMethod.java	28 May 2003 19:19:42 -0000	1.8
***************
*** 146,149 ****
--- 146,152 ----
  		
  		if (!typesMatch) {
+ 			if (parameterType.equals(Boolean.TYPE) && parameter instanceof Boolean) {
+ 				typesMatch = true;
+ 			}
  			if (parameterType.equals(Byte.TYPE) && parameter instanceof Byte) {
  				typesMatch = true;




-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
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.