Skip to content

Commit c008c37

Browse files
author
duke
committed
Backport fa322e40b68abf0a253040d14414d41f4e01e028
1 parent c2e4aa4 commit c008c37

File tree

16 files changed

+19
-19
lines changed

16 files changed

+19
-19
lines changed

src/java.desktop/share/classes/javax/swing/text/Document.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
* <p>Removing text from a DefaultStyledDocument is similar to removing text from
278278
* a PlainDocument. The only difference is the extra level of Elements.
279279
* Consider what would happen if you deleted two characters at Offset 1
280-
* from Figure 10, above. Since the the second Element of Paragraph 1 is
280+
* from Figure 10, above. Since the second Element of Paragraph 1 is
281281
* completely contained in the deleted region, it would be removed.
282282
* Assuming the attributes of Paragraph 1's first child matched those of
283283
* Paragraph2's first child, the results would be those shown in <u>Figure 11</u>.

test/jdk/java/awt/Multiscreen/DeviceIdentificationTest/DeviceIdentificationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @test
2525
* @bug 6614214 8198613
2626
* @summary Verifies that we enter the fs mode on the correct screen.
27-
* Here is how to test: start the test on on a multi-screen system.
27+
* Here is how to test: start the test on a multi-screen system.
2828
* Verify that the display is correctly tracked by dragging the frame back
2929
* and forth between screens. Then verify that the correct device enters
3030
* the full-screen mode - when "Enter FS mode" is pressed it should enter on

test/jdk/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void init() {
121121
"6) The output should contain data in three different formats",
122122
" provided by the system clipboard",
123123
" - Data after the \"ALL:\" marker should include the data",
124-
" from the the \"SELECTION:\" marker",
124+
" from the \"SELECTION:\" marker",
125125
" - Data after the \"FRAGMENT\" marker should include the data",
126126
" from the \"SELECTION:\" marker and may be some closing",
127127
" tags could be added to the mark-up",

test/jdk/java/awt/print/PrinterJob/PageFormatChange.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
public class PageFormatChange {
3636

3737
static String[] text = {
38-
"This is is a manual test intended to be run on Windows, and you",
38+
"This is a manual test intended to be run on Windows, and you",
3939
"must have at least two printers installed, and ideally the second",
4040
"printer should support large paper sizes. When the pageDialog appears",
4141
"first change printers, then choose a large paper size, then OK",

test/jdk/javax/imageio/stream/DeleteOnExitTest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# @test
2323
# @bug 6291034
2424
# @run shell DeleteOnExitTest.sh
25-
# @summary Verify that temporary imageio files files are deleted on VM exit.
25+
# @summary Verify that temporary imageio files are deleted on VM exit.
2626

2727
if [ -z "${TESTSRC}" ]; then
2828
echo "TESTSRC undefined: defaulting to ."

test/jdk/javax/print/attribute/ServiceDlgPageRangeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static void main(java.lang.String[] args) throws Exception {
100100
} catch (InterruptedException e) {
101101
if (!testPassed && testGeneratedInterrupt) {
102102
throw new RuntimeException("PageRanges option is not disabled "
103-
+ "for for Non serv-formatted flvrs");
103+
+ "for Non serv-formatted flvrs");
104104
}
105105
}
106106
if (!testGeneratedInterrupt) {

test/jdk/javax/sound/midi/Sequencer/SequencerState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private static boolean hasSequencer() {
5555

5656

5757
public static void main(String[] args) throws Exception {
58-
out("4913027: several Sequencer methods should should specify behaviour on closed Sequencer");
58+
out("4913027: several Sequencer methods should specify behaviour on closed Sequencer");
5959
if (hasSequencer()) {
6060
boolean passed = testAll();
6161
if (passed) {

test/jdk/javax/swing/JColorChooser/Test4193384.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private static void test(Color[] colors) {
5151
float[] hsb = new float[3];
5252
for (int i = 0; i < colors.length; i++) {
5353
Color color = colors[i];
54-
// Make sure sure that there wasn't a regression
54+
// Make sure that there wasn't a regression
5555
// in java.awt.Color and the conversion methods
5656
Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), hsb);
5757
if (!color.equals(Color.getHSBColor(hsb[0], hsb[1], hsb[2]))) {

test/jdk/sanity/client/SwingSet/src/EditorPaneDemoTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
/*
5353
* @test
5454
* @key headful screenshots
55-
* @summary Verifies SwingSet3 EditorPaneDemo by navigating and and validating
55+
* @summary Verifies SwingSet3 EditorPaneDemo by navigating and validating
5656
* the page contents in all pages
5757
*
5858
* @library /sanity/client/lib/jemmy/src

test/jdk/sanity/client/SwingSet/src/TabbedPaneDemoTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @test
4040
* @key headful
4141
* @summary Verifies SwingSet3 TabbedPaneDemo by iterating through tab placement
42-
* positions, opening each tab and verifying the the tab gets selected.
42+
* positions, opening each tab and verifying the tab gets selected.
4343
*
4444
* @library /sanity/client/lib/jemmy/src
4545
* @library /sanity/client/lib/Extensions/src

0 commit comments

Comments
 (0)