File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/org/audit4j/core Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -294,9 +294,9 @@ public Counting charCount() {
294
294
* @return true, if successful
295
295
*/
296
296
public boolean operaterProceed () {
297
- if (operator .equals (Operator .AND ) && result == false ) {
297
+ if (operator .equals (Operator .AND ) && ! result ) {
298
298
return false ;
299
- } else if (operator .equals (Operator .OR ) && result == true ) {
299
+ } else if (operator .equals (Operator .OR ) && result ) {
300
300
return false ;
301
301
}
302
302
return true ;
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public static void init(String[] args) throws UnknownHostException {
139
139
trustmgr = args [++base ];
140
140
} else if (args [base ].equals ("-PrH" )) {
141
141
proxyHost = args [++base ];
142
- String parts [] = proxyHost .split (":" );
142
+ String [] parts = proxyHost .split (":" );
143
143
if (parts .length == 2 ) {
144
144
proxyHost = parts [0 ];
145
145
proxyPort = Integer .parseInt (parts [1 ]);
@@ -167,7 +167,7 @@ public static void init(String[] args) throws UnknownHostException {
167
167
168
168
String server = args [base ++];
169
169
int port = 0 ;
170
- String parts [] = server .split (":" );
170
+ String [] parts = server .split (":" );
171
171
if (parts .length == 2 ) {
172
172
server = parts [0 ];
173
173
port = Integer .parseInt (parts [1 ]);
@@ -202,7 +202,7 @@ public static void init(String[] args) throws UnknownHostException {
202
202
} else if (protocol .equals ("false" )) {
203
203
ftps = new FTPSClient (false );
204
204
} else {
205
- String prot [] = protocol .split ("," );
205
+ String [] prot = protocol .split ("," );
206
206
if (prot .length == 1 ) { // Just protocol
207
207
ftps = new FTPSClient (protocol );
208
208
} else { // protocol,true|false
You can’t perform that action at this time.
0 commit comments