Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Airbase 134

* Enforcer updates:
- Enable `requirePluginVersions` check
* Checkstyle updates:
- Deny static import for `builder`
* Plugin updates:
- Enforcer 3.2.1 (from 3.1.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
</module>

<module name="RegexpSingleline">
<property name="format" value="^import static .*\.(of|copyOf|valueOf);$" />
<property name="message" value="The following methods may not be statically imported: of, copyOf, valueOf" />
<property name="format" value="^import static .*\.(of|copyOf|valueOf|builder);$" />
<property name="message" value="The following methods may not be statically imported: of, copyOf, valueOf, builder" />
</module>
<module name="RegexpSingleline">
<property name="format" value="^import static (?!java\.lang\.String\.format;).*\.format;" />
Expand Down