mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
testing
This commit is contained in:
parent
02babdd8cb
commit
0e5d47a2aa
1 changed files with 17 additions and 3 deletions
|
@ -16,6 +16,8 @@
|
|||
|
||||
package org.springframework.samples.petclinic;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
|
@ -28,8 +30,20 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|||
@SpringBootApplication(proxyBeanMethods = false)
|
||||
public class PetClinicApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(PetClinicApplication.class, args);
|
||||
}
|
||||
public static void main2(String[] args) {
|
||||
SpringApplication.run(PetClinicApplication.class, args);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
List<Integer> ints = new ArrayList<Integer>();
|
||||
|
||||
ints.add(2);
|
||||
ints.add(1);
|
||||
|
||||
Collections.sort(ints, (n1, n2) -> n1.compareTo(n2));
|
||||
for (Integer i : ints) {
|
||||
System.out.println(i);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue