File: T7182350.java

package info (click to toggle)
libnb-javaparser-java 9%2B2018-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 65,172 kB
  • sloc: java: 440,096; xml: 6,359; sh: 865; makefile: 314
file content (14 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * @test  /nodynamiccopyright/
 * @bug 7182350
 * @summary verify correct output of -Xlint:unchecked on methods with unchecked conversations in parameters
 * @compile/ref=T7182350.out -XDrawDiagnostics -Xlint:unchecked T7182350.java
 */

import java.util.*;

class T7182350 {
    public static void quicksort(Vector vector, Comparator compare) {
        Collections.sort(vector,compare);
    }
}