[hg] main-silver: Issue #229335 - Task dashboard does not displa...

  • From: Jan Peska < >
  • To:
  • Subject: [hg] main-silver: Issue #229335 - Task dashboard does not displa...
  • Date: Tue, 07 May 2013 18:45:45 -0700

changeset f40e92941a11 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/f40e92941a11
description:
        Issue #229335 - Task dashboard does not display queries with the same 
name
        Completing QueryNode.equals method

diffstat:

 
bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/QueryNode.java
 |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff --git 
a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/QueryNode.java
 
b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/QueryNode.java
--- 
a/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/QueryNode.java
+++ 
b/bugtracking/src/org/netbeans/modules/bugtracking/tasks/dashboard/QueryNode.java
@@ -217,7 +217,9 @@
             return false;
         }
         final QueryNode other = (QueryNode) obj;
-        //TODO complete query equals method
+        if 
(!query.getRepositoryImpl().getId().equals(other.query.getRepositoryImpl().getId()))
 {
+            return false;
+        }
         return 
query.getDisplayName().equalsIgnoreCase(other.query.getDisplayName());
     }
 

[hg] main-silver: Issue #229335 - Task dashboard does not displa...

Jan Peska 05/08/2013

Project Features

About this Project

ConnectedDeveloper was started in November 2009, is owned by tpavek, and has 65 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close