/** Close the underlying Channels. */ @Override public void close() throws IOException { try { if (shpChannel != null && shpChannel.isOpen()) { shpChannel.close(); } } finally { shx.close(); } shpChannel = null; handler = null; shapeBuffer = null; }
/** Close the underlying Channels. */ @Override public void close() throws IOException { try { if (shpChannel != null && shpChannel.isOpen()) { shpChannel.close(); } } finally { shx.close(); } shpChannel = null; handler = null; shapeBuffer = null; }