Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing 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 e0689ea2 authored by Jakob Schöttl's avatar Jakob Schöttl
Browse files

Refactor helper method

parent 6518661c
......@@ -72,7 +72,7 @@ public class Topography {
allOtherAttributes.add(attributes);
allOtherAttributes.add(attributesCar);
allOtherAttributes.add(attributesPedestrian);
removeNullAttributes();
removeNullAttributesFrom(allOtherAttributes);
obstacles = new LinkedList<>();
stairs = new LinkedList<>();
......@@ -94,7 +94,7 @@ public class Topography {
}
/** Clean up the list of attributes by removing {@code null}. */
private void removeNullAttributes() {
private void removeNullAttributesFrom(Set<Attributes> allOtherAttributes) {
allOtherAttributes.remove(null);
// Actually, only attributes, not nulls should be added to this set.
// But sometimes null is passed as attributes and added to the set,
......
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