Skip to content

Commit

Permalink
Schema cleanup: removing OperationResultType.minor
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Oct 1, 2021
1 parent 3f47b83 commit 7ef0013
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public String getImportanceSymbol() {
case MINOR: return ".";
default: return "?";
}
} else return Boolean.TRUE.equals(result.isMinor()) ? "." : "o";
} else return "o";
}

public LensContextType getContextToView() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public static OperationResultType shallowClone(OperationResultType result, boole
clone.setOperationKind(result.getOperationKind());
clone.setStatus(result.getStatus());
clone.setImportance(result.getImportance());
clone.setMinor(result.isMinor());
clone.setAsynchronousOperationReference(result.getAsynchronousOperationReference());
clone.setStart(CloneUtil.clone(result.getStart()));
clone.setEnd(CloneUtil.clone(result.getEnd()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13615,6 +13615,13 @@
<xsd:documentation>
TODO
</xsd:documentation>
<xsd:appinfo>
<a:schemaMigration>
<a:element>tns:minor</a:element>
<a:version>4.4</a:version>
<a:operation>removed</a:operation>
</a:schemaMigration>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="operation" type="xsd:string" minOccurs="0"/>
Expand Down Expand Up @@ -13654,15 +13661,6 @@
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="minor" type="xsd:boolean" minOccurs="0" default="false">
<xsd:annotation>
<xsd:appinfo>
<a:deprecated>true</a:deprecated>
<a:deprecatedSince>4.0</a:deprecatedSince>
<a:plannedRemoval>4.4</a:plannedRemoval>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="asynchronousOperationReference" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Expand Down

0 comments on commit 7ef0013

Please sign in to comment.