Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: MODIFIED: base ...

gef
Discussion topic

Back to topic list

CVS update: MODIFIED: base ...

Reply

Author toby
Full name Toby Baier
Date 2001-06-18 02:42:24 PDT
Message User: toby
  Date: 01/06/18 02:42:24

  Modified: src/org/tigris/gef/base Diagram.java
  Log:
  Diagram changes
  Obtained from:Andreas
  Submitted by:Toby
  
  Revision Changes Path
  1.3 +2 -1 gef/src/org/tigris/g​ef/base/Diagram.java​
  
  http://gef.tigris.or​g/source/browse/gef/​src/org/tigris/gef/b​ase/Diagram.java.dif​f?r1=1.2&r2=1.3
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Diagram.java
  ====================​====================​====================​=======
  RCS file: /usr/local/tigris/da​ta/helm/cvs/reposito​ry/gef/src/org/tigri​s/gef/base/Diagram.j​ava,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- Diagram.java 2001/04/17 14:33:08 1.2
  +++ Diagram.java 2001/06/18 09:42:24 1.3
  @@ -153,7 +153,8 @@
       Vector figs = getLayer().getContents();
       int size = figs.size();
       for (int i = 0; i < size; i++)
  - if (figs.elementAt(i) instanceof FigEdge)
  + if ( (figs.elementAt(i) instanceof FigEdge) // Some figs might not have a owner?
  + && (null != ((FigEdge)figs.eleme​ntAt(i)).getOwner())​)
       res.addElement(((Fig​Edge)figs.elementAt(​i)).getOwner());
       return res;
     }
  
  
  

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: cvs-help at gef dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: MODIFIED: base ... toby Toby Baier 2001-06-18 02:42:24 PDT
Messages per page: