Commit d89ec678 authored by Skylot's avatar Skylot

style: resolve compiler warnings

parent f9f840fb
......@@ -36,6 +36,7 @@ public class TestGenericsMthOverride extends IntegrationTest {
}
}
@SuppressWarnings("unchecked")
public static class D<X, Y> implements I<X, Y> {
@Override
public Object method(Object x) {
......
......@@ -20,6 +20,8 @@ import jadx.gui.ui.MainWindow;
import jadx.gui.utils.JumpPosition;
public abstract class AbstractCodeArea extends RSyntaxTextArea {
private static final long serialVersionUID = -3980354865216031972L;
private static final Logger LOG = LoggerFactory.getLogger(AbstractCodeArea.class);
protected final ContentPanel contentPanel;
......
......@@ -8,6 +8,7 @@ import jadx.gui.ui.TabbedPane;
* The abstract base class for a content panel that show text based code or a.g. a resource
*/
public abstract class AbstractCodeContentPanel extends ContentPanel {
private static final long serialVersionUID = 4685846894279064422L;
protected AbstractCodeContentPanel(TabbedPane panel, JNode jnode) {
super(panel, jnode);
......
......@@ -17,11 +17,13 @@ import jadx.gui.utils.UiUtils;
* A panel combining a {@link SearchBar and a scollable {@link CodeArea}
*/
public class CodePanel extends JPanel {
private static final long serialVersionUID = 1117721869391885865L;
private final SearchBar searchBar;
private final AbstractCodeArea codeArea;
private final JScrollPane codeScrollPane;
@SuppressWarnings("serial")
public CodePanel(ContentPanel contentPanel, AbstractCodeArea codeArea) {
this.codeArea = codeArea;
searchBar = new SearchBar(codeArea);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment