# HG changeset patch # User timkelly # Date 1284561142 18000 # Node ID 283cfb261d8f27b9c166f0fb7177d6bc67f4ca14 # Parent 14c0473916ef148f3096195876f5ffac6592ba30 don't run new plugin checker if there are no SDKs diff -r 14c0473916ef -r 283cfb261d8f core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java --- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java Tue Sep 14 15:25:12 2010 -0500 +++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java Wed Sep 15 09:32:22 2010 -0500 @@ -48,6 +48,9 @@ } final List sdkList = SDKCorePlugin.getSDKManager().getSDKList(); + if (sdkList.size() == 0){ + return; + } Job job = new Job("Checking installed SDKs for plugins") { @Override protected IStatus run(IProgressMonitor monitor) {