Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 298] New - Javadoc wrong for ModeCreateEdgeAndNode

gef
Discussion topic

Back to topic list

[Issue 298] New - Javadoc wrong for ModeCreateEdgeAndNode

Reply

Author tfmorris
Full name Tom Morris
Date 2007-03-07 20:22:55 PST
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=298
                 Issue #|298
                 Summary|Javadoc wrong for ModeCreateEdgeAndNode
               Component|gef
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|core
             Assigned to|issues@gef
             Reported by|tfmorris






------- Additional comments from tfmorris at tigris dot org Wed Mar 7 20:22:54 -0800 2007 -------
The Javadoc for the constructor

    public ModeCreateEdgeAndNode(
                                 Editor ed,
                                 Object edgeType,
                                 boolean post,
                                 SelectionButtons nodeCreator)

has the arguments out of order with the code.

Additionally the Javadoc for the constructor

    public ModeCreateEdgeAndNode(
                 Editor ed,
                 Object edgeType,
                 Object nodeType,
                 boolean post) {

references a constructor "below" which doesn't make any sense when viewing the
documentation contextually in an IDE (e.g. Eclipse) instead of on a printed page)

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

Messages

Show all messages in topic

[Issue 298] New - Javadoc wrong for ModeCreateEdgeAndNode tfmorris Tom Morris 2007-03-07 20:22:55 PST
Messages per page: