Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2019-05-15 03:42:46 -0400
committerThomas Wolf2019-05-15 05:17:14 -0400
commit2b5d27f65957c6e0957c3571edc808ff76f2ddd7 (patch)
treeaa9d5504495f399231815f40e104e951d6a2e751 /org.eclipse.egit.ui.test/src
parenta454a1fb68ca07c95cecf84a94de85d78f0921fe (diff)
downloadegit-2b5d27f65957c6e0957c3571edc808ff76f2ddd7.tar.gz
egit-2b5d27f65957c6e0957c3571edc808ff76f2ddd7.tar.xz
egit-2b5d27f65957c6e0957c3571edc808ff76f2ddd7.zip
Fix formatting after lambda change
Commit f7252ca introduced a number of places where the formatting did not match the Eclipse formatter settings. Reformat the changed lines. Omit redundant lambda parameter types, just use "a" and "b" for comparator parameter names, and in a few cases do other minor clean-up on the affected lines. Change-Id: Iaf459a8f2366a8176f1ca3e257e5e1900b7f8c66 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test/src')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/LocalRepositoryTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/LocalRepositoryTestCase.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/LocalRepositoryTestCase.java
index b88faf4a2..e3a6abfe6 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/LocalRepositoryTestCase.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/LocalRepositoryTestCase.java
@@ -599,7 +599,7 @@ public abstract class LocalRepositoryTestCase extends EGitTestCase {
protected void shareProjects(File repositoryDir) throws Exception {
Repository myRepository = lookupRepository(repositoryDir);
- FilenameFilter projectFilter = (File dir, String name) -> name.equals(".project");
+ FilenameFilter projectFilter = (dir, name) -> name.equals(".project");
for (File file : myRepository.getWorkTree().listFiles()) {
if (file.isDirectory()) {
if (file.list(projectFilter).length > 0) {

Back to the top