Skip to content

Commit 3dfdab1

Browse files
committed
1764: Use String.join instead of realying on Collection#toString
1 parent ea740ef commit 3dfdab1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/graphql/schema/idl/errors/MissingTransitiveInterfaceError.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
public class MissingTransitiveInterfaceError extends BaseError {
1010
public MissingTransitiveInterfaceError(String typeOfType, ImplementingTypeDefinition typeDefinition, Collection<String> missingInterfaces) {
1111
super(typeDefinition, format("The %s type '%s' %s does not implement the following transitive interfaces: %s",
12-
typeOfType, typeDefinition.getName(), lineCol(typeDefinition), missingInterfaces));
12+
typeOfType, typeDefinition.getName(), lineCol(typeDefinition), "[" + String.join(", ", missingInterfaces) + "]"));
1313
}
1414
}

0 commit comments

Comments
 (0)