ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Vector/SyncLastIndexOf.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Vector/SyncLastIndexOf.java (file contents):
Revision 1.2 by jsr166, Sun Sep 5 21:32:20 2010 UTC vs.
Revision 1.4 by jsr166, Sun Oct 22 02:59:18 2017 UTC

# Line 36 | Line 36 | public class SyncLastIndexOf {
36      static class RemovingThread extends Thread {
37  
38          public void run() {
39 <           synchronized(v) {
39 >           synchronized (v) {
40                  try {
41                  sleep(200);
42                  } catch (InterruptedException e) {
# Line 46 | Line 46 | public class SyncLastIndexOf {
46          }
47      }
48  
49 <    public static void main(String args[]) {
49 >    public static void main(String[] args) {
50          Integer x = new Integer(1);
51          v.addElement(x);
52          new RemovingThread().start();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines