jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: [Bsf-discussion] Solved: BSF-bug with "char" as argument
Date Tue, 28 Jan 2003 17:54:17 GMT
Rony G. Flatscher wrote:

> Bill,
>
>> Thanks, we'll get this fix in.  For future reference, unified diffs 
>> are a bit easier for humans to read than context diffs (ie, diff -u 
>> or cvs diff -u).
>
>
> Sorry for that (didn't realize it, it's a loong time that I worked 
> with diffs or cvs for that matter), here's the new output: 

Oh nothing to be sorry about, just pointing out something that works 
well for us over in the Apache httpd development mailing list.  BTW, 
this patch shows that two lines of code are being deleted (note the '-' 
by each of the lines being changed).

>
>
> ----------------------------------- cut here 
> -------------------------------------
> E:\rony\dev\bsf\bsf-2_2\lib\com\ibm\bsf\util>diff -uw EngineUtils.java 
> bkp\EngineUtils.java
> --- EngineUtils.java    2003-01-24 21:49:12.000000000 +0100
> +++ bkp\EngineUtils.java        2001-01-30 17:46:18.000000000 +0100
> @@ -137,8 +137,6 @@
>              else if(args[i] instanceof Double ) argTypes[i]= 
> double.class;
>            } else if (args[i] instanceof Boolean) {
>              argTypes[i] = boolean.class;
> -            } else if (args[i] instanceof Character) {
> -              argTypes[i] = char.class;
>             }
>          }
>          m = MethodUtils.getMethod (beanClass, methodName, argTypes,
> ----------------------------------- cut here 
> -------------------------------------




Mime
View raw message