IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning

This commit is contained in:
Carlos Ruiz 2013-01-23 10:25:47 -08:00
parent 1a73d27df8
commit 17b194ede6
3 changed files with 5 additions and 5 deletions

View File

@ -22,6 +22,7 @@ import org.osgi.framework.BundleException;
public class PluginList implements FormPanel, ActionListener {
private static CLogger log = CLogger.getCLogger(PluginList.class);
@SuppressWarnings("unused")
private int m_WindowNo;
private FormFrame m_frame;
private CPanel northPanel = new CPanel();

View File

@ -19,8 +19,6 @@ package org.compiere.grid;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Event;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@ -29,7 +27,6 @@ import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.JPanel;
import javax.swing.JSeparator;
import javax.swing.KeyStroke;
import net.miginfocom.layout.BoundSize;
import net.miginfocom.layout.ComponentWrapper;
@ -480,6 +477,7 @@ public final class VPanel extends CTabbedPane
* @param editor check box or button - other ignored
* @param predefinedMnemonic predefined Mnemonic
*/
/*
private void setMnemonic (VEditor editor, char predefinedMnemonic)
{
if (editor instanceof VCheckBox)
@ -541,6 +539,7 @@ public final class VPanel extends CTabbedPane
}
}
} // setMnemonic
*/
/**
* Get Mnemonic from text

View File

@ -162,7 +162,7 @@ public class FileImportAction implements EventListener<Event>
hb = new Hbox();
Div div2 = new Div();
div2.setAlign("right");
div2.setStyle("text-align: right;");
div2.appendChild(new Label(Msg.getMsg(Env.getCtx(), "Charset", false)));
hb.appendChild(div2);
fCharset.setMold("select");
@ -174,7 +174,7 @@ public class FileImportAction implements EventListener<Event>
hb = new Hbox();
Div div3 = new Div();
div3.setAlign("right");
div3.setStyle("text-align: right;");
div3.appendChild(new Label(Msg.getMsg(Env.getCtx(), "import.mode", true)));
hb.appendChild(div3);
fImportMode.setMold("select");