Skip to content

Commit d78ce33

Browse files
author
Jakub Amanowicz
committed
License & Constraint: extend AnyObject, not NakshaFeature
Signed-off-by: Jakub Amanowicz <jakub.amanowicz@here.com>
1 parent e534fab commit d78ce33

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

here-naksha-lib-core/src/main/java/com/here/naksha/lib/core/models/License.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
import com.fasterxml.jackson.annotation.JsonCreator;
2222
import java.util.Arrays;
2323
import java.util.List;
24+
import naksha.base.AnyObject;
25+
import naksha.base.JvmObject;
2426
import naksha.model.objects.NakshaFeature;
2527

26-
public class License extends NakshaFeature {
28+
public class License extends AnyObject {
2729

2830
// Source: https://github.com/shinnn/spdx-license-ids/blob/master/index.json
2931
// Information about the licenses can be found here: https://spdx.org/licenses/ OR

here-naksha-lib-core/src/main/java/com/here/naksha/lib/core/models/indexing/Constraint.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
*/
1919
package com.here.naksha.lib.core.models.indexing;
2020

21+
import naksha.base.AnyObject;
2122
import naksha.base.JvmListProxy;
2223
import naksha.base.JvmMapProxy;
2324
import naksha.model.objects.NakshaFeature;
2425

2526
/** Base class of all possible constraints that can be combined. */
26-
public class Constraint extends NakshaFeature {
27+
public class Constraint extends AnyObject {
2728

2829
public static class ConstraintList extends JvmListProxy<Constraint> {
2930

0 commit comments

Comments
 (0)