Typo in which.bsh in CVS
"Shankar Unni" <[email protected]>
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <00bb01c36362$d5062380$7e0aa8c0@HQSHANKAR> |
Looks like a recent checkin introduced a stray line that broke which.bsh
(always returns null). Patch included..
RCS file: /cvsroot/beanshell/BeanShell/src/bsh/commands/which.bsh,v
retrieving revision 1.6
diff -u -r1.6 which.bsh
--- src/bsh/commands/which.bsh 18 Jun 2003 04:42:11 -0000 1.6
+++ src/bsh/commands/which.bsh 15 Aug 2003 19:20:49 -0000
@@ -31,7 +31,6 @@
which( clas )
{
// make the class into a name
- Class clas;
if ( clas instanceof ClassIdentifier )
clas = this.namespace.identifierToClass( clas );
if ( clas instanceof Class )
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01