poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1855155 - /poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
Date Sun, 10 Mar 2019 16:13:02 GMT
Author: centic
Date: Sun Mar 10 16:13:02 2019
New Revision: 1855155

URL: http://svn.apache.org/viewvc?rev=1855155&view=rev
Log:
Fix URL for test

Modified:
    poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java?rev=1855155&r1=1855154&r2=1855155&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java Sun Mar 10 16:13:02
2019
@@ -2932,7 +2932,7 @@ public final class TestBugs extends Base
         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 Base
         assertEquals(CellType.FORMULA, cell.getCellType());
         assertEquals("IF(TRUE,\"\",\"\")", cell.getCellFormula());
         assertEquals("", cell.getStringCellValue());
+        //noinspection deprecation
         cell.setCellType(CellType.STRING);
 
         assertEquals(CellType.BLANK, cell.getCellType());



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message