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