[hg] main-silver: @Override annotations added.

  • From:
  • To:
  • Subject: [hg] main-silver: @Override annotations added.
  • Date: Fri, 26 Apr 2013 21:48:03 -0700

changeset 76c1122e47b5 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/76c1122e47b5
description:
        @Override annotations added.

diffstat:

 
debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesActionsProvider.java
 |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (55 lines):

diff --git 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesActionsProvider.java
 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesActionsProvider.java
--- 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesActionsProvider.java
+++ 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesActionsProvider.java
@@ -100,11 +100,14 @@
     private final Action GO_TO_SOURCE_ACTION = Models.createAction (
         NbBundle.getMessage(VariablesActionsProvider.class, 
"CTL_GoToSource"), 
         new Models.ActionPerformer () {
+            @Override
             public boolean isEnabled (Object node) {
                 return true;
             }
+            @Override
             public void perform (final Object[] nodes) {
                 lookupProvider.lookupFirst(null, 
RequestProcessor.class).post(new Runnable() {
+                    @Override
                     public void run() {
                         goToSource ((Field) nodes [0]);
                     }
@@ -117,11 +120,14 @@
     private final Action GO_TO_TYPE_SOURCE_ACTION = Models.createAction (
         NbBundle.getMessage(VariablesActionsProvider.class, 
"CTL_GoToTypeSource"), 
         new Models.ActionPerformer () {
+            @Override
             public boolean isEnabled (Object node) {
                 return true;
             }
+            @Override
             public void perform (final Object[] nodes) {
                 lookupProvider.lookupFirst(null, 
RequestProcessor.class).post(new Runnable() {
+                    @Override
                     public void run() {
                         showSource (((ObjectVariable) nodes [0]).getType());
                     }
@@ -139,6 +145,7 @@
         this.lookupProvider = lookupProvider;
     }
 
+    @Override
     public Action[] getActions (Object node) throws UnknownTypeException {
         if (node == TreeModel.ROOT)
             return new Action[] {
@@ -172,11 +179,13 @@
         throw new UnknownTypeException (node);
     }
     
+    @Override
     public void performDefaultAction (final Object node) throws 
UnknownTypeException {
         if (node == TreeModel.ROOT) 
             return;
         if (node instanceof Field) {
             lookupProvider.lookupFirst(null, 
RequestProcessor.class).post(new Runnable() {
+                @Override
                 public void run() {
                     goToSource ((Field) node);
                 }

[hg] main-silver: @Override annotations added.

mentlicher 04/27/2013

Project Features

About this Project

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