public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: David Gilbert <david.gilbert@object-refinery.com>
To: Fabien DUMINY <fduminy@users.sourceforge.net>
Cc: Michael Koch <konqueror@gmx.de>, mauve-discuss@sources.redhat.com
Subject: Re: Can I commit a bug fix in CreateTags.java ?
Date: Mon, 19 Sep 2005 12:51:00 -0000	[thread overview]
Message-ID: <432EC250.7070708@object-refinery.com> (raw)
In-Reply-To: <432C09CC.3070402@users.sourceforge.net>

Fabien DUMINY wrote:

> Michael Koch a écrit :
>
>> On Sat, Sep 17, 2005 at 01:24:00PM +0200, Fabien DUMINY wrote:
>>  
>>
>>> Hi,
>>> I found and fixed a bug in CreateTags. The ';' wasn't removed from 
>>> the package declaration and it was written in the testlet className.
>>>
>>> Can I commit the bug fix (when I will have the rights to do) ?
>>> I ask you that question because I read that such modification (in 
>>> the core of Mauve, not in the testlets) should be discussed here.
>>>   
>>
>>
>> Please send a patch representing this change here.
>>
>>
>> Michael
>>  
>>
> Here is the patch (joined file).
>
> Fabien.
>
>------------------------------------------------------------------------
>
>Index: CreateTags.java
>===================================================================
>RCS file: /cvs/mauve/mauve/gnu/testlet/runner/CreateTags.java,v
>retrieving revision 1.1
>diff -u -r1.1 CreateTags.java
>--- CreateTags.java	1 Jul 2005 18:33:43 -0000	1.1
>+++ CreateTags.java	17 Sep 2005 12:14:22 -0000
>@@ -130,7 +130,10 @@
>                                 tags = line;
>                         }
>                         else if(buf.indexOf("package ") == 0)
>-                            pckage = buf.substring(8, buf.length()-1);
>+                        {
>+                            int idx = buf.lastIndexOf(";");
>+                            pckage = buf.substring(8, idx);
>+                        }
>                         buf = new StringBuffer();
>                         maxLines--;
>                     }
>  
>
I ran the CreateTags program (for the first time) and didn't see a 
problem.  Here's the first few lines of the output file:

[JDK1.0]
gnu.testlet.java.io.LineNumberInputStream.Test
gnu.testlet.java.io.FilterInputStream.MarkReset
gnu.testlet.java.io.FilterInputStream.SimpleRead
gnu.testlet.java.io.BufferedInputStream.ProtectedVars
gnu.testlet.java.io.BufferedInputStream.MarkReset
gnu.testlet.java.io.BufferedInputStream.ZeroRead
gnu.testlet.java.io.BufferedInputStream.BigMark
gnu.testlet.java.io.BufferedInputStream.SimpleRead

What do you get when you run it? What are you running it with?  (I tried 
both JamVM with Classpath CVS and Sun's JDK1.4.2_08 on GNU Linux).

Regards,

Dave

  reply	other threads:[~2005-09-19 12:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-17 11:23 Fabien DUMINY
2005-09-17 11:54 ` Michael Koch
2005-09-17 12:20   ` Fabien DUMINY
2005-09-19 12:51     ` David Gilbert [this message]
2005-09-24  8:18       ` Fabien DUMINY
2005-10-08 14:02         ` RFA: " Fabien DUMINY
2005-09-22 15:48     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=432EC250.7070708@object-refinery.com \
    --to=david.gilbert@object-refinery.com \
    --cc=fduminy@users.sourceforge.net \
    --cc=konqueror@gmx.de \
    --cc=mauve-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).