ItEr33S08ValidacionEProbasFuncionaisItEr32S09: Instance variables not serializable belonging to a serializable class are transient now
This commit is contained in:
parent
f3939e205f
commit
b4823398c6
11 changed files with 13 additions and 13 deletions
|
|
@ -88,7 +88,7 @@ public class TwoWaySelector extends HtmlMacroComponent {
|
|||
*
|
||||
* @author Manuel Rego Casasnovas <mrego@igalia.com>
|
||||
*/
|
||||
private ListitemRenderer renderer = new ListitemRenderer() {
|
||||
private transient ListitemRenderer renderer = new ListitemRenderer() {
|
||||
@Override
|
||||
public void render(Listitem item, Object data) throws Exception {
|
||||
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ public class DependencyList extends XulElement implements AfterCompose {
|
|||
|
||||
private static final Log LOG = LogFactory.getLog(DependencyList.class);
|
||||
|
||||
private IZoomLevelChangedListener listener;
|
||||
private transient IZoomLevelChangedListener listener;
|
||||
|
||||
private final FunctionalityExposedForExtensions<?> context;
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ public class Planner extends HtmlMacroComponent {
|
|||
|
||||
private FunctionalityExposedForExtensions<?> context;
|
||||
|
||||
private IDisabilityConfiguration disabilityConfiguration;
|
||||
private transient IDisabilityConfiguration disabilityConfiguration;
|
||||
|
||||
public Planner() {
|
||||
registerNeededScripts();
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ public class TaskComponent extends Div implements AfterCompose {
|
|||
private boolean isTopLevel;
|
||||
|
||||
private final Task task;
|
||||
private PropertyChangeListener propertiesListener;
|
||||
private transient PropertyChangeListener propertiesListener;
|
||||
|
||||
public Task getTask() {
|
||||
return task;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public class TaskContainerComponent extends TaskComponent implements
|
|||
private List<TaskComponent> subtaskComponents = new ArrayList<TaskComponent>();
|
||||
private final TaskList taskList;
|
||||
|
||||
private IExpandListener expandListener;
|
||||
private transient IExpandListener expandListener;
|
||||
|
||||
public TaskContainerComponent(TaskContainer taskContainer, TaskList taskList) {
|
||||
super(taskContainer, taskList.getDisabilityConfiguration());
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public class TaskList extends XulElement implements AfterCompose {
|
|||
|
||||
private static final int HEIGHT_PER_ROW = 20; /* 30 */
|
||||
|
||||
private IZoomLevelChangedListener zoomLevelChangedListener;
|
||||
private transient IZoomLevelChangedListener zoomLevelChangedListener;
|
||||
|
||||
private Menupopup contextMenu;
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ public class TimeTrackedTable<T> extends HtmlMacroComponent {
|
|||
private final Callable<List<T>> data;
|
||||
private final ICellForDetailItemRenderer<DetailItem, T> cellRenderer;
|
||||
private final TimeTracker timeTracker;
|
||||
private IZoomLevelChangedListener zoomListener;
|
||||
private transient IZoomLevelChangedListener zoomListener;
|
||||
|
||||
public TimeTrackedTable(Callable<List<T>> dataSource,
|
||||
ICellForDetailItemRenderer<DetailItem, T> cellRenderer,
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ public class MutableTreeModel<T> extends AbstractTreeModel {
|
|||
|
||||
private final Node<T> root;
|
||||
|
||||
private Map<T, Node<T>> nodesByDomainObject = new WeakHashMap<T, Node<T>>();
|
||||
private transient Map<T, Node<T>> nodesByDomainObject = new WeakHashMap<T, Node<T>>();
|
||||
|
||||
private static <T> Node<T> wrapOne(T object) {
|
||||
return new Node<T>(object);
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
package org.navalplanner.web.common.components;
|
||||
|
||||
import static org.navalplanner.web.I18nHelper._;
|
||||
|
||||
import java.beans.BeanInfo;
|
||||
import java.beans.IntrospectionException;
|
||||
import java.beans.Introspector;
|
||||
|
|
@ -39,8 +41,6 @@ import org.zkoss.zul.Listcell;
|
|||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import static org.navalplanner.web.I18nHelper._;
|
||||
|
||||
/**
|
||||
* ZK macro component that shows two {@link Listbox} allowing to move objects
|
||||
* between each other.
|
||||
|
|
@ -90,7 +90,7 @@ public class TwoWaySelector extends HtmlMacroComponent {
|
|||
*
|
||||
* @author Manuel Rego Casasnovas <mrego@igalia.com>
|
||||
*/
|
||||
private ListitemRenderer renderer = new ListitemRenderer() {
|
||||
private transient ListitemRenderer renderer = new ListitemRenderer() {
|
||||
@Override
|
||||
public void render(Listitem item, Object data) throws Exception {
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ public class DetailsOrderElementController extends
|
|||
Util.reloadBindings(self);
|
||||
}
|
||||
|
||||
private ListitemRenderer renderer = new HoursGroupListitemRender();
|
||||
private transient ListitemRenderer renderer = new HoursGroupListitemRender();
|
||||
|
||||
public ListitemRenderer getRenderer() {
|
||||
return renderer;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ public class OrderElementTreeController extends GenericForwardComposer {
|
|||
|
||||
private final OrderElementController orderElementController;
|
||||
|
||||
private IPredicate predicate;
|
||||
private transient IPredicate predicate;
|
||||
|
||||
public List<org.navalplanner.business.labels.entities.Label> getLabels() {
|
||||
return orderModel.getLabels();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue