Skip to content

Commit 9f00816

Browse files
authored
📁 pre-commit
Signed-off-by: exadev[bot] <exadev[bot]@users.noreply.github.com>
1 parent 407903a commit 9f00816

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,4 @@
186186
description: "chatgpt AI generated code"
187187
- name: "break-change"
188188
color: "FF0000"
189-
description: "This PR introduces a breaking API change."
189+
description: "This PR introduces a breaking API change."

app/core/src/main/java/stirling/software/SPDF/controller/api/misc/StampController.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,11 @@ private void addTextStamp(
256256

257257
int pageCount = document.getNumberOfPages();
258258

259-
String processedStampText = stampText
260-
.replace("@date", currentDate)
261-
.replace("@time", currentTime)
262-
.replace("@page_count", String.valueOf(pageCount));
259+
String processedStampText =
260+
stampText
261+
.replace("@date", currentDate)
262+
.replace("@time", currentTime)
263+
.replace("@page_count", String.valueOf(pageCount));
263264

264265
// Split the stampText into multiple lines
265266
String[] lines =

0 commit comments

Comments
 (0)