Skip to content

Commit 0536931

Browse files
committed
Setup more "remove redundant..." save actions
Closes gh-167
1 parent caa1848 commit 0536931

File tree

2 files changed

+10
-0
lines changed
  • samples/spring-javaformat-maven-sample
  • spring-javaformat-eclipse/io.spring.javaformat.eclipse/src/io/spring/javaformat/eclipse/projectsettings

2 files changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4+
<fileset name="all" enabled="true" check-config-name="Google Checks" local="false">
5+
<file-match-pattern match-pattern="." include-pattern="true"/>
6+
</fileset>
7+
</fileset-config>

spring-javaformat-eclipse/io.spring.javaformat.eclipse/src/io/spring/javaformat/eclipse/projectsettings/org.eclipse.jdt.ui.prefs

+3
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=
103103
sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
104104
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
105105
sp_cleanup.remove_private_constructors=true
106+
sp_cleanup.remove_redundant_modifiers=true
107+
sp_cleanup.remove_redundant_semicolons=true
108+
sp_cleanup.remove_redundant_type_arguments=true
106109
sp_cleanup.remove_trailing_whitespaces=true
107110
sp_cleanup.remove_trailing_whitespaces_all=true
108111
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false

0 commit comments

Comments
 (0)