bundles/org.eclipse.packagedrone.repo.web.sitemap/src/org/eclipse/packagedrone/repo/web/sitemap/UrlSetWriter.java
public void finish () throws IOException
    {
        if ( !this.finished )
        {
            this.finished = true;
            writeEnd ();
        }
        try
        {
            this.out.close ();
        }
        catch ( final XMLStreamException e )
        {
            throw new IOException ( e );
        }
    }
public void finish () throws IOException
    {
        if ( !this.finished )
        {
            this.finished = true;
            writeEnd ();
        }
        try
        {
            this.out.close ();
        }
        catch ( final XMLStreamException e )
        {
            throw new IOException ( e );
        }
    }
Complete the document but don't close the underlying writer

@throws IOException
if there is an IO error