A {@code TIFFDirectory} is aware of the tag numbers in the
* group of {@link TIFFTagSet}s associated with it. When
* a {@code TIFFDirectory} is created from a native image metadata
- * object, these tag sets are derived from the tagSets attribute
- * of the TIFFIFD node.
+ * object, these tag sets are derived from the {@code tagSets} attribute
+ * of the {@code TIFFIFD} node.
*
* A {@code TIFFDirectory} might also have a parent {@link TIFFTag}.
* This will occur if the directory represents an IFD other than the root
@@ -73,8 +73,8 @@ import com.sun.imageio.plugins.tiff.TIFFImageMetadata;
* {@link TIFFTag#isIFDPointer} method of this parent {@code TIFFTag}
* must return {@code true}. When a {@code TIFFDirectory} is
* created from a native image metadata object, the parent tag set is set
- * from the parentTagName attribute of the corresponding
- * TIFFIFD node. Note that a {@code TIFFDirectory} instance
+ * from the {@code parentTagName} attribute of the corresponding
+ * {@code TIFFIFD} node. Note that a {@code TIFFDirectory} instance
* which has a non-{@code null} parent tag will be contained in the
* data field of a {@code TIFFField} instance which has a tag field
* equal to the contained directory's parent tag.
@@ -133,8 +133,8 @@ public class TIFFDirectory implements Cloneable {
* an image metadata object. The supplied object must support an image
* metadata format supported by the TIFF {@link javax.imageio.ImageWriter}
* plug-in. This will usually be either the TIFF native image metadata
- * format
* |
- * IFD
+ * {@code IFD}
* |
*
* {@link TIFFTag#TIFF_IFD_POINTER}
@@ -941,14 +941,14 @@ public final class TIFFField implements Cloneable {
/**
* Returns the {@code TIFFField} as a node named either
- * "TIFFField" or "TIFFIFD" as described in the
+ * {@code "TIFFField"} or {@code "TIFFIFD"} as described in the
* TIFF native image metadata specification. The node will be named
- * "TIFFIFD" if and only if {@link #hasDirectory()} returns
+ * {@code "TIFFIFD"} if and only if {@link #hasDirectory()} returns
* {@code true} and the field's type is either {@link TIFFTag#TIFF_LONG}
* or {@link TIFFTag#TIFF_IFD_POINTER}.
*
- * @return a {@code Node} named "TIFFField" or
- * "TIFFIFD".
+ * @return a {@code Node} named {@code "TIFFField"} or
+ * {@code "TIFFIFD"}.
*/
public Node getAsNativeNode() {
return new TIFFFieldNode(this);
diff --git a/jdk/src/java.desktop/share/classes/javax/print/MimeType.java b/jdk/src/java.desktop/share/classes/javax/print/MimeType.java
index c9d1f614af0..e96859e9c4c 100644
--- a/jdk/src/java.desktop/share/classes/javax/print/MimeType.java
+++ b/jdk/src/java.desktop/share/classes/javax/print/MimeType.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -50,7 +50,6 @@ import java.util.Vector;
*
* Since not all Java profiles include the AWT, the Jini Print Service should
* not depend on an AWT class.
- *
*
* The implementation of class java.awt.datatransfer.MimeType does not
* guarantee
@@ -76,7 +75,6 @@ import java.util.Vector;
* Quoting backslash characters inside parameter values are removed.
* The parameters are arranged in ascending order of parameter name.
*
- *
*
* @author Alan Kaminsky
*/
diff --git a/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/Finishings.java b/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/Finishings.java
index 8369f7f4da8..7df44452a4f 100644
--- a/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/Finishings.java
+++ b/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/Finishings.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -40,7 +40,7 @@ import javax.print.attribute.PrintJobAttribute;
* for purposes of finishing.
*
* Standard Finishings values are:
- *
+ *
*
* |
*
@@ -76,7 +76,7 @@ import javax.print.attribute.PrintJobAttribute;
*
* The following Finishings values are more specific; they indicate a
* corner or an edge as if the document were a portrait document:
- *
+ *
*
*
*
diff --git a/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/MultipleDocumentHandling.java b/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/MultipleDocumentHandling.java
index 7f06e953572..86a84de83d0 100644
--- a/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/MultipleDocumentHandling.java
+++ b/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/MultipleDocumentHandling.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -70,7 +70,7 @@ import javax.print.attribute.PrintJobAttribute;
* The standard MultipleDocumentHandling values are:
*
* -
- * {@link #SINGLE_DOCUMENT
+ * {@link #SINGLE_DOCUMENT
* SINGLE_DOCUMENT}. If a print job has multiple
* documents -- say, the document data is called {@code a} and
* {@code b} -- then the result of processing all the document data
@@ -85,7 +85,7 @@ import javax.print.attribute.PrintJobAttribute;
* each copy ({@code a(*),b(*)}) to start on a new media sheet.
*
*
-
- * {@link #SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
+ * {@link #SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
* SEPARATE_DOCUMENTS_UNCOLLATED_COPIES}. If a print job
* has multiple documents -- say, the document data is called {@code a} and
* {@code b} -- then the result of processing the data in each document
@@ -98,7 +98,7 @@ import javax.print.attribute.PrintJobAttribute;
* {@code a(*),a(*),...,b(*),b(*)...}.
*
*
-
- * {@link #SEPARATE_DOCUMENTS_COLLATED_COPIES
+ * {@link #SEPARATE_DOCUMENTS_COLLATED_COPIES
* SEPARATE_DOCUMENTS_COLLATED_COPIES}. If a print job
* has multiple documents -- say, the document data is called {@code a} and
* {@code b} -- then the result of processing the data in each document
@@ -111,7 +111,7 @@ import javax.print.attribute.PrintJobAttribute;
* {@code a(*),b(*),a(*),b(*),...}.
*
*
-
- * {@link #SINGLE_DOCUMENT_NEW_SHEET
+ * {@link #SINGLE_DOCUMENT_NEW_SHEET
* SINGLE_DOCUMENT_NEW_SHEET}. Same as SINGLE_DOCUMENT,
* except that the printer must ensure that the first impression of each
* document instance in the job is placed on a new media sheet. This value
diff --git a/jdk/src/java.desktop/share/classes/javax/sound/midi/MidiMessage.java b/jdk/src/java.desktop/share/classes/javax/sound/midi/MidiMessage.java
index f7b8b9b5b3a..6ca01acb05b 100644
--- a/jdk/src/java.desktop/share/classes/javax/sound/midi/MidiMessage.java
+++ b/jdk/src/java.desktop/share/classes/javax/sound/midi/MidiMessage.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -47,15 +47,15 @@ package javax.sound.midi;
* {@code MidiMessage} includes methods to get, but not set, these values.
* Setting them is a subclass responsibility.
*
- * The MIDI standard expresses MIDI data in
+ * The MIDI standard expresses MIDI data in
* bytes. However, because JavaTM uses signed bytes, the Java Sound
* API uses integers instead of bytes when expressing MIDI data. For example,
* the {@link #getStatus()} method of {@code MidiMessage} returns MIDI status
* bytes as integers. If you are processing MIDI data that originated outside
* Java Sound and now is encoded as signed bytes, the bytes can be
* converted to integers using this conversion:
- *
- * {@code int i = (int)(byte & 0xFF)}
+ *
+ * {@code int i = (int)(byte & 0xFF)}
*
* If you simply need to pass a known MIDI byte value as a method parameter, it
* can be expressed directly as an integer, using (for example) decimal or
diff --git a/jdk/src/java.desktop/share/classes/javax/sound/midi/VoiceStatus.java b/jdk/src/java.desktop/share/classes/javax/sound/midi/VoiceStatus.java
index 2d679613e01..0019a74f1b8 100644
--- a/jdk/src/java.desktop/share/classes/javax/sound/midi/VoiceStatus.java
+++ b/jdk/src/java.desktop/share/classes/javax/sound/midi/VoiceStatus.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -51,7 +51,7 @@ package javax.sound.midi;
* given type of {@code Synthesizer} always has a fixed number of voices, equal
* to the maximum number of simultaneous notes it is capable of sounding.
*
- * If the voice is not currently processing
+ * If the voice is not currently processing
* a MIDI note, it is considered inactive. A voice is inactive when it has been
* given no note-on commands, or when every note-on command received has been
* terminated by a corresponding note-off (or by an "all notes off" message).
diff --git a/jdk/src/java.desktop/share/classes/javax/sound/sampled/FloatControl.java b/jdk/src/java.desktop/share/classes/javax/sound/sampled/FloatControl.java
index 40cc82e4db5..af310211d5f 100644
--- a/jdk/src/java.desktop/share/classes/javax/sound/sampled/FloatControl.java
+++ b/jdk/src/java.desktop/share/classes/javax/sound/sampled/FloatControl.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2017, 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
@@ -361,8 +361,8 @@ public abstract class FloatControl extends Control {
* loudness is unaffected. Note that gain measures dB, not amplitude.
* The relationship between a gain in decibels and the corresponding
* linear amplitude multiplier is:
- *
- * {@code linearScalar = pow(10.0, gainDB/20.0)}
+ *
+ * {@code linearScalar = pow(10.0, gainDB/20.0)}
*
* The {@code FloatControl} class has methods to impose a maximum and
* minimum allowable value for gain. However, because an audio signal
diff --git a/jdk/src/java.desktop/share/classes/javax/sound/sampled/SourceDataLine.java b/jdk/src/java.desktop/share/classes/javax/sound/sampled/SourceDataLine.java
index 7749b3a86fc..b5e20f0702a 100644
--- a/jdk/src/java.desktop/share/classes/javax/sound/sampled/SourceDataLine.java
+++ b/jdk/src/java.desktop/share/classes/javax/sound/sampled/SourceDataLine.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2017, 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
@@ -159,9 +159,9 @@ public interface SourceDataLine extends DataLine {
*
* The number of bytes to write must represent an integral number of sample
* frames, such that:
- *
- * {@code [ bytes written ] % [frame size in bytes ] == 0}
- *
+ *
+ * {@code [ bytes written ] % [frame size in bytes ] == 0}
+ *
* The return value will always meet this requirement. A request to write a
* number of bytes representing a non-integral number of sample frames
* cannot be fulfilled and may result in an
diff --git a/jdk/src/java.desktop/share/classes/javax/sound/sampled/TargetDataLine.java b/jdk/src/java.desktop/share/classes/javax/sound/sampled/TargetDataLine.java
index acacdbcccae..944c8e03d92 100644
--- a/jdk/src/java.desktop/share/classes/javax/sound/sampled/TargetDataLine.java
+++ b/jdk/src/java.desktop/share/classes/javax/sound/sampled/TargetDataLine.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2017, 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
@@ -149,9 +149,9 @@ public interface TargetDataLine extends DataLine {
*
* The number of bytes to be read must represent an integral number of
* sample frames, such that:
- *
- * {@code [ bytes read ] % [frame size in bytes ] == 0}
- *
+ *
+ * {@code [ bytes read ] % [frame size in bytes ] == 0}
+ *
* The return value will always meet this requirement. A request to read a
* number of bytes representing a non-integral number of sample frames
* cannot be fulfilled and may result in an IllegalArgumentException.
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/Action.java b/jdk/src/java.desktop/share/classes/javax/swing/Action.java
index f34fe517f11..52c6cd8c01b 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/Action.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/Action.java
@@ -69,7 +69,7 @@ import java.beans.*;
* are desired, and use simple ActionListeners elsewhere.
*
*
- * Swing Components Supporting Action
+ * Swing Components Supporting Action
*
* Many of Swing's components have an Action property. When
* an Action is set on a component, the following things
@@ -96,34 +96,34 @@ import java.beans.*;
*
*
- *
- * | Component Property
- * | Components
- * | Action Key
- * | Notes
- * |
+ *
+ * | Component Property
+ * | Components
+ * | Action Key
+ * | Notes
+ * |
* enabled
* | All
* | The isEnabled method
* |
- * |
+ *
* toolTipText
* | All
* | SHORT_DESCRIPTION
* |
- * |
+ *
* actionCommand
* | All
* | ACTION_COMMAND_KEY
* |
- * |
+ *
* mnemonic
* | All buttons
* | MNEMONIC_KEY
* | A null value or Action results in the
* button's mnemonic property being set to
* '\0'.
- * |
+ *
* text
* | All buttons
* | NAME
@@ -139,7 +139,7 @@ import java.beans.*;
* true if the Action has a
* non-null value for LARGE_ICON_KEY or
* SMALL_ICON.
- * |
+ *
* displayedMnemonicIndex
* | All buttons
* | DISPLAYED_MNEMONIC_INDEX_KEY
@@ -150,7 +150,7 @@ import java.beans.*;
* mnemonic index is not updated. In any subsequent changes to
* DISPLAYED_MNEMONIC_INDEX_KEY, null
* is treated as -1.
- * |
+ *
* icon
* | All buttons except of JCheckBox,
* JToggleButton and JRadioButton.
@@ -160,13 +160,13 @@ import java.beans.*;
* SMALL_ICON. All other buttons will use
* LARGE_ICON_KEY; if the value is null they
* use SMALL_ICON.
- * |
+ *
* accelerator
* | All JMenuItem subclasses, with the exception of
* JMenu.
* | ACCELERATOR_KEY
* |
- * |
+ *
* selected
* | JToggleButton, JCheckBox,
* JRadioButton, JCheckBoxMenuItem and
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/BoxLayout.java b/jdk/src/java.desktop/share/classes/javax/swing/BoxLayout.java
index ceaa943b97c..c56f020fe0e 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/BoxLayout.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/BoxLayout.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -38,7 +38,7 @@ import java.io.PrintStream;
* arranged when the frame is resized.
*
*
- * |
+ * |
*
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/DefaultListCellRenderer.java b/jdk/src/java.desktop/share/classes/javax/swing/DefaultListCellRenderer.java
index 31bb7dd6596..3ac3755b82f 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/DefaultListCellRenderer.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/DefaultListCellRenderer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -40,7 +40,7 @@ import sun.swing.DefaultLookup;
/**
* Renders an item in a list.
*
- * Implementation Note:
+ * Implementation Note:
* This class overrides
* invalidate,
* validate,
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/JLayeredPane.java b/jdk/src/java.desktop/share/classes/javax/swing/JLayeredPane.java
index 6de8a0bd750..1c1f56a56db 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/JLayeredPane.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JLayeredPane.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -49,7 +49,7 @@ import javax.accessibility.*;
*
*
*
- * |
+ * |
*
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/JList.java b/jdk/src/java.desktop/share/classes/javax/swing/JList.java
index ca8202071f5..0e7648c3630 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/JList.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JList.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -145,7 +145,7 @@ import static sun.swing.SwingUtilities2.Section.*;
* Responsibility for listening to selection changes in order to keep the list's
* visual representation up to date lies with the list's {@code ListUI}.
*
- *
+ *
* Painting of cells in a {@code JList} is handled by a delegate called a
* cell renderer, installed on the list as the {@code cellRenderer} property.
* The renderer provides a {@code java.awt.Component} that is used
@@ -201,7 +201,7 @@ import static sun.swing.SwingUtilities2.Section.*;
* To avoid these calculations, you can set a {@code fixedCellWidth} and
* {@code fixedCellHeight} on the list, or have these values calculated
* automatically based on a single prototype value:
- *
+ *
*
* {@code
* JList bigDataList = new JList(bigData);
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/JOptionPane.java b/jdk/src/java.desktop/share/classes/javax/swing/JOptionPane.java
index a61f1507253..1fec8d24b18 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/JOptionPane.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JOptionPane.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -143,7 +143,7 @@ import sun.awt.AWTAccessor;
* in which case a default Frame is used as the parent,
* and the dialog will be
* centered on the screen (depending on the {@literal L&F}).
- * - message
-
+ *
- message
-
* A descriptive message to be placed in the dialog box.
* In the most common usage, message is just a
String or
* String constant.
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/JRootPane.java b/jdk/src/java.desktop/share/classes/javax/swing/JRootPane.java
index 3f72a8bc5ef..2a16d69daa1 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/JRootPane.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JRootPane.java
@@ -72,7 +72,7 @@ import sun.security.action.GetBooleanAction;
*
*
*
- * |
+ * |
*
* |
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/JScrollPane.java b/jdk/src/java.desktop/share/classes/javax/swing/JScrollPane.java
index a51509baec3..04e99bc521a 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/JScrollPane.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JScrollPane.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -57,7 +57,7 @@ import java.beans.Transient;
*
*
*
- * |
+ * |
*
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/JTree.java b/jdk/src/java.desktop/share/classes/javax/swing/JTree.java
index 34f779ab029..0dfcaebf0db 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/JTree.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JTree.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -44,7 +44,7 @@ import sun.swing.SwingUtilities2.Section;
import static sun.swing.SwingUtilities2.Section.*;
/**
- *
+ *
* A control that displays a set of hierarchical data as an outline.
* You can find task-oriented documentation and examples of using trees in
* How to Use Trees,
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/LookAndFeel.java b/jdk/src/java.desktop/share/classes/javax/swing/LookAndFeel.java
index bd8ea835b6c..0356defe226 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/LookAndFeel.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/LookAndFeel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -91,7 +91,7 @@ import java.util.StringTokenizer;
* to provide a specific set of defaults. These are documented in the
* classes that require the specific default.
*
- *
+ *
*
* All {@code ComponentUIs} typically need to set various properties
* on the {@code JComponent} the {@code ComponentUI} is providing the
@@ -121,7 +121,7 @@ import java.util.StringTokenizer;
* provided by this class as they handle the necessary checking and install
* the property using the recommended guidelines.
*
- * Exceptions
+ * Exceptions
*
* All of the install methods provided by {@code LookAndFeel} need to
* access the defaults if the value of the property being changed is
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/SizeSequence.java b/jdk/src/java.desktop/share/classes/javax/swing/SizeSequence.java
index 131032d8491..24b4c845994 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/SizeSequence.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/SizeSequence.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2017, 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
@@ -53,11 +53,10 @@ package javax.swing;
* The following figure shows the relationship between size and position data
* for a multi-column component.
*
- *
+ *
*
- *
*
* In the figure, the first index (0) corresponds to the first column,
* the second index (1) to the second column, and so on.
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java b/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java
index 05efd8f8321..42fc80b49a7 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java
@@ -1283,14 +1283,13 @@ public abstract class BasicTextUI extends TextUI implements ViewFactory {
* text component (i.e. the root of the hierarchy) that
* can be traversed to determine how the model is being
* represented spatially.
- *
- * NOTE:The View hierarchy can
+ *
+ * NOTE:The View hierarchy can
* be traversed from the root view, and other things
* can be done as well. Things done in this way cannot
* be protected like simple method calls through the TextUI.
* Therefore, proper operation in the presence of concurrency
* must be arranged by any logic that calls this method!
- *
*
* @param tc the text component for which this UI is installed
* @return the view
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java b/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java
index dae37d5e7be..0ded39cc52b 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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 @@ import sun.swing.SwingUtilities2;
* All colors returned by {@code DefaultMetalTheme} are completely
* opaque.
*
- * Font Style
+ * Font Style
*
* {@code DefaultMetalTheme} uses bold fonts for many controls. To make all
* controls (with the exception of the internal frame title bars and
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java b/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java
index 9320bd1d095..fed8e2b0145 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java
@@ -292,85 +292,85 @@ public class MetalLookAndFeel extends BasicLookAndFeel
* added to {@code table}:
*
- *
- * | Key
- * | Value
- * |
+ *
+ * | Key
+ * | Value
+ * |
* | "desktop"
* | {@code theme.getDesktopColor()}
- * |
+ *
* | "activeCaption"
* | {@code theme.getWindowTitleBackground()}
- * |
+ *
* | "activeCaptionText"
* | {@code theme.getWindowTitleForeground()}
- * |
+ *
* | "activeCaptionBorder"
* | {@code theme.getPrimaryControlShadow()}
- * |
+ *
* | "inactiveCaption"
* | {@code theme.getWindowTitleInactiveBackground()}
- * |
+ *
* | "inactiveCaptionText"
* | {@code theme.getWindowTitleInactiveForeground()}
- * |
+ *
* | "inactiveCaptionBorder"
* | {@code theme.getControlShadow()}
- * |
+ *
* | "window"
* | {@code theme.getWindowBackground()}
- * |
+ *
* | "windowBorder"
* | {@code theme.getControl()}
- * |
+ *
* | "windowText"
* | {@code theme.getUserTextColor()}
- * |
+ *
* | "menu"
* | {@code theme.getMenuBackground()}
- * |
+ *
* | "menuText"
* | {@code theme.getMenuForeground()}
- * |
+ *
* | "text"
* | {@code theme.getWindowBackground()}
- * |
+ *
* | "textText"
* | {@code theme.getUserTextColor()}
- * |
+ *
* | "textHighlight"
* | {@code theme.getTextHighlightColor()}
- * |
+ *
* | "textHighlightText"
* | {@code theme.getHighlightedTextColor()}
- * |
+ *
* | "textInactiveText"
* | {@code theme.getInactiveSystemTextColor()}
- * |
+ *
* | "control"
* | {@code theme.getControl()}
- * |
+ *
* | "controlText"
* | {@code theme.getControlTextColor()}
- * |
+ *
* | "controlHighlight"
* | {@code theme.getControlHighlight()}
- * |
+ *
* | "controlLtHighlight"
* | {@code theme.getControlHighlight()}
- * |
+ *
* | "controlShadow"
* | {@code theme.getControlShadow()}
- * |
+ *
* | "controlDkShadow"
* | {@code theme.getControlDarkShadow()}
- * |
+ *
* | "scrollbar"
* | {@code theme.getControl()}
- * |
+ *
* | "info"
* | {@code theme.getPrimaryControl()}
- * |
+ *
* | "infoText"
* | {@code theme.getPrimaryControlInfo()}
* |
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/table/DefaultTableCellRenderer.java b/jdk/src/java.desktop/share/classes/javax/swing/table/DefaultTableCellRenderer.java
index 0a7504da6ea..541a4e7343f 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/table/DefaultTableCellRenderer.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/table/DefaultTableCellRenderer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -41,7 +41,7 @@ import sun.swing.DefaultLookup;
* in a JTable.
*
*
- * Implementation Note:
+ * Implementation Note:
* This class inherits from JLabel, a standard component class.
* However JTable employs a unique mechanism for rendering
* its cells and therefore requires some slightly modified behavior
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLDocument.java b/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLDocument.java
index d61d1f8de5b..640ca1c07c0 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLDocument.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLDocument.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -999,17 +999,17 @@ public class HTMLDocument extends DefaultStyledDocument {
*
*
* Invoking setInnerHTML(elem, "<ul><li>")
- * results in the following structure (new elements are in red).
+ * results in the following structure (new elements are in red).
*
*
* <body>
* |
* <div>
* \
- * <ul>
+ * <ul>
* \
- * <li>
+ * <li>
*
*
* Parameter elem must not be a leaf element,
@@ -1083,15 +1083,15 @@ public class HTMLDocument extends DefaultStyledDocument {
*
*
* Invoking setOuterHTML(elem, "<ul><li>")
- * results in the following structure (new elements are in red).
+ * results in the following structure (new elements are in red).
*
*
* <body>
* |
- * <ul>
+ * <ul>
* \
- * <li>
+ * <li>
*
*
* If either elem or htmlText
@@ -1157,16 +1157,16 @@ public class HTMLDocument extends DefaultStyledDocument {
*
* Invoking insertAfterStart(elem,
* "<ul><li>") results in the following structure
- * (new elements are in red).
+ * (new elements are in red).
*
*
* <body>
* |
* <div>
* / | \
- * <ul> <p> <p>
+ * <ul> <p> <p>
* /
- * <li>
+ * <li>
*
*
* Unlike the insertBeforeStart method, new
@@ -1229,17 +1229,17 @@ public class HTMLDocument extends DefaultStyledDocument {
*
*
* Invoking insertBeforeEnd(elem, "<ul><li>")
- * results in the following structure (new elements are in red).
+ * results in the following structure (new elements are in red).
*
*
* <body>
* |
* <div>
* / | \
- * <p> <p> <ul>
+ * <p> <p> <ul>
* \
- * <li>
+ * <li>
*
*
* Unlike the insertAfterEnd method, new elements
@@ -1300,14 +1300,14 @@ public class HTMLDocument extends DefaultStyledDocument {
*
* Invoking insertBeforeStart(elem,
* "<ul><li>") results in the following structure
- * (new elements are in red).
+ * (new elements are in red).
*
*
* <body>
* / \
- * <ul> <div>
+ * <ul> <div>
* / / \
- * <li> <p> <p>
+ * <li> <p> <p>
*
*
* Unlike the insertAfterStart method, new
@@ -1360,15 +1360,15 @@ public class HTMLDocument extends DefaultStyledDocument {
*
*
* Invoking insertAfterEnd(elem, "<ul><li>")
- * results in the following structure (new elements are in red).
+ * results in the following structure (new elements are in red).
*
*
* <body>
* / \
- * <div> <ul>
+ * <div> <ul>
* / \ \
- * <p> <p> <li>
+ * <p> <p> <li>
*
*
* Unlike the insertBeforeEnd method, new elements
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLEditorKit.java b/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLEditorKit.java
index d5d995e9fba..7117fdd3823 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLEditorKit.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/text/html/HTMLEditorKit.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -1120,7 +1120,7 @@ public class HTMLEditorKit extends StyledEditorKit implements Accessible {
*
*
*
- * | Tag | View created
+ * | Tag | View created
* |
* | HTML.Tag.CONTENT | InlineView
* |
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java b/jdk/src/java.desktop/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java
index c7cdfc366ea..1b600343613 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -61,9 +61,9 @@ import sun.swing.DefaultLookup;
* defaults table. The following table lists the mapping between
* {@code DefaultTreeCellRenderer} property and defaults table key:
*
- *
- * | Property:
- * | Key:
+ * |
+ * | Property:
+ * | Key:
* | | "leafIcon" | "Tree.leafIcon"
* | | "closedIcon" | "Tree.closedIcon"
* | | "openIcon" | "Tree.openIcon"
@@ -74,7 +74,7 @@ import sun.swing.DefaultLookup;
* | | "borderSelectionColor" | "Tree.selectionBorderColor"
* |
*
- * Implementation Note:
+ * Implementation Note:
* This class overrides
* invalidate,
* validate,
diff --git a/jdk/src/java.desktop/share/classes/javax/swing/undo/UndoManager.java b/jdk/src/java.desktop/share/classes/javax/swing/undo/UndoManager.java
index cb85826e611..55fa6228b76 100644
--- a/jdk/src/java.desktop/share/classes/javax/swing/undo/UndoManager.java
+++ b/jdk/src/java.desktop/share/classes/javax/swing/undo/UndoManager.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -57,11 +57,11 @@ import sun.swing.text.UndoableEditLockSupport;
* upper-case letter in bold are significant, those in lower-case
* and italicized are insignificant.
*
- *
+ *
*
*
*
- * | | Figure 1
+ * | | Figure 1
* |
*
* As shown in figure 1, if D was just added, the
@@ -70,11 +70,11 @@ import sun.swing.text.UndoableEditLockSupport;
* index of the next edit to 3 (edit c), as shown in the following
* figure.
*
- *
+ *
*
*
*
- * | | Figure 2
+ * | | Figure 2
* |
*
* The last significant edit is A, so that invoking
@@ -82,11 +82,11 @@ import sun.swing.text.UndoableEditLockSupport;
* b, and A, in that order, setting the index of the
* next edit to 0, as shown in the following figure.
*
- *
+ *
*
*
*
- * | | Figure 3
+ * | | Figure 3
* |
*
* Invoking redo results in invoking redo on
@@ -108,11 +108,11 @@ import sun.swing.text.UndoableEditLockSupport;
* the new edit is added after c, as shown in the following
* figure.
*
- *
+ *
*
*
*
- * | | Figure 4
+ * | | Figure 4
* |
*
* Once end has been invoked on an UndoManager
| | | | | | |