From 147bd7545402f0351c08418c614ecb67e2aaf19f Mon Sep 17 00:00:00 2001
From: Peter Streef
Date: Mon, 22 Apr 2024 17:36:14 +0200
Subject: [PATCH] formatting
---
src/main/java/org/openrewrite/LanguageComposition.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/openrewrite/LanguageComposition.java b/src/main/java/org/openrewrite/LanguageComposition.java
index 7d8d983..727e1d5 100644
--- a/src/main/java/org/openrewrite/LanguageComposition.java
+++ b/src/main/java/org/openrewrite/LanguageComposition.java
@@ -392,7 +392,7 @@ public PrintOutputCapture append(@Nullable String text) {
count++;
}
}
- if(!text.isEmpty()) {
+ if (!text.isEmpty()) {
char last = text.charAt(text.length() - 1);
if (last != '\n' && last != '\r') {
count++;