/** Remove the appender passed as parameter form the list of attached appenders. */ public void removeAppender(Appender appender) { if(appender == null || appenderList == null) return; appenderList.removeElement(appender); }
public void removeAppender(Appender appender) { if (appender == null || appenderList == null) { return; } appenderList.removeElement(appender); }
/** * Removes the specfied {@link PlotListener}. Does nothing if * already removed. */ public void removePlotListener(PlotListener listener) { _plotListeners.removeElement(listener); }
/** Removes a {@link DataListener}. Does nothing if already removed. */ public void removeDataListener(DataListener listener) { _listeners.removeElement(listener); }
/** * Removes the first occurrence, starting at the beginning and moving * towards the end, of the specified object from this vector. All elements * with an index bigger than the element that gets removed have their index * decreased by 1. * * @param object * the object to remove from this vector. * @return {@code true} if the specified object was found, {@code false} * otherwise. * @see #removeAllElements * @see #removeElementAt * @see #size */ @Override public boolean remove(Object object) { return removeElement(object); }
/** * Remove a trace listener. * @param tl Trace listener to be removed. */ public void removeTraceListener(TraceListener tl) { if (null != m_traceListeners) { m_traceListeners.removeElement(tl); // The following line added to fix the bug#5140: hasTraceListeners() returns true // after adding and removing a listener. // Check: if m_traceListeners is empty, then set it to NULL. if (0 == m_traceListeners.size()) m_traceListeners = null; } }
/** * Removes the specified {@code Certificate} from this {@code Identity}. * * @param certificate * the {@code Certificate} to be removed. * @throws KeyManagementException * if the certificate is not found. */ public void removeCertificate(Certificate certificate) throws KeyManagementException { if (certificates != null) { if (!certificates.contains(certificate)) { throw new KeyManagementException("Certificate not found"); } certificates.removeElement(certificate); } }
colors--; nodes--; colorList.get(level + 1).removeElement(child);
/** * Remove a Connection event listener. <p> * * The default implementation provided here removes this listener * from the internal list of ConnectionListeners. * * @param l the listener * @see #addConnectionListener */ public void removeConnectionListener(ConnectionListener l) { connectionListeners.removeElement(l); }
/** Remove the appender passed as parameter form the list of attached appenders. */ public void removeAppender(Appender appender) { if(appender == null || appenderList == null) return; appenderList.removeElement(appender); }
/** Removes specified listener from the current set of SplitChangeListeners */ public void removeSplitChangeListener(SplitChangeListener l) { if (listeners == null) { return; } listeners.removeElement(l); }
/** * Remove a Connection event listener. <p> * * The default implementation provided here removes this listener * from the internal list of ConnectionListeners. * * @param l the listener * @see #addConnectionListener */ public void removeConnectionListener(ConnectionListener l) { connectionListeners.removeElement(l); }
/** Remove the appender passed as parameter form the list of attached appenders. */ public void removeAppender(Appender appender) { if(appender == null || appenderList == null) { return; } appenderList.removeElement(appender); }
public void removeAppender(Appender appender) { if (appender == null || appenderList == null) { return; } appenderList.removeElement(appender); }
/** * Remove a listener for Transport events. <p> * * The default implementation provided here removes this listener * from the internal list of TransportListeners. * * @param l the listener * @see #addTransportListener */ public synchronized void removeTransportListener(TransportListener l) { if (transportListeners != null) transportListeners.removeElement(l); }
/** * Remove a listener for Folder events. <p> * * The default implementation provided here removes this listener * from the internal list of FolderListeners. * * @param l the listener * @see #addFolderListener */ public synchronized void removeFolderListener(FolderListener l) { if (folderListeners != null) folderListeners.removeElement(l); }
/** * Remove a listener for Store events. <p> * * The default implementation provided here removes this listener * from the internal list of StoreListeners. * * @param l the listener * @see #addStoreListener */ public synchronized void removeStoreListener(StoreListener l) { if (storeListeners != null) storeListeners.removeElement(l); }
/** * Remove a Folder event listener. <p> * * The implementation provided here removes this listener * from the internal list of FolderListeners. * * @param l the listener * @see #addFolderListener */ public synchronized void removeFolderListener(FolderListener l) { if (folderListeners != null) folderListeners.removeElement(l); }
} finally { if (defaultSetDefined && defaultSet.getDir(getProject()) != null) { filesets.removeElement(defaultSet);
/** remove this attribute if it exists, otherwise silently do nothing. */ public void removeAttribute(String name) { if (attributes_ == null) return; attributes_.remove(name); attributeNames_.removeElement(name); notifyObservers(); }