We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2f2596 commit 13218d6Copy full SHA for 13218d6
src/main/java/com/microsoft/graph/http/GraphErrorResponse.java
@@ -80,8 +80,8 @@ public final AdditionalDataManager additionalDataManager() {
80
public GraphErrorResponse copy() {
81
GraphErrorResponse responseCopy = new GraphErrorResponse();
82
responseCopy.additionalDataManager = this.additionalDataManager;
83
- responseCopy.rawObject = (this.rawObject != null) ? this.rawObject.deepCopy() : null;
84
- responseCopy.error = (this.error != null) ? this.error.copy() : null;
+ responseCopy.rawObject = this.rawObject == null ? null : this.rawObject.deepCopy();
+ responseCopy.error = this.error == null ? null : this.error.copy();
85
return responseCopy;
86
}
87
0 commit comments