[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

  • From: Alexander Simon < >
  • To:
  • Subject: [hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...
  • Date: Mon, 04 Feb 2013 09:25:07 -0800

changeset 53c51a2015a9 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/53c51a2015a9
description:
        fixing Bug #225299 Detect C/C++ specific performance problem
        - fix NPE

diffstat:

 
cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
 |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (23 lines):

diff --git 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
--- 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
+++ 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
@@ -298,15 +298,19 @@
         boolean remoteSources = false;
         for (Project project : list) {
             RemoteProject remoteProject = 
project.getLookup().lookup(RemoteProject.class);
+            if (remoteProject != null) {
             ExecutionEnvironment developmentHost = 
remoteProject.getDevelopmentHost();
+                if (developmentHost != null) {
             if (developmentHost.isRemote()) {
                 remoteBuildHost = true;
             }
+                }
             ExecutionEnvironment sourceFileSystemHost = 
remoteProject.getSourceFileSystemHost();
             if (sourceFileSystemHost.isRemote()) {
                 remoteSources = true;
             }
         }
+        }
         final boolean isRemoteBuildHost = remoteBuildHost;
         final boolean isRemoteSources = remoteSources;
         SwingUtilities.invokeLater(new Runnable() {

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/01/2013

<Possible follow-up(s)>

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/01/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/01/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/04/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/06/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/07/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/07/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/08/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/08/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/08/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/12/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/19/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/19/2013

[hg] main-silver: fixing Bug #225299 Detect C/C++ specific perfo...

Alexander Simon 02/22/2013

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 186 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close