wdamick / legstar

Automatically exported from code.google.com/p/legstar
0 stars 0 forks source link

legstar-cobcgen, CobolDataItem#isStructure is wrong #164

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The method is implemented like this:

    public boolean isStructure() {
        return (getChildren().size() == 0);
    }

It should be:

    public boolean isStructure() {
        return (getChildren().size() > 0);
    }

Original issue reported on code.google.com by fady.mou...@gmail.com on 19 Feb 2012 at 1:15

GoogleCodeExporter commented 8 years ago

Original comment by fady.mou...@gmail.com on 25 Feb 2012 at 9:29

GoogleCodeExporter commented 8 years ago

Original comment by fady.mou...@gmail.com on 19 May 2012 at 5:12

GoogleCodeExporter commented 8 years ago

Original comment by fady.mou...@gmail.com on 8 Jun 2012 at 10:17