matthiasblaesing commented on code in PR #7198:
URL: https://github.com/apache/netbeans/pull/7198#discussion_r1544885607
##########
ide/bugtracking/test/unit/src/org/netbeans/modules/bugtracking/ui/repository/RepositoryComboSupportTest.java:
##########
@@ -70,8 +69,7 @@ public class RepositoryComboSupportTest {
@BeforeClass
public static void setLookup() {
- MockLookup.setLayersAndInstances(
- new DummyKenaiRepositories(),
+ MockLookup.setLayersAndInstances(new DummyRepositories(),
Review Comment:
```suggestion
MockLookup.setLayersAndInstances(
new DummyRepositories(),
```
##########
ide/bugtracking/test/unit/src/org/netbeans/modules/bugtracking/team/DummyRepositories.java:
##########
@@ -17,9 +17,8 @@
* under the License.
*/
-package org.netbeans.modules.bugtracking.kenai;
+package org.netbeans.modules.bugtracking.team;
Review Comment:
```suggestion
package org.netbeans.modules.bugtracking.dummies;
```
This is a hunch - but in `RepositoryComboSupportTest` all other dummy
implementations reside in the `dummies` package.
##########
ide/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.java:
##########
@@ -512,7 +508,7 @@ void reloadForm(boolean force) {
clearHighlights();
boolean isNew = issue.isNew();
- boolean showProductCombo = isNew || !(issue.getRepository() instanceof
KenaiRepository) ||
NBBugzillaUtils.isNbRepository(issue.getRepository().getUrl());
+ boolean showProductCombo = true;
Review Comment:
```suggestion
boolean showProductCombo = isNew ||
NBBugzillaUtils.isNbRepository(issue.getRepository().getUrl());
```
or kill `NBBugzillaUtils` and change to:
```suggestion
boolean showProductCombo = isNew;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists