]> source.dussan.org Git - poi.git/commitdiff
Remove useless double check on null introduced with the previous bugfix
authorDominik Stadler <centic@apache.org>
Tue, 24 Nov 2015 09:10:27 +0000 (09:10 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 24 Nov 2015 09:10:27 +0000 (09:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716082 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/model/InternalWorkbook.java

index 8631833653915e3a491f3f382257a7c45cefe772..93c8da16f4b458f61079b8277d165fda2953ebe2 100644 (file)
@@ -778,9 +778,7 @@ public final class InternalWorkbook {
         if (linkTable != null) {
             // also tell the LinkTable about the removed sheet
             //index hasn't change in the linktable
-            if (linkTable != null) {
-                linkTable.removeSheet(sheetIndex);
-            }
+            linkTable.removeSheet(sheetIndex);
         }
     }