diff options
author | Tor Norbye <tnorbye@google.com> | 2012-09-04 12:59:14 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-09-04 12:59:14 -0700 |
commit | cf254cc969eb5c141bf9de47c0fb60b52b0e5730 (patch) | |
tree | b6fe72304b2de53821edfcc34c9f7ba5a108bf82 /eclipse | |
parent | 2f28a7e03edca74d3ee1e3fe4a3397bbaf802192 (diff) | |
download | sdk-cf254cc969eb5c141bf9de47c0fb60b52b0e5730.zip sdk-cf254cc969eb5c141bf9de47c0fb60b52b0e5730.tar.gz sdk-cf254cc969eb5c141bf9de47c0fb60b52b0e5730.tar.bz2 |
Suppress errors for missing markers
Change-Id: I2d34f5a4ebeaff0a75abc7cdbb41132d860c95eb
Diffstat (limited to 'eclipse')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java index ebcf9e3..d19b107 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java @@ -67,7 +67,10 @@ abstract class BaseClasspathContainerInitializer extends ClasspathContainerIniti fmessage, IMarker.SEVERITY_ERROR, IMarker.PRIORITY_HIGH); } catch (CoreException e2) { - return e2.getStatus(); + AdtPlugin.log(e2, null); + // Don't return e2.getStatus(); the job control will then produce + // a popup with this error, which isn't very interesting for the + // user. } return Status.OK_STATUS; @@ -97,7 +100,7 @@ abstract class BaseClasspathContainerInitializer extends ClasspathContainerIniti IResource.DEPTH_INFINITE); } } catch (CoreException e2) { - return e2.getStatus(); + AdtPlugin.log(e2, null); } return Status.OK_STATUS; |