--- old/src/share/classes/java/beans/VetoableChangeSupport.java 2013-08-06 14:49:11.000000000 -0700 +++ new/src/share/classes/java/beans/VetoableChangeSupport.java 2013-08-06 14:49:11.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2013, 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 @@ -42,7 +42,7 @@ *
* Here is an example of {@code VetoableChangeSupport} usage that follows * the rules and recommendations laid out in the JavaBeans™ specification: - *
+ **{@code * public class MyBean { * private final VetoableChangeSupport vcs = new VetoableChangeSupport(this); * @@ -68,7 +68,7 @@ * * [...] * } - *+ * }
* A {@code VetoableChangeSupport} instance is thread-safe. *
@@ -156,7 +156,7 @@
* VetoableChangeListenerProxy
, perform the cast, and examine
* the parameter.
*
- *
+ ** * @see VetoableChangeListenerProxy * @return all of the{@code * VetoableChangeListener[] listeners = bean.getVetoableChangeListeners(); * for (int i = 0; i < listeners.length; i++) { * if (listeners[i] instanceof VetoableChangeListenerProxy) { @@ -168,7 +168,7 @@ * } * } * } - *+ * }
VetoableChangeListeners
added or an