6394787: Typos in javadoc of OIS.readObjectOverride and OOS.writeObjectOverride

Reviewed-by: alanb, chegar
This commit is contained in:
Andrey Turbanov 2019-06-04 15:52:26 +01:00 committed by Chris Hegarty
parent 4b01aa4f71
commit 9eda28e6ea
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2019, 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
@ -357,8 +357,8 @@ public class ObjectOutputStream
/**
* Method used by subclasses to override the default writeObject method.
* This method is called by trusted subclasses of ObjectInputStream that
* constructed ObjectInputStream using the protected no-arg constructor.
* This method is called by trusted subclasses of ObjectOutputStream that
* constructed ObjectOutputStream using the protected no-arg constructor.
* The subclass is expected to provide an override method with the modifier
* "final".
*