fixed java build warnings
authorVictor Kirhenshtein <victor@netxms.org>
Wed, 25 May 2016 18:44:18 +0000 (21:44 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Wed, 25 May 2016 18:44:18 +0000 (21:44 +0300)
src/java/netxms-eclipse/Core/src/org/netxms/ui/eclipse/tools/NXFindAndReplaceAction.java
src/java/netxms-eclipse/PolicyManager/src/org/netxms/ui/eclipse/policymanager/actions/EditPolicy.java

index 43e1060..3dee2db 100644 (file)
@@ -10,6 +10,7 @@ import org.eclipse.ui.part.ViewPart;
 import org.eclipse.ui.texteditor.FindReplaceAction;
 import org.netxms.ui.eclipse.console.Activator;
 
+@SuppressWarnings("deprecation")
 public class NXFindAndReplaceAction
 {
    public static FindReplaceAction getFindReplaceAction(ViewPart wp)
index 50c91f7..dfb9c27 100644 (file)
@@ -22,7 +22,6 @@ import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.jface.viewers.TreeSelection;
 import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IWorkbenchPage;
 import org.eclipse.ui.IWorkbenchPart;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.PartInitException;