1 package com.google.checkstyle.test.chapter3filestructure.rule333orderingandspacing;
2
3 import static java.io.File.createTempFile;
4 import static java.awt.Button.ABORT;
5
6 import static javax.swing.WindowConstants.*;
7
8
9 import java.util.List;
10 import java.util.StringTokenizer;
11 import java.util.*;
12
13
14
15 import java.util.concurrent.AbstractExecutorService;
16 import java.util.concurrent.*;
17
18
19
20
21 import com.google.checkstyle.test.chapter2filebasic.rule21filename.*;
22
23
24
25
26
27 import com.google.checkstyle.test.chapter3filestructure.rule3sourcefile.*;
28
29
30
31
32
33 import com.google.common.reflect.*;
34
35
36
37
38
39
40 public class InputOrderingAndSpacing2 {
41
42 public static void main(String[] args) {
43 try {
44 createTempFile("temp", ".txt");
45 } catch (Exception e) {
46 e.printStackTrace();
47 }
48 int abortAction = ABORT;
49 int closeOperation = EXIT_ON_CLOSE;
50
51 List<String> list = new ArrayList<>();
52 StringTokenizer tokenizer = new StringTokenizer("Hello World");
53
54 AbstractExecutorService abstractExecutorService = new AbstractExecutorService() {
55 @Override
56 public void shutdown() {
57 }
58
59 @Override
60 public List<Runnable> shutdownNow() {
61 return null;
62 }
63
64 @Override
65 public boolean isShutdown() {
66 return false;
67 }
68
69 @Override
70 public boolean isTerminated() {
71 return false;
72 }
73
74 @Override
75 public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) {
76 return false;
77 }
78
79 @Override
80 public void execute(Runnable command) {
81 }
82 };
83 ExecutorService executorService = Executors.newSingleThreadExecutor();
84
85 TypeToken<?> typeToken = TypeToken.of(String.class);
86
87 FileNameTest testing1 = new FileNameTest();
88
89 SourceFileStructureTest testing2 = new SourceFileStructureTest();
90 }
91 }