IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning
This commit is contained in:
parent
1a73d27df8
commit
17b194ede6
|
@ -22,6 +22,7 @@ import org.osgi.framework.BundleException;
|
||||||
public class PluginList implements FormPanel, ActionListener {
|
public class PluginList implements FormPanel, ActionListener {
|
||||||
|
|
||||||
private static CLogger log = CLogger.getCLogger(PluginList.class);
|
private static CLogger log = CLogger.getCLogger(PluginList.class);
|
||||||
|
@SuppressWarnings("unused")
|
||||||
private int m_WindowNo;
|
private int m_WindowNo;
|
||||||
private FormFrame m_frame;
|
private FormFrame m_frame;
|
||||||
private CPanel northPanel = new CPanel();
|
private CPanel northPanel = new CPanel();
|
||||||
|
|
|
@ -19,8 +19,6 @@ package org.compiere.grid;
|
||||||
|
|
||||||
import java.awt.BorderLayout;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.Component;
|
import java.awt.Component;
|
||||||
import java.awt.Event;
|
|
||||||
import java.awt.event.KeyEvent;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -29,7 +27,6 @@ import javax.swing.BorderFactory;
|
||||||
import javax.swing.Box;
|
import javax.swing.Box;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JSeparator;
|
import javax.swing.JSeparator;
|
||||||
import javax.swing.KeyStroke;
|
|
||||||
|
|
||||||
import net.miginfocom.layout.BoundSize;
|
import net.miginfocom.layout.BoundSize;
|
||||||
import net.miginfocom.layout.ComponentWrapper;
|
import net.miginfocom.layout.ComponentWrapper;
|
||||||
|
@ -480,6 +477,7 @@ public final class VPanel extends CTabbedPane
|
||||||
* @param editor check box or button - other ignored
|
* @param editor check box or button - other ignored
|
||||||
* @param predefinedMnemonic predefined Mnemonic
|
* @param predefinedMnemonic predefined Mnemonic
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
private void setMnemonic (VEditor editor, char predefinedMnemonic)
|
private void setMnemonic (VEditor editor, char predefinedMnemonic)
|
||||||
{
|
{
|
||||||
if (editor instanceof VCheckBox)
|
if (editor instanceof VCheckBox)
|
||||||
|
@ -541,6 +539,7 @@ public final class VPanel extends CTabbedPane
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // setMnemonic
|
} // setMnemonic
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Mnemonic from text
|
* Get Mnemonic from text
|
||||||
|
|
|
@ -162,7 +162,7 @@ public class FileImportAction implements EventListener<Event>
|
||||||
|
|
||||||
hb = new Hbox();
|
hb = new Hbox();
|
||||||
Div div2 = new Div();
|
Div div2 = new Div();
|
||||||
div2.setAlign("right");
|
div2.setStyle("text-align: right;");
|
||||||
div2.appendChild(new Label(Msg.getMsg(Env.getCtx(), "Charset", false)));
|
div2.appendChild(new Label(Msg.getMsg(Env.getCtx(), "Charset", false)));
|
||||||
hb.appendChild(div2);
|
hb.appendChild(div2);
|
||||||
fCharset.setMold("select");
|
fCharset.setMold("select");
|
||||||
|
@ -174,7 +174,7 @@ public class FileImportAction implements EventListener<Event>
|
||||||
|
|
||||||
hb = new Hbox();
|
hb = new Hbox();
|
||||||
Div div3 = new Div();
|
Div div3 = new Div();
|
||||||
div3.setAlign("right");
|
div3.setStyle("text-align: right;");
|
||||||
div3.appendChild(new Label(Msg.getMsg(Env.getCtx(), "import.mode", true)));
|
div3.appendChild(new Label(Msg.getMsg(Env.getCtx(), "import.mode", true)));
|
||||||
hb.appendChild(div3);
|
hb.appendChild(div3);
|
||||||
fImportMode.setMold("select");
|
fImportMode.setMold("select");
|
||||||
|
|
Loading…
Reference in New Issue