8208782: Remove extra type in throws clause of SerialClob.writeObject

Reviewed-by: lancea
This commit is contained in:
Joe Darcy 2018-08-03 21:06:15 -07:00
parent b924bf7233
commit fb0b608284

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2018, 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
@ -663,7 +663,7 @@ public class SerialClob implements Clob, Serializable, Cloneable {
* to a stream.
*/
private void writeObject(ObjectOutputStream s)
throws IOException, ClassNotFoundException {
throws IOException {
ObjectOutputStream.PutField fields = s.putFields();
fields.put("buf", buf);