nashorn/test/script/basic/JDK-8010710.js
changeset 24778 2ff5d7041566
parent 16756 73a51c15cea2
--- a/nashorn/test/script/basic/JDK-8010710.js	Wed Jun 04 13:55:21 2014 +0530
+++ b/nashorn/test/script/basic/JDK-8010710.js	Wed Jun 04 13:08:57 2014 +0200
@@ -1,21 +1,21 @@
 /*
  * Copyright (c) 2010, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.
- * 
+ *
  * This code is distributed in the hope that it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * version 2 for more details (a copy is included in the LICENSE file that
  * accompanied this code).
- * 
+ *
  * You should have received a copy of the GNU General Public License version
  * 2 along with this work; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- * 
+ *
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
@@ -26,7 +26,7 @@
  * as array index in self modifying assigns
  *
  * @test
- * @run 
+ * @run
  */
 function zero() {
     return 0;
@@ -38,9 +38,9 @@
 print(b[zero() + 1][2 + a[0]] += 10);
 
 //repro for NASHORN-258 that never made it
-function AddRoundKey() {        
-    var r=0;  
-    state[r][1] &= 17;    
+function AddRoundKey() {
+    var r=0;
+    state[r][1] &= 17;
 }
 
 var srcFiles = [];
@@ -52,7 +52,7 @@
 //this broke the javafx build system. verify it works
 function bouncingBall() {
     for (j=0; j<100; j++) {
-	added += srcFiles[j];
+    added += srcFiles[j];
     }
 }
 bouncingBall();
@@ -61,7 +61,7 @@
 //this is how they should have done it for speed, that works always, verify this too
 function bouncingBall2() {
     for (var k=0; k<100; k++) {
-	added += srcFiles[k];
+    added += srcFiles[k];
     }
 }
 bouncingBall2();