Please post real patches (Was: [gui][patch] fix jcomponent action reset)
Mark Wielaard
mark@klomp.org
Mon Sep 6 21:51:00 GMT 2004
Hi,
On Sun, 2004-09-05 at 12:36, Andrew Haley wrote:
> Mark Wielaard writes:
>
> > > public void resetKeyboardActions()
> > > {
> > > + if (inputMap_whenFocused != null)
> > > inputMap_whenFocused.clear();
> > > + if (inputMap_whenAncestorOfFocused != null)
> > > inputMap_whenAncestorOfFocused.clear();
> > > + if (inputMap_whenInFocusedWindow != null)
> > > inputMap_whenInFocusedWindow.clear();
> > > + if (actionMap != null)
> > > actionMap.clear();
> > > }
> > Please just post what you commit and not some approximation.
>
> FWIW, I prefer the form without whitespace diffs for patch approval.
> It's vastly easier to see what has been changed.
>
> Really, this is a matter of what the patch is for.
Yes, but in that case it should at least be mentioned that the patch
isn't for applying. And the above would not be approved normally since
the indentation is completely wrong.
I always assume the patches posted are what is intended to be committed.
Since we are merging between different code bases constantly and we are
(unfortunately) using CVS which isn't that practical when doing merges
(especially between repositories or when you are not online or have a
slow connection to the central repository). So lets make sure that what
is posted is exactly as what is intended to be committed to the
different trees.
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040906/ad07d8e2/attachment.sig>
More information about the Java-patches
mailing list