Changeset 1050


Ignore:
Timestamp:
10/30/11 21:01:10 (13 years ago)
Author:
masberg
Message:

Fix ModelicaSource?.hasChildren() returning true when there are no children. Also fix two typos in the comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.core/src/org/modelica/mdt/internal/core/ModelicaSourceFile.java

    r517 r1050  
    212212            CompilerInstantiationException
    213213    {
    214         return true;
    215         //return !getChildren().isEmpty();
     214        return !getChildren().isEmpty();
    216215    }
    217216
     
    353352    {
    354353        /*
    355          * do basicaly an optimized tree search for the innermost
     354         * do basically an optimized tree search for the innermost
    356355         * class definition around queried position
    357356         */
     
    403402    {
    404403        /*
    405          * do basicaly an optimized tree search for the innermost
     404         * do basically an optimized tree search for the innermost
    406405         * class definition around queried position
    407406         */
Note: See TracChangeset for help on using the changeset viewer.