You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/05/14 16:24:12 UTC
[commons-imaging] 01/14: Remove truly useless parenthesis
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
commit e5172028dee9b76132308391c5de208c05729b2e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 14 11:05:15 2023 -0400
Remove truly useless parenthesis
---
src/main/java/org/apache/commons/imaging/common/BasicCParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/imaging/common/BasicCParser.java b/src/main/java/org/apache/commons/imaging/common/BasicCParser.java
index 3fbd432c..5513cf5b 100644
--- a/src/main/java/org/apache/commons/imaging/common/BasicCParser.java
+++ b/src/main/java/org/apache/commons/imaging/common/BasicCParser.java
@@ -173,7 +173,7 @@ public class BasicCParser {
boolean hadStar = false;
boolean hadBackSlash = false;
final ByteArrayOutputStream out = new ByteArrayOutputStream();
- boolean seenFirstComment = (firstComment == null);
+ boolean seenFirstComment = firstComment == null;
final StringBuilder directiveBuffer = new StringBuilder();
for (int c = is.read(); c != -1; c = is.read()) {
if (inComment) {