poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1711878 - /poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
Date Mon, 02 Nov 2015 02:13:36 GMT
Author: onealj
Date: Mon Nov  2 02:13:35 2015
New Revision: 1711878

URL: http://svn.apache.org/viewvc?rev=1711878&view=rev
Log:
remove unneeded SuppressWarnings("resource") decorator from getSheetName

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

Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java?rev=1711878&r1=1711877&r2=1711878&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java Mon Nov  2 02:13:35 2015
@@ -2056,7 +2056,6 @@ public final class HSSFSheet implements
      *
      * @return the name of this sheet
      */
-    @SuppressWarnings("resource")
     public String getSheetName() {
         HSSFWorkbook wb = getWorkbook();
         int idx = wb.getSheetIndex(this);



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


Mime
View raw message