diff options
author | Tor Norbye <tnorbye@google.com> | 2012-09-04 13:58:47 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-09-04 13:58:48 -0700 |
commit | 8f569b2594013c3f67c82d989bddbf5b3ada5d01 (patch) | |
tree | 6dba96c25a54f209bb7febfb325de82979d512de /eclipse/plugins | |
parent | 58930b64f71191ff3e60ce635d9ad462b7cae2a2 (diff) | |
parent | cf254cc969eb5c141bf9de47c0fb60b52b0e5730 (diff) | |
download | sdk-8f569b2594013c3f67c82d989bddbf5b3ada5d01.zip sdk-8f569b2594013c3f67c82d989bddbf5b3ada5d01.tar.gz sdk-8f569b2594013c3f67c82d989bddbf5b3ada5d01.tar.bz2 |
Merge "Suppress errors for missing markers"
Diffstat (limited to 'eclipse/plugins')
-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; |