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:
parent
afb3fae823
commit
8dffbb2ec9
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue