1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-08 06:12:24 +00:00
parent bcd45d7218
commit dbf3690c8b

View file

@ -21,10 +21,7 @@ import org.eclipse.cdt.core.model.ICProject;
import org.eclipse.cdt.internal.corext.codemanipulation.StubUtility;
/**
*/
public class CodeTemplateContextType extends FileTemplateContextType {
/* context types */
private static final String CONTEXTTYPE_PREFIX= "org.eclipse.cdt.ui.text.codetemplates."; //$NON-NLS-1$
@ -79,7 +76,6 @@ public class CodeTemplateContextType extends FileTemplateContextType {
public static final String TYPE_COMMENT= "typecomment"; //$NON-NLS-1$
public static final String FILE_COMMENT= "filecomment"; //$NON-NLS-1$
/**
* Resolver that resolves to the variable defined in the context.
*/
@ -93,7 +89,6 @@ public class CodeTemplateContextType extends FileTemplateContextType {
* Resolver for task tags.
*/
protected static class Todo extends TemplateVariableResolver {
public Todo() {
super("todo", TemplateMessages.CodeTemplateContextType_variable_description_todo); //$NON-NLS-1$
}
@ -230,7 +225,6 @@ public class CodeTemplateContextType extends FileTemplateContextType {
}
}
private boolean isValidComment(String template) {
// IScanner scanner= ToolFactory.createScanner(true, false, false, false);
// scanner.setSource(template.toCharArray());
@ -245,5 +239,4 @@ public class CodeTemplateContextType extends FileTemplateContextType {
// return false;
return true;
}
}