diff options
author | Andre Weinand | 2003-07-22 07:57:00 +0000 |
---|---|---|
committer | Andre Weinand | 2003-07-22 07:57:00 +0000 |
commit | 6284a9da7e9b49340a738b9a1788d88dc1c4a7d5 (patch) | |
tree | 548e4d6c9b5f3750eaa4e9c63d15add3327cc0d8 /examples/org.eclipse.compare.examples | |
parent | a9cbbac15d24e88e32afdb7a80a0723f3f16b3cf (diff) | |
download | eclipse.platform.team-6284a9da7e9b49340a738b9a1788d88dc1c4a7d5.tar.gz eclipse.platform.team-6284a9da7e9b49340a738b9a1788d88dc1c4a7d5.tar.xz eclipse.platform.team-6284a9da7e9b49340a738b9a1788d88dc1c4a7d5.zip |
fixed compiler warnings
Diffstat (limited to 'examples/org.eclipse.compare.examples')
-rw-r--r-- | examples/org.eclipse.compare.examples/src/org/eclipse/compare/examples/structurecreator/KeyValuePairStructureCreator.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/org.eclipse.compare.examples/src/org/eclipse/compare/examples/structurecreator/KeyValuePairStructureCreator.java b/examples/org.eclipse.compare.examples/src/org/eclipse/compare/examples/structurecreator/KeyValuePairStructureCreator.java index 8d1b2188b..04f3f880f 100644 --- a/examples/org.eclipse.compare.examples/src/org/eclipse/compare/examples/structurecreator/KeyValuePairStructureCreator.java +++ b/examples/org.eclipse.compare.examples/src/org/eclipse/compare/examples/structurecreator/KeyValuePairStructureCreator.java @@ -15,6 +15,7 @@ import org.eclipse.swt.graphics.*; import org.eclipse.jface.text.*; import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.compare.*; @@ -69,7 +70,7 @@ public class KeyValuePairStructureCreator implements IStructureCreator { public Image getImage() { return CompareUI.getImage(getType()); } - }; + } public KeyValuePairStructureCreator() { @@ -121,10 +122,10 @@ public class KeyValuePairStructureCreator implements IStructureCreator { return root; } catch (CoreException ex) { String message= Util.getString("KeyValuePairStructureCreator.CoreException.message"); //$NON-NLS-1$ - CompareUI.getPlugin().getLog().log(new Status(Status.ERROR, CompareUI.PLUGIN_ID, 0, message, ex)); + CompareUI.getPlugin().getLog().log(new Status(IStatus.ERROR, CompareUI.PLUGIN_ID, 0, message, ex)); } catch (BadLocationException ex) { String message= Util.getString("KeyValuePairStructureCreator.BadLocationException.message"); //$NON-NLS-1$ - CompareUI.getPlugin().getLog().log(new Status(Status.ERROR, CompareUI.PLUGIN_ID, 0, message, ex)); + CompareUI.getPlugin().getLog().log(new Status(IStatus.ERROR, CompareUI.PLUGIN_ID, 0, message, ex)); } return null; |