diff --git a/src/main/java/spoon/support/gui/SpoonObjectFieldsTable.java b/src/main/java/spoon/support/gui/SpoonObjectFieldsTable.java index 1a3064f27f4..6802c15eb44 100644 --- a/src/main/java/spoon/support/gui/SpoonObjectFieldsTable.java +++ b/src/main/java/spoon/support/gui/SpoonObjectFieldsTable.java @@ -16,27 +16,28 @@ */ package spoon.support.gui; -import spoon.Launcher; -import javax.swing.JFrame; -import javax.swing.JPanel; -import javax.swing.JScrollPane; -import javax.swing.JTable; -import javax.swing.table.AbstractTableModel; import java.awt.BorderLayout; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.List; +import javax.swing.JFrame; +import javax.swing.JPanel; +import javax.swing.JScrollPane; +import javax.swing.JTable; +import javax.swing.table.AbstractTableModel; +import spoon.Launcher; + public class SpoonObjectFieldsTable extends JFrame { public class SpoonObjectTableModel extends AbstractTableModel { private static final long serialVersionUID = 1L; - List field; + transient List field; - Object o; + transient Object o; public SpoonObjectTableModel(Object o) { super(); @@ -112,7 +113,7 @@ public void scanFields(Class c) { private JTable jTable = null; - private Object o; + private transient Object o; /** * This is the default constructor @@ -178,3 +179,4 @@ private void initialize() { } } +