Skip to content

Commit b81402f

Browse files
authored
Apply suggestions from code review
1 parent 8f7fb71 commit b81402f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ protected String transformErrorCodeCase(@Nonnull final String original) {
9191
* Makes a deep copy of this GraphError
9292
* @return The copy of this GraphError
9393
*/
94+
@Nonnull
9495
public final GraphError copy() {
9596
GraphError errorCopy = new GraphError();
9697
errorCopy.message = this.message;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public final AdditionalDataManager additionalDataManager() {
7676
* Make and return a deep copy of this GraphErrorResponse.
7777
* @return The copy of this GraphErrorResponse.
7878
*/
79+
@Nonnull
7980
public GraphErrorResponse copy() {
8081
GraphErrorResponse responseCopy = new GraphErrorResponse();
8182
responseCopy.additionalDataManager = this.additionalDataManager;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public class GraphInnerError {
6565
* Make a deep copy this GraphInnerError, this includes all it's subsequent InnerError's.
6666
* @return The copy of this InnerError
6767
*/
68+
@Nonnull
6869
public final GraphInnerError copy() {
6970
GraphInnerError innerErrorCopy = new GraphInnerError();
7071
innerErrorCopy.code = this.code;

0 commit comments

Comments
 (0)