Skip to content

Commit 417d01e

Browse files
jaikiranMichael Ernst
andcommitted
8299441: Fix typos in some test files under core-libs component
Co-authored-by: Michael Ernst <mernst@openjdk.org> Reviewed-by: lancea
1 parent 5b5552f commit 417d01e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/jdk/javax/script/GetInterfaceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void main(String[] args) throws Exception {
3535
ScriptEngine engine = manager.getEngineByName("nashorn");
3636

3737
if (engine == null) {
38-
System.out.println("Warning: No js engine engine found; test vacuously passes.");
38+
System.out.println("Warning: No js engine found; test vacuously passes.");
3939
return;
4040
}
4141

test/jdk/javax/sql/testng/test/rowset/cachedrowset/CommonCachedRowSetTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ public void commonCachedRowSetTest0056(CachedRowSet rs) throws Exception {
14011401
rs.updateString(2, coffee);
14021402
rs.updateInt(5, sales);
14031403
// MetaData should match
1404-
try ( // Get the original original RowSet and validate that the changes
1404+
try ( // Get the original RowSet and validate that the changes
14051405
// are only made to the current, not the original
14061406
ResultSet rs1 = rs.getOriginal()) {
14071407
// MetaData should match
@@ -1444,7 +1444,7 @@ public void commonCachedRowSetTest0057(CachedRowSet rs) throws Exception {
14441444
rs.updateString(2, coffee);
14451445
rs.updateInt(5, sales);
14461446
// MetaData should match
1447-
try ( // Get the original original row and validate that the changes
1447+
try ( // Get the original row and validate that the changes
14481448
// are only made to the current, not the original
14491449
ResultSet rs1 = rs.getOriginalRow()) {
14501450
// MetaData should match

test/jdk/javax/sql/testng/test/rowset/serial/SerialDataLinkTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void test04() throws Exception {
9999

100100
/**
101101
* Validate that a SerialDatalink that is serialized & deserialized is not equal
102-
* to to a SerialDatalink created using a different URL
102+
* to a SerialDatalink created using a different URL
103103
*/
104104
@Test
105105
public void test05() throws Exception {

test/micro/org/openjdk/bench/java/lang/ArrayFiddle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* simple_copyLoop is surprisingly 5x slower. The array copying intrinsics
4646
* are very effective and a naive loop does not get optimized the same way.
4747
* OTOH there is no intrinsic for Arrays.fill but the naive array zeroing loop
48-
* *does* get optimized to something a little faster than than arraycopy.
48+
* *does* get optimized to something a little faster than arraycopy.
4949
*
5050
* System.arraycopy and Arrays.fill have such outstanding performance that
5151
* one should use them to replace handwritten loops whenever possible.

0 commit comments

Comments
 (0)