]> source.dussan.org Git - jgit.git/commit
Enhance Eclipse save actions 35/103735/2
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 26 Aug 2017 20:19:30 +0000 (22:19 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 28 Aug 2017 15:52:45 +0000 (11:52 -0400)
commitc0ad77d84c8514e44ef402c3e958ad69b47a53e5
tree1d6016d1ecd7ae9f93f6cce507d8583eec71f170
parent426caf99eedfdad0ea5a5702946c40f6ba98ee29
Enhance Eclipse save actions

Add the following Eclipse save actions executed when saving modified
lines. This should help to reduce manual work needed to maintain a clean
and consistent code style:
- organize imports
- always use braces around blocks
- add missing annotations
  - @Override including implementation of interface methods
  - @Deprecated
- remove
  - unused imports
  - unnecessary $NON-NLS$ tags
  - redundant type arguments

Also add default values for new settings that were introduced in recent
Eclipse versions up to Neon since we updated save rules the last time.

Change-Id: Idc90b249df044d0552f04edf01a5f607c4846f50
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