]> source.dussan.org Git - poi.git/commitdiff
Fix URL for test
authorDominik Stadler <centic@apache.org>
Sun, 10 Mar 2019 16:13:02 +0000 (16:13 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 10 Mar 2019 16:13:02 +0000 (16:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855155 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

index e2fc485bf0a13c801b9d98954d3bf89a39b2745c..6a49b32e0e9b561682df08bcad9eeeba37166e07 100644 (file)
@@ -2932,7 +2932,7 @@ public final class TestBugs extends BaseTestBugzillaIssues {
         Workbook wb = HSSFTestDataSamples.openSampleWorkbook("46515.xls");
 
         // Get structure from webservice
-        String urlString = "http://poi.apache.org/resources/images/project-logo.jpg";
+        String urlString = "http://poi.apache.org/images/project-header.png";
         URL structURL = new URL(urlString);
         BufferedImage bimage;
         try {
@@ -2978,6 +2978,7 @@ public final class TestBugs extends BaseTestBugzillaIssues {
         assertEquals(CellType.FORMULA, cell.getCellType());
         assertEquals("IF(TRUE,\"\",\"\")", cell.getCellFormula());
         assertEquals("", cell.getStringCellValue());
+        //noinspection deprecation
         cell.setCellType(CellType.STRING);
 
         assertEquals(CellType.BLANK, cell.getCellType());