summaryrefslogtreecommitdiffstats
path: root/onap-java-formatter.xml
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Merge "AAI-1523 Tweak onap-java-formatter.xml"1.4.2James Forsyth1-1/+1
2019-04-09Fix wrapped line formattingmark.j.leonard1-2/+2
Update the setting "Default indentation for wrapped lines" to be 2 units of indentation (as per the standard Google style guide formatter). This causes a continued line to be indented differently to the following code block and distinguishes a wrapped line from a non-wrapped line. Also update the array initializer indentation to match, so that array values are horizontally aligned with other initializers such as List contructors and also with standard expressions. Both settings are now identical with the Google-supplied formatter. Change-Id: I05dd2b3ff522c75bb6aaf2c03017874d42e215c7 Issue-ID: AAI-2198 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-04-09Fix Eclipse Java Formatter settingsmark.j.leonard1-3/+3
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>
2019-03-21AAI-1523 Tweak onap-java-formatter.xmlKeong Lim1-1/+1
Tweak onap-java-formatter.xml to pass checkstyle audit. Change-Id: I2254d381724047ad0082297e557f3c1bf4b6992c Issue-ID: AAI-1523 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-02-28AAI-2198 Consistent code style in aai-commonKeong Lim1-0/+295
Add plugins to aai-common/pom.xml Add Eclipse formatter configuration file Issue-ID: AAI-2198 Change-Id: Ie415f3fa0a408f775133f27a3bf8904a1f65a8a3 Signed-off-by: Keong Lim <keong.lim@huawei.com>