Changeset 1119 for trunk


Ignore:
Timestamp:
11/22/11 20:11:10 (13 years ago)
Author:
masberg
Message:

Add the annotation SuppressWarnings?('unused') to the static member functionProposal to avoid warning since it might still be interesting to look at it during debugging. Fix typos in comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.ui/src/org/modelica/mdt/ui/assist/ModelicaCompletionProcessor.java

    r1118 r1119  
    9494    private IEditorPart editor;
    9595   
     96    @SuppressWarnings("unused")
    9697    private static String functionProposal = "";
    9798       
     
    140141                && c != ')' && c != '=');
    141142
    142             offset++; /* exclude the charachter we looked at lastly */
     143            offset++; /* exclude the character we looked at lastly */
    143144            return doc.get(offset, (end - offset));
    144145        }
     
    147148            ErrorManager.logBug(UIPlugin.getSymbolicName(), "illegal position encountered while calculating prefix");
    148149        }
    149         return ""; /* this will happend only if our code is broken somehow */
     150        return ""; /* this will happen only if our code is broken somehow */
    150151    }
    151152
Note: See TracChangeset for help on using the changeset viewer.