File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 21
21
import java .util .Properties ;
22
22
import java .util .stream .Collectors ;
23
23
24
- import org .eclipse .jdt .core .ToolFactory ;
25
24
import org .eclipse .jdt .core .formatter .CodeFormatter ;
26
25
import org .eclipse .jdt .internal .compiler .env .IModule ;
27
26
import org .eclipse .jdt .internal .formatter .DefaultCodeFormatter ;
@@ -38,10 +37,10 @@ public class EclipseJdtFormatterStepImpl {
38
37
39
38
public EclipseJdtFormatterStepImpl (Properties settings ) {
40
39
Map <String , String > options = settings .entrySet ().stream ().collect (Collectors .toMap (
41
- e -> String .valueOf (e .getKey ()),
42
- e -> String .valueOf (e .getValue ()),
43
- (prev , next ) -> next ,
44
- HashMap ::new ));
40
+ e -> String .valueOf (e .getKey ()),
41
+ e -> String .valueOf (e .getValue ()),
42
+ (prev , next ) -> next ,
43
+ HashMap ::new ));
45
44
this .codeFormatter = new DefaultCodeFormatter (options );
46
45
}
47
46
Original file line number Diff line number Diff line change 15
15
*/
16
16
package com .diffplug .spotless .extra .java ;
17
17
18
- import com .diffplug .spotless .extra .EquoBasedStepBuilder ;
18
+ import java .io .File ;
19
+ import java .util .List ;
19
20
20
21
import org .junit .jupiter .api .Test ;
21
22
22
23
import com .diffplug .spotless .StepHarness ;
23
24
import com .diffplug .spotless .TestProvisioner ;
24
-
25
- import java .io .File ;
26
- import java .util .List ;
25
+ import com .diffplug .spotless .extra .EquoBasedStepBuilder ;
27
26
28
27
public class EclipseJdtFormatterStepSpecialCaseTest {
29
28
/** https://github.com/diffplug/spotless/issues/1638 */
You can’t perform that action at this time.
0 commit comments