8212662: Fix javadoc typo in java.lang.ref.Cleaner
Reviewed-by: lancea, rriggs
Contributed-by: Andrew Luo <andrewluotechnologies@outlook.com>
--- a/src/java.base/share/classes/java/lang/ref/Cleaner.java Thu Oct 18 10:35:58 2018 -0400
+++ b/src/java.base/share/classes/java/lang/ref/Cleaner.java Thu Oct 18 10:45:05 2018 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 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
@@ -100,8 +100,8 @@
* }
* }
*
- * private final State;
- * private final Cleaner.Cleanable cleanable
+ * private final State state;
+ * private final Cleaner.Cleanable cleanable;
*
* public CleaningExample() {
* this.state = new State(...);