Skip to content

Commit 0761c81

Browse files
authored
Apply suggestions from code review
1 parent 205974a commit 0761c81

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +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-
* Added support for removing wildcard imports via `removeWildcardImports` step. ([#649](https://github.com/diffplug/spotless/issues/649))
13+
### Added
14+
* Added support for removing wildcard imports via `removeWildcardImports` step. ([#2517](https://github.com/diffplug/spotless/pull/2517))
1415

1516
## [3.1.2] - 2025-05-27
1617
### Fixed

lib/src/main/java/com/diffplug/spotless/java/RemoveWildcardImportsStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public final class RemoveWildcardImportsStep {
88
private RemoveWildcardImportsStep() {}
99

1010
public static FormatterStep create() {
11-
// matches lines like 'import foo.*;' or 'import static foo.*;'
11+
// Matches lines like 'import foo.*;' or 'import static foo.*;'.
1212
return ReplaceRegexStep.create(
1313
"removeWildcardImports",
1414
"(?m)^import\\s+(?:static\\s+)?[^;\\n]*\\*;\\R?",

plugin-gradle/CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
44

55
## [Unreleased]
6-
* Added `removeWildcardImports()` step for Java, removing wildcard import statements. ([#649](https://github.com/diffplug/spotless/issues/649))
6+
### Added
7+
* Added support for removing wildcard imports via `removeWildcardImports` step. ([#2517](https://github.com/diffplug/spotless/pull/2517))
78

89
## [7.0.4] - 2025-05-27
910
### Fixed

plugin-maven/CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +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-
* Added `<removeWildcardImports />` step for Java, removing wildcard import statements. ([#649](https://github.com/diffplug/spotless/issues/649))
6+
### Added
7+
* Added support for removing wildcard imports via `removeWildcardImports` step. ([#2517](https://github.com/diffplug/spotless/pull/2517))
78

89
## [2.44.5] - 2025-05-27
910
### Changed

0 commit comments

Comments
 (0)