File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
micro/org/openjdk/bench/java/lang Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public static void main(String[] args) throws Exception {
35
35
ScriptEngine engine = manager .getEngineByName ("nashorn" );
36
36
37
37
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." );
39
39
return ;
40
40
}
41
41
Original file line number Diff line number Diff line change @@ -1401,7 +1401,7 @@ public void commonCachedRowSetTest0056(CachedRowSet rs) throws Exception {
1401
1401
rs .updateString (2 , coffee );
1402
1402
rs .updateInt (5 , sales );
1403
1403
// 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
1405
1405
// are only made to the current, not the original
1406
1406
ResultSet rs1 = rs .getOriginal ()) {
1407
1407
// MetaData should match
@@ -1444,7 +1444,7 @@ public void commonCachedRowSetTest0057(CachedRowSet rs) throws Exception {
1444
1444
rs .updateString (2 , coffee );
1445
1445
rs .updateInt (5 , sales );
1446
1446
// 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
1448
1448
// are only made to the current, not the original
1449
1449
ResultSet rs1 = rs .getOriginalRow ()) {
1450
1450
// MetaData should match
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public void test04() throws Exception {
99
99
100
100
/**
101
101
* 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
103
103
*/
104
104
@ Test
105
105
public void test05 () throws Exception {
Original file line number Diff line number Diff line change 45
45
* simple_copyLoop is surprisingly 5x slower. The array copying intrinsics
46
46
* are very effective and a naive loop does not get optimized the same way.
47
47
* 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.
49
49
*
50
50
* System.arraycopy and Arrays.fill have such outstanding performance that
51
51
* one should use them to replace handwritten loops whenever possible.
You can’t perform that action at this time.
0 commit comments