close
Skip to content

Commit 359ee60

Browse files
committed
Improve padded cell's deprecation message.
1 parent 6d1c188 commit 359ee60

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎plugin-gradle/CHANGES.md‎

Lines changed: 2 additions & 0 deletions
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 `3.27.0`).
44

55
## [Unreleased]
6+
### Fixed
7+
* Improved the warning message for `paddedCell` deprecation, along with many API-invisible fixes and cleanup. ([#592](https://github.com/diffplug/spotless/pull/592/files))
68

79
## [4.2.0] - 2020-06-03
810
### Added

‎plugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessTask.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 DiffPlug
2+
* Copyright 2016-2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -104,7 +104,7 @@ public boolean isPaddedCell() {
104104

105105
@Deprecated
106106
public void setPaddedCell(boolean paddedCell) {
107-
getLogger().warn("PaddedCell is now always on, and cannot be turned off.");
107+
getLogger().warn("Spotless warning: Padded Cell is now always on, and cannot be turned off. Find `paddedCell(` and remove all invocations.");
108108
}
109109

110110
protected String filePatterns = "";

0 commit comments

Comments
 (0)