]> source.dussan.org Git - jgit.git/commit
Partially revert c0ad77d8 "Enhance Eclipse save actions" 02/103902/1
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 29 Aug 2017 21:41:16 +0000 (23:41 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 29 Aug 2017 23:24:47 +0000 (01:24 +0200)
commit9906f09868429f08a3daaa3083283371919e91e6
tree0cd9c0f24be29c338584ff7fd1337192b04ac585
parentdbef8e2537451150529cefd0eb51b69d3e2a19bb
Partially revert c0ad77d8 "Enhance Eclipse save actions"

Revert the following save actions which were introduced in c0ad77d8:
- always use braces around blocks
- remove unused imports

Other than I expected save actions are run globally on edited files -
and not only on edited code lines only.

Hence revert the save action "Convert control statement bodies to
blocks" which would affect a large number of code lines not affected by
the change editing some small part of a class. This would generate a
large number of changes which may lead to many unnecessary conflicts.
Total number of affected lines across jgit would be around 10k lines.

Also revert "Remove unused imports" since it erroneously removes imports
of some annotations needed by pgm classes using args4j.

Change-Id: I879a47f68e664129e6124cf25c1ae1f6a2d7a5aa
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
17 files changed:
org.eclipse.jgit.ant.test/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.ant/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.archive/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.http.apache/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.http.server/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.http.test/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.junit.http/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.junit/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.lfs.server.test/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.lfs.server/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.lfs.test/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.lfs/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.pgm.test/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.pgm/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.test/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit.ui/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.jgit/.settings/org.eclipse.jdt.ui.prefs