Skip to content
Snippets Groups Projects
Commit 2c16c503 authored by Alvaro Fides's avatar Alvaro Fides
Browse files

changed to java 1.4 and removed annotations

parent fa4ce353
No related branches found
No related tags found
No related merge requests found
#Tue Apr 05 16:16:54 CEST 2011 #Tue Apr 19 16:17:12 CEST 2011
eclipse.preferences.version=1 eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.compliance=1.4
org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
org.eclipse.jdt.core.compiler.source=1.5 org.eclipse.jdt.core.compiler.source=1.3
...@@ -62,7 +62,6 @@ public class NewItemWizard extends Wizard implements INewWizard { ...@@ -62,7 +62,6 @@ public class NewItemWizard extends Wizard implements INewWizard {
* This method is called when 'Finish' button is pressed in the wizard. We * This method is called when 'Finish' button is pressed in the wizard. We
* will create an operation and run it using wizard as execution context. * will create an operation and run it using wizard as execution context.
*/ */
@Override
public boolean performFinish() { public boolean performFinish() {
// get info from the wizard // get info from the wizard
final String clsname = page.getClasname().getText(); final String clsname = page.getClasname().getText();
...@@ -71,7 +70,6 @@ public class NewItemWizard extends Wizard implements INewWizard { ...@@ -71,7 +70,6 @@ public class NewItemWizard extends Wizard implements INewWizard {
// this job performs the creationof the item // this job performs the creationof the item
Job job = new WorkspaceJob("wizard.item.job") { //$NON-NLS-1$ Job job = new WorkspaceJob("wizard.item.job") { //$NON-NLS-1$
@Override
public IStatus runInWorkspace(IProgressMonitor monitor) public IStatus runInWorkspace(IProgressMonitor monitor)
throws CoreException { throws CoreException {
try { try {
......
...@@ -141,7 +141,6 @@ public class NewItemWizardPage extends NewTypeWizardPage { ...@@ -141,7 +141,6 @@ public class NewItemWizardPage extends NewTypeWizardPage {
} }
String clsName = clasname.getText() + ".class"; //$NON-NLS-1$ String clsName = clasname.getText() + ".class"; //$NON-NLS-1$
if (clsName.trim().length() != 0) { if (clsName.trim().length() != 0) {
@SuppressWarnings("deprecation")
IStatus status = JavaConventions.validateClassFileName(clsName); IStatus status = JavaConventions.validateClassFileName(clsName);
// TODO: Use new method to check class naming. // TODO: Use new method to check class naming.
if (!status.isOK()) { if (!status.isOK()) {
...@@ -187,7 +186,6 @@ public class NewItemWizardPage extends NewTypeWizardPage { ...@@ -187,7 +186,6 @@ public class NewItemWizardPage extends NewTypeWizardPage {
} }
} }
@Override
protected void handleFieldChanged(String fieldName) { protected void handleFieldChanged(String fieldName) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
super.handleFieldChanged(fieldName); super.handleFieldChanged(fieldName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment