The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 027ba216 authored by Jakob Schöttl's avatar Jakob Schöttl
Browse files

Bugfix: do not serialize the sealed field

parent 043d8f90
package org.vadere.state.attributes;
import org.apache.commons.attributes.DefaultSealable;
/**
* Abstract base class for all static simulation attributes.
*
......
package org.vadere.state.attributes;
import org.apache.commons.attributes.Sealable;
public class DefaultSealable implements Sealable {
/** Should not be serialized. */
private transient boolean sealed;
@Override
public void seal() {
if (sealed)
throw new IllegalStateException("Object is already sealed.");
sealed = true;
}
protected void checkSealed() {
if (sealed)
throw new IllegalStateException("Object is sealed.");
}
}
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