1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Added missing @Override annotations.

This commit is contained in:
Sergey Prigogin 2011-11-07 13:07:18 -08:00
parent afb3fae823
commit 8dffbb2ec9

View file

@ -149,6 +149,7 @@ class OpenDeclarationsJob extends Job implements ASTRunnable {
}
}
@Override
public IStatus runOnAST(ILanguage lang, IASTTranslationUnit ast) throws CoreException {
if (ast == null) {
return Status.OK_STATUS;
@ -484,6 +485,7 @@ class OpenDeclarationsJob extends Job implements ASTRunnable {
}
runInUIThread(new Runnable() {
@Override
public void run() {
ISourceReference target= null;
if (uniqueElements.size() == 1) {
@ -561,6 +563,7 @@ class OpenDeclarationsJob extends Job implements ASTRunnable {
final int length = fileloc.getNodeLength();
runInUIThread(new Runnable() {
@Override
public void run() {
try {
fAction.open(path, offset, length);
@ -588,6 +591,7 @@ class OpenDeclarationsJob extends Job implements ASTRunnable {
if (name != null) {
final IPath path = new Path(name);
runInUIThread(new Runnable() {
@Override
public void run() {
try {
fAction.open(path, 0, 0);