src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
/**
     * Delivers the file transfer to all registered listeners.
     *
     * @param event the <tt>FileTransferEvent</tt> that we'd like delivered to
     * all registered file transfer listeners.
     */
Delivers the file transfer to all registered listeners.
@param event the FileTransferEvent that we'd like delivered to
all registered file transfer listeners.
Delivers the file transfer to all registered listeners . @param event the FileTransferEvent that we ' d like delivered to all registered file transfer listeners .
void fireFileTransferCreated(FileTransferCreatedEvent event)
    {
        Iterator<FileTransferListener> listeners;
        synchronized (fileTransferListeners)
        {
            listeners = new ArrayList<>
                            (fileTransferListeners).iterator();
        }
        while (listeners.hasNext())
        {
            FileTransferListener listener = listeners.next();
            listener.fileTransferCreated(event);
        }
    }
void fireFileTransferCreated ( FileTransferCreatedEvent event ) { Iterator < FileTransferListener > listeners ; synchronized ( fileTransferListeners ) { listeners = new ArrayList < > ( fileTransferListeners ) . iterator ( ) ; } while ( listeners . hasNext ( ) ) { FileTransferListener listener = listeners . next ( ) ; listener . fileTransferCreated ( event ) ; } }
Delivers the file transfer to all registered listeners.
Delivers the file transfer to all registered listeners .