]> source.dussan.org Git - poi.git/commitdiff
remove unneeded SuppressWarnings("resource") decorator from getSheetName
authorJaven O'Neal <onealj@apache.org>
Mon, 2 Nov 2015 02:13:35 +0000 (02:13 +0000)
committerJaven O'Neal <onealj@apache.org>
Mon, 2 Nov 2015 02:13:35 +0000 (02:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711878 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java

index a97c8782f590bc05c2328e2399d9eb551c0e8cc1..7442cf98fcba71d40e0f6e165e7562786fb67393 100644 (file)
@@ -2056,7 +2056,6 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet {
      *
      * @return the name of this sheet
      */
-    @SuppressWarnings("resource")
     public String getSheetName() {
         HSSFWorkbook wb = getWorkbook();
         int idx = wb.getSheetIndex(this);