Skip to content

Commit e8b214e

Browse files
committed
Update documented default semanticSort to false
The default value was updated to false [1] per suggestion [2]. [1] 10610f8 [2] #1709 (review)
1 parent b124927 commit e8b214e

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This document is intended for Spotless developers.
1010
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
1111

1212
## [Unreleased]
13+
### Fixed
14+
* Update documented default `semanticSort` to `false`. ([#1728](https://github.com/diffplug/spotless/pull/1728))
1315

1416
## [2.39.0] - 2023-05-24
1517
### Added

plugin-maven/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
44

55
## [Unreleased]
6+
### Fixed
7+
* Update documented default `semanticSort` to `false`. ([#1728](https://github.com/diffplug/spotless/pull/1728))
68

79
## [2.37.0] - 2023-05-24
810
### Added

plugin-maven/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ any other maven phase (i.e. compile) then it can be configured as below;
196196
<wildcardsLast>false</wildcardsLast> <!-- Optional, default false. Sort wildcard import after specific imports -->
197197
<order>java|javax,org,com,com.diffplug,,\#com.diffplug,\#</order> <!-- or use <file>${project.basedir}/eclipse.importorder</file> -->
198198
<!-- you can use an empty string for all the imports you didn't specify explicitly, '|' to join group without blank line, and '\#` prefix for static imports. -->
199-
<semanticSort>false</semanticSort> <!-- Optional, default true. Sort by package, then class, then member (for static imports). Splitting is based on common conventions (packages are lower case, classes start with upper case). Use <treatAsPackage> and <treatAsClass> for exceptions. -->
199+
<semanticSort>false</semanticSort> <!-- Optional, default false. Sort by package, then class, then member (for static imports). Splitting is based on common conventions (packages are lower case, classes start with upper case). Use <treatAsPackage> and <treatAsClass> for exceptions. -->
200200
<treatAsPackage> <!-- Packages starting with upper case letters. -->
201201
<package>com.example.MyPackage</package>
202202
</treatAsPackage>

0 commit comments

Comments
 (0)