Skip to content

Commit 13218d6

Browse files
authored
Update src/main/java/com/microsoft/graph/http/GraphErrorResponse.java
1 parent c2f2596 commit 13218d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/microsoft/graph/http/GraphErrorResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public final AdditionalDataManager additionalDataManager() {
8080
public GraphErrorResponse copy() {
8181
GraphErrorResponse responseCopy = new GraphErrorResponse();
8282
responseCopy.additionalDataManager = this.additionalDataManager;
83-
responseCopy.rawObject = (this.rawObject != null) ? this.rawObject.deepCopy() : null;
84-
responseCopy.error = (this.error != null) ? this.error.copy() : null;
83+
responseCopy.rawObject = this.rawObject == null ? null : this.rawObject.deepCopy();
84+
responseCopy.error = this.error == null ? null : this.error.copy();
8585
return responseCopy;
8686
}
8787
}

0 commit comments

Comments
 (0)