aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/ss/formula
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2017-10-18 08:22:51 +0000
committerJaven O'Neal <onealj@apache.org>2017-10-18 08:22:51 +0000
commit59277965a2232a35fd984951ea13d6aa2b32d3c9 (patch)
treef7ec78f2e8023feea61de7c8212b5b98562a8a70 /src/testcases/org/apache/poi/ss/formula
parent8300528aada54923365f5fa085ad37698f380972 (diff)
downloadpoi-59277965a2232a35fd984951ea13d6aa2b32d3c9.tar.gz
poi-59277965a2232a35fd984951ea13d6aa2b32d3c9.zip
convert "".equals(string) to string.isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/formula')
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/BaseTestFunctionsFromSpreadsheet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/BaseTestFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/BaseTestFunctionsFromSpreadsheet.java
index 724a432657..88b52493ea 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/BaseTestFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/BaseTestFunctionsFromSpreadsheet.java
@@ -127,7 +127,7 @@ public abstract class BaseTestFunctionsFromSpreadsheet {
String rowComment = getCellTextValue(r, SS.COLUMN_ROW_COMMENT, "row comment");
String testName = (currentGroupComment+'\n'+rowComment).replace("null", "").trim().replace("\n", " - ");
- if ("".equals(testName)) {
+ if (testName.isEmpty()) {
testName = evalCell.getCellFormula();
}