Skip to content

Commit

Permalink
[eclipse-ee4j#627]Add suppress for fallthrough warning
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Pinsky <[email protected]>
  • Loading branch information
api-from-the-ion committed Nov 8, 2023
1 parent c4cd8d4 commit 375eb1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, 2022 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2023 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -33,7 +33,7 @@ class MapDeserializer implements ModelDeserializer<JsonParser> {
this.valueDelegate = valueDelegate;
}

@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "fallthrough"})
@Override
public Object deserialize(JsonParser parser, DeserializationContextImpl context) {
Map<Object, Object> map = (Map<Object, Object>) context.getInstance();
Expand Down

0 comments on commit 375eb1f

Please sign in to comment.