/** * {@inheritDoc} */ @Override public final void close() { if (this.myChangesetNumber != -1) { try { LOG.fine("release() called"); closeChangeset(); } catch (Exception e) { LOG.log(Level.SEVERE, "Cannot close changeset.", e); } } } }
/** * {@inheritDoc} */ @Override public final void close() { if (this.myChangesetNumber != -1) { try { LOG.fine("release() called"); closeChangeset(); } catch (Exception e) { LOG.log(Level.SEVERE, "Cannot close changeset.", e); } } } }
/** * close the changeset on the server. */ public final void complete() { try { myChangeWriter.end(); LOG.fine("complete() called"); uploadChangeBuffer(); closeChangeset(); } catch (Exception e) { throw new OsmosisRuntimeException( "cannot upload or close changeset.", e); } }
/** * close the changeset on the server. */ public final void complete() { try { myChangeWriter.end(); LOG.fine("complete() called"); uploadChangeBuffer(); closeChangeset(); } catch (Exception e) { throw new OsmosisRuntimeException( "cannot upload or close changeset.", e); } }