# | Line 27 | Line 27 | |
---|---|---|
27 | * @summary Vector's lastIndexOf(Object) was lacking synchronization | |
28 | * @author Konstantin Kladko | |
29 | */ | |
30 | < | import java.util.*; |
30 | > | |
31 | > | import java.util.Vector; |
32 | ||
33 | public class SyncLastIndexOf { | |
34 | ||
# | Line 46 | Line 47 | public class SyncLastIndexOf { | |
47 | } | |
48 | } | |
49 | ||
50 | < | public static void main(String args[]) { |
50 | > | public static void main(String[] args) { |
51 | Integer x = new Integer(1); | |
52 | v.addElement(x); | |
53 | new RemovingThread().start(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |