summaryrefslogtreecommitdiffstats
path: root/onap-java-formatter.xml
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2019-04-08 12:24:36 +0100
committermark.j.leonard <mark.j.leonard@gmail.com>2019-04-09 14:52:33 +0100
commit3b8f4dc323cf6aa6ca6dc5b172306f69987f4729 (patch)
tree60cdcdf28e5cc25076217a6967c6a7ef148866b5 /onap-java-formatter.xml
parent4ba1e592429ab49143e5278e5f6f9004bd1c5a58 (diff)
Fix Eclipse Java Formatter settings
Update settings to match those described in the wiki: https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment section SettingUpYourDevelopmentEnvironment-ONAPEclipseJavaFormatter Use a line width of 120. Do not reformat the license declaration in the file header. Change-Id: I9587f0599e6c297315dfc8a6f9f9f20e27936bee Issue-ID: AAI-2198 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'onap-java-formatter.xml')
-rw-r--r--onap-java-formatter.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/onap-java-formatter.xml b/onap-java-formatter.xml
index 920d37b0..368ede19 100644
--- a/onap-java-formatter.xml
+++ b/onap-java-formatter.xml
@@ -58,7 +58,7 @@
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
@@ -67,7 +67,7 @@
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="100"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120"/>
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
@@ -278,7 +278,7 @@
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="100"/>
+<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120"/>
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>