Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SO-4264: use JSON patch to apply property conflicts during merge #680

Merged
merged 13 commits into from
Sep 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
SO-4264: changes due to revision document level API changes
  • Loading branch information
cmark committed Sep 10, 2020
commit b725804b2a421d584896d2576cda2d988f461d1d
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected void doVersionComponents(TransactionContext context) throws Exception
}

// stage update on components based on actual type
final SnomedDocument.Builder updatedComponent;
final SnomedDocument.Builder<?, ?> updatedComponent;
if (componentToVersion instanceof SnomedConceptDocument) {
final SnomedConceptDocument concept = (SnomedConceptDocument) componentToVersion;
componentIdsByReferringModule.put(concept.getModuleId(), concept.isPrimitive() ? Concepts.PRIMITIVE : Concepts.FULLY_DEFINED);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public SnomedConstraintDocument build() {
}

@Override
protected Builder getSelf() {
public Builder getSelf() {
return this;
}

Expand Down Expand Up @@ -316,7 +316,7 @@ private SnomedConstraintDocument(
}

@Override
protected Revision.Builder<?, ? extends Revision> toBuilder() {
public Revision.Builder<?, ? extends Revision> toBuilder() {
return builder(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private Builder() {
}

@Override
protected Builder getSelf() {
public Builder getSelf() {
return this;
}

Expand Down Expand Up @@ -489,7 +489,7 @@ private SnomedConceptDocument(final String id,
}

@Override
protected Revision.Builder<?, ? extends Revision> toBuilder() {
public Revision.Builder<?, ? extends Revision> toBuilder() {
return builder(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ private Builder() {
}

@Override
protected Builder getSelf() {
public Builder getSelf() {
return this;
}

Expand Down Expand Up @@ -437,7 +437,7 @@ private SnomedDescriptionIndexEntry(final String id,
}

@Override
protected Revision.Builder<?, ? extends Revision> toBuilder() {
public Revision.Builder<?, ? extends Revision> toBuilder() {
return builder(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ public Builder field(String fieldName, Object value) {
}

@Override
protected Builder getSelf() {
public Builder getSelf() {
return this;
}

Expand Down Expand Up @@ -1088,7 +1088,7 @@ private SnomedRefSetMemberIndexEntry(final String id,
}

@Override
protected Revision.Builder<?, ? extends Revision> toBuilder() {
public Revision.Builder<?, ? extends Revision> toBuilder() {
return builder(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private Builder() {
}

@Override
protected Builder getSelf() {
public Builder getSelf() {
return this;
}

Expand Down Expand Up @@ -337,7 +337,7 @@ private SnomedRelationshipIndexEntry(final String id,
}

@Override
protected Revision.Builder<?, ? extends Revision> toBuilder() {
public Revision.Builder<?, ? extends Revision> toBuilder() {
return builder(this);
}

Expand Down