We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de6fbf4 commit 9a6408dCopy full SHA for 9a6408d
1 file changed
src/main/java/graphql/schema/idl/TypeDefinitionRegistry.java
@@ -214,7 +214,9 @@ public void remove(SDLDefinition definition) {
214
215
private void removeFromList(Map source, TypeDefinition value) {
216
List<TypeDefinition> list = (List<TypeDefinition>) source.get(value.getName());
217
- if (list == null) return;
+ if (list == null) {
218
+ return;
219
+ }
220
list.remove(value);
221
}
222
0 commit comments