Please post real patches (Was: [gui][patch] fix jcomponent action reset)
Mark Wielaard
mark@klomp.org
Mon Sep 6 10:09:00 GMT 2004
Hi,
Please don't post patches like this if it is not absolutely necessary or
at least add a big comment to the patch that it is not the real patch!
> 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();
> }
That is not the patch you are actually committing to the tree!
Somehow all white space got stripped. That makes applying the patch
either impossible or leads to the wrong result in the tree.
Having patches in this format makes merging these changes into another
branch or to/from GNU Classpath really hard. In the best case miss some
of the indentation, or I use other indentation than the patch submitter.
In the worst case it doesn't apply and I have to hunt down some remote
code repository to get the actualy patch or do the merge completely by
hand.
Please just post what you commit and not some approximation.
Thanks,
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/223f361a/attachment.sig>
More information about the Java-patches
mailing list