Commit dea8d8b
authored
address some LGTM reported issues and other inspections (#188)
* make package privat and remove redundant returns and var initialization
* use parametrized constructor
addresses #172
* LGTM - This check is useless, myfilereader cannot be null here, since new BufferedReader(...) always is non-null.
* LGTM - This FileOutputStream is not always closed on method exit.
* LGTM - The variable 'tmp' is only assigned values of primitive type and is never 'null', but it is declared with the boxed type 'Integer'.1 parent e94f191 commit dea8d8b
File tree
3 files changed
+14
-24
lines changed- src/main/java/net/atomique/ksar
- export
- xml
3 files changed
+14
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | | - | |
70 | 67 | | |
71 | 68 | | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 73 | | |
85 | 74 | | |
86 | 75 | | |
87 | | - | |
88 | 76 | | |
89 | 77 | | |
90 | 78 | | |
91 | 79 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
95 | 87 | | |
96 | 88 | | |
97 | | - | |
98 | 89 | | |
99 | 90 | | |
100 | 91 | | |
101 | 92 | | |
102 | | - | |
| 93 | + | |
103 | 94 | | |
104 | 95 | | |
105 | 96 | | |
106 | 97 | | |
107 | 98 | | |
108 | 99 | | |
109 | 100 | | |
110 | | - | |
| 101 | + | |
111 | 102 | | |
112 | 103 | | |
113 | | - | |
114 | 104 | | |
115 | 105 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
0 commit comments