Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Matela2019-08-05 19:18:49 +0000
committerMateusz Matela2019-08-05 20:04:07 +0000
commitac5a0e2c39ff6c70d6c8b57c09438d1a453cc7fe (patch)
tree1f55b527bb1f53f05aad39137e3d6b4a81e48c4e
parent68936fe6868baf0ede8099789e6dd6266432c7c2 (diff)
downloadeclipse.jdt.ui-ac5a0e2c39ff6c70d6c8b57c09438d1a453cc7fe.tar.gz
eclipse.jdt.ui-ac5a0e2c39ff6c70d6c8b57c09438d1a453cc7fe.tar.xz
eclipse.jdt.ui-ac5a0e2c39ff6c70d6c8b57c09438d1a453cc7fe.zip
Bug 214283 - [formatter] Blank lines option should consider aI20190805-1800
virtual/interface method Change-Id: I129ab613f9eb2884de94a18d096a2ea5418c4ed4 Signed-off-by: Mateusz Matela <mateusz.matela@gmail.com>
-rw-r--r--org.eclipse.jdt.ui.tests/test plugin/org/eclipse/jdt/testplugin/TestOptions.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jdt.ui.tests/test plugin/org/eclipse/jdt/testplugin/TestOptions.java b/org.eclipse.jdt.ui.tests/test plugin/org/eclipse/jdt/testplugin/TestOptions.java
index 1d68468666..76283c4f68 100644
--- a/org.eclipse.jdt.ui.tests/test plugin/org/eclipse/jdt/testplugin/TestOptions.java
+++ b/org.eclipse.jdt.ui.tests/test plugin/org/eclipse/jdt/testplugin/TestOptions.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2015 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -110,6 +110,7 @@ class TestFormatterOptions {
public int blank_lines_before_first_class_body_declaration;
public int blank_lines_before_imports;
public int blank_lines_before_member_type;
+ public int blank_lines_before_abstract_method;
public int blank_lines_before_method;
public int blank_lines_before_new_chunk;
public int blank_lines_before_package;
@@ -305,6 +306,7 @@ class TestFormatterOptions {
options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION, Integer.toString(this.blank_lines_before_first_class_body_declaration));
options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_IMPORTS, Integer.toString(this.blank_lines_before_imports));
options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE, Integer.toString(this.blank_lines_before_member_type));
+ options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_ABSTRACT_METHOD, Integer.toString(this.blank_lines_before_abstract_method));
options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_METHOD, Integer.toString(this.blank_lines_before_method));
options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK, Integer.toString(this.blank_lines_before_new_chunk));
options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_PACKAGE, Integer.toString(this.blank_lines_before_package));
@@ -487,6 +489,7 @@ class TestFormatterOptions {
this.blank_lines_before_first_class_body_declaration = 0;
this.blank_lines_before_imports = 0;
this.blank_lines_before_member_type = 0;
+ this.blank_lines_before_abstract_method = 0;
this.blank_lines_before_method = 0;
this.blank_lines_before_new_chunk = 0;
this.blank_lines_before_package = 0;

Back to the top