Skip to content

Commit d15a510

Browse files
author
Jakub Amanowicz
committed
CASL-1419 reverted unnecessary deltaNs modifications
Signed-off-by: Jakub Amanowicz <jakub.amanowicz@here.com>
1 parent 68a67f7 commit d15a510

File tree

1 file changed

+3
-6
lines changed
  • here-naksha-lib-core/src/main/java/com/here/naksha/lib/core/models/geojson/implementation/namespaces

1 file changed

+3
-6
lines changed

here-naksha-lib-core/src/main/java/com/here/naksha/lib/core/models/geojson/implementation/namespaces/HereDeltaNs.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
@SuppressWarnings({"UnusedReturnValue", "unused"})
2828
public class HereDeltaNs extends JsonObject {
2929

30-
public static final String CHANGE_STATE_PROPERTY = "changeState";
31-
public static final String REVIEW_STATE_PROPERTY = "reviewState";
32-
3330
/**
3431
* Create a new default delta namespace for new features.
3532
*/
@@ -46,8 +43,8 @@ public HereDeltaNs() {
4643
*/
4744
@JsonCreator
4845
public HereDeltaNs(
49-
@JsonProperty(CHANGE_STATE_PROPERTY) @Nullable EChangeState changeState,
50-
@JsonProperty(REVIEW_STATE_PROPERTY) @Nullable EReviewState reviewState) {
46+
@JsonProperty("changeState") @Nullable EChangeState changeState,
47+
@JsonProperty("reviewState") @Nullable EReviewState reviewState) {
5148
if (changeState == null) {
5249
changeState = EChangeState.CREATED;
5350
}
@@ -215,7 +212,7 @@ public HereDeltaNs(
215212
* (see <a href="https://devzone.it.here.com/jira/browse/CMECMSSUP-1945">CMECMSSUP-1945</a>)!
216213
*/
217214
@JsonProperty
218-
private Long priorityCategory;
215+
private long priorityCategory;
219216

220217
/**
221218
* The UNIX epoch timestamp in milliseconds of the time until when the edit must be taken care of. This property is only set automatically

0 commit comments

Comments
 (0)