aboutsummaryrefslogtreecommitdiffstats
path: root/poi-examples/src
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-10-18 22:35:17 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-10-18 22:35:17 +0000
commit3c3154ea8c330833fc38bd2144018f09a7d56b09 (patch)
tree89fd43d1280fa4865fe7f0fd4b821b5ad148178c /poi-examples/src
parent646fb8c69080d191256468168ce63e1d3cb81c2d (diff)
downloadpoi-3c3154ea8c330833fc38bd2144018f09a7d56b09.tar.gz
poi-3c3154ea8c330833fc38bd2144018f09a7d56b09.zip
sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894365 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-examples/src')
-rw-r--r--poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java b/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java
index d0bd16f782..56a7f5a397 100644
--- a/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java
+++ b/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java
@@ -106,7 +106,7 @@ public class TestXLSX2CSV {
}
String errorOutput = errorBytes.toString(StandardCharsets.UTF_8);
- assertEquals(errorOutput.length(), 0);
+ assertEquals(0, errorOutput.length());
String output = outputBytes.toString(StandardCharsets.UTF_8);
assertTrue(output.contains("\"Lorem\",111,,,"), "Had: " + output);