mirror of https://github.com/apache/poi.git
ignore path conversion for URLs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872402 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
46f1242d03
commit
fb8f171900
|
@ -134,7 +134,11 @@ public final class TestBugs extends BaseTestBugzillaIssues {
|
|||
for (int i=0; i<refs.length; i+=2) {
|
||||
HSSFWorkbook wb = new HSSFWorkbook();
|
||||
wb.createSheet(refs[i]);
|
||||
SIMPLE_REFS.put(refs[i+1].replace("/", File.separator), wb.getCreationHelper().createFormulaEvaluator());
|
||||
String fileName = refs[i+1];
|
||||
if (!fileName.contains("://")) {
|
||||
fileName = fileName.replace("/", File.separator);
|
||||
}
|
||||
SIMPLE_REFS.put(fileName, wb.getCreationHelper().createFormulaEvaluator());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue