You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/26 22:41:57 UTC

[GitHub] [netbeans] Atrament666 commented on a diff in pull request #5155: Fix missing ICON_RESOURCE in git tag actions

Atrament666 commented on code in PR #5155:
URL: https://github.com/apache/netbeans/pull/5155#discussion_r1057356676


##########
ide/git/src/org/netbeans/modules/git/ui/tag/ManageTagsAction.java:
##########
@@ -47,24 +47,34 @@
 public class ManageTagsAction extends SingleRepositoryAction {
 
     private static final Logger LOG = Logger.getLogger(ManageTagsAction.class.getName());
+    private static final String ICON_RESOURCE = "org/netbeans/modules/git/resources/icons/tags.png"; //NOI18N
+
+    public ManageTagsAction() {
+        super(ICON_RESOURCE);
+    }
+
+    @Override
+    protected String iconResource() {
+        return ICON_RESOURCE;
+    }
 
     @Override
-    protected void performAction (File repository, File[] roots, VCSContext context) {
+    protected void performAction(File repository, File[] roots, VCSContext context) {

Review Comment:
   I reverted the formatting changes, I hope that the new commit is ok...



-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists