/[classpath]/classpath/javax/swing/DefaultListSelectionModel.java
ViewVC logotype

Diff of /classpath/javax/swing/DefaultListSelectionModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by mkoch, Fri Dec 31 16:27:30 2004 UTC revision 1.12 by mkoch, Wed Jan 19 18:21:39 2005 UTC
# Line 600  public class DefaultListSelectionModel i Line 600  public class DefaultListSelectionModel i
600    {    {
601      return (ListSelectionListener[]) getListeners(ListSelectionListener.class);      return (ListSelectionListener[]) getListeners(ListSelectionListener.class);
602    }    }
603    
604      /**
605       * Returns a clone of this object.
606       * <code>listenerList</code> don't gets duplicated.
607       *
608       * @return the cloned object
609       *
610       * @throws CloneNotSupportedException if an error occurs
611       */
612      public Object clone()
613        throws CloneNotSupportedException
614      {
615        DefaultListSelectionModel model =
616          (DefaultListSelectionModel) super.clone();
617        model.sel = (BitSet) sel.clone();
618        return model;
619      }
620  }  }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26