8304945: StringBuilder and StringBuffer should implement Appendable explicitly

Reviewed-by: alanb, rriggs
This commit is contained in:
Joe Darcy 2023-04-03 17:19:44 +00:00
parent 312bbe7d75
commit df819cfa5a
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -90,7 +90,7 @@ import java.io.StreamCorruptedException;
*/
public final class StringBuilder
extends AbstractStringBuilder
implements java.io.Serializable, Comparable<StringBuilder>, CharSequence
implements Appendable, java.io.Serializable, Comparable<StringBuilder>, CharSequence
{
/** use serialVersionUID for interoperability */