[466409] reduce warnings
diff --git a/plugins/org.eclipse.actf.model.ui.editors.ooo/src/org/eclipse/actf/model/internal/ui/editors/ooo/util/ODFUtils.java b/plugins/org.eclipse.actf.model.ui.editors.ooo/src/org/eclipse/actf/model/internal/ui/editors/ooo/util/ODFUtils.java
index 0cbaa40..8c9248c 100644
--- a/plugins/org.eclipse.actf.model.ui.editors.ooo/src/org/eclipse/actf/model/internal/ui/editors/ooo/util/ODFUtils.java
+++ b/plugins/org.eclipse.actf.model.ui.editors.ooo/src/org/eclipse/actf/model/internal/ui/editors/ooo/util/ODFUtils.java
@@ -209,6 +209,7 @@
System.load(openOfficeProgramPath + "..\\URE\\bin\\jpipe.dll");
ClassLoader javaClassLoader = null;
+ //TODO replace with toURI().toURL()
try {
URL[] jarList = new URL[] {
new File(openOfficeProgramPath + "..\\URE\\java\\juh.jar")
diff --git a/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/preferences/RootPreferencePage.java b/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/preferences/RootPreferencePage.java
index 434a050..0d85721 100644
--- a/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/preferences/RootPreferencePage.java
+++ b/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/preferences/RootPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2004, 2008 IBM Corporation.
+* Copyright (c) 2004, 2015 IBM Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -71,6 +71,10 @@
return (parent);
}
+ /**
+ * @deprecated will be removed in 1.4.0
+ */
+ @SuppressWarnings("rawtypes")
public static Map getPreferences () {
return null;
}
@@ -80,6 +84,8 @@
* the common GUI blocks needed to manipulate various types
* of preferences. Each field editor knows how to save and
* restore itself.
+ *
+ * @deprecated will be removed in 1.4.0
*/
public void createFieldEditors () {
}
diff --git a/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/util/HighlightStringListener.java b/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/util/HighlightStringListener.java
index af52e4f..7b427e5 100644
--- a/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/util/HighlightStringListener.java
+++ b/plugins/org.eclipse.actf.ui/src/org/eclipse/actf/ui/util/HighlightStringListener.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 IBM Corporation and Others
+ * Copyright (c) 2007, 2015 IBM Corporation and Others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -53,18 +53,10 @@
return bgColor;
}
- public void setBgColor(Color bgColor) {
- this.bgColor = bgColor;
- }
-
public Color getFgColor() {
return fgColor;
}
- public void setFgColor(Color fgColor) {
- this.fgColor = fgColor;
- }
-
public int getStyle() {
return style;
}
@@ -77,9 +69,6 @@
return targetS;
}
- public void setTargetS(String targetS) {
- this.targetS = targetS;
- }
};
private Vector<HighlightInfo> highlightInfoV;
diff --git a/plugins/org.eclipse.actf.util.httpproxy/src/org/eclipse/actf/util/httpproxy/util/Logger.java b/plugins/org.eclipse.actf.util.httpproxy/src/org/eclipse/actf/util/httpproxy/util/Logger.java
index 6b55aae..ef93699 100644
--- a/plugins/org.eclipse.actf.util.httpproxy/src/org/eclipse/actf/util/httpproxy/util/Logger.java
+++ b/plugins/org.eclipse.actf.util.httpproxy/src/org/eclipse/actf/util/httpproxy/util/Logger.java
@@ -39,7 +39,7 @@
* @param clazz
* @return
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
public static Logger getLogger(Class clazz) {
return new Logger(clazz);
}
@@ -131,7 +131,7 @@
private final java.util.logging.Logger fDelegate;
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
private Logger(Class clazz) {
fDelegate = java.util.logging.Logger.getLogger(clazz.getName());
}