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 @@ -143,7 +143,7 @@ public static void init(String[] args) throws UnknownHostException {
143
143
trustmgr = args [++base ];
144
144
} else if (args [base ].equals ("-PrH" )) {
145
145
proxyHost = args [++base ];
146
- String parts [] = proxyHost .split (":" );
146
+ String [] parts = proxyHost .split (":" );
147
147
if (parts .length == 2 ) {
148
148
proxyHost = parts [0 ];
149
149
proxyPort = Integer .parseInt (parts [1 ]);
@@ -171,7 +171,7 @@ public static void init(String[] args) throws UnknownHostException {
171
171
172
172
String server = args [base ++];
173
173
int port = 0 ;
174
- String parts [] = server .split (":" );
174
+ String [] parts = server .split (":" );
175
175
if (parts .length == 2 ) {
176
176
server = parts [0 ];
177
177
port = Integer .parseInt (parts [1 ]);
@@ -206,7 +206,7 @@ public static void init(String[] args) throws UnknownHostException {
206
206
} else if (protocol .equals ("false" )) {
207
207
ftps = new FTPSClient (false );
208
208
} else {
209
- String prot [] = protocol .split ("," );
209
+ String [] prot = protocol .split ("," );
210
210
if (prot .length == 1 ) { // Just protocol
211
211
ftps = new FTPSClient (protocol );
212
212
} else { // protocol,true|false
You can’t perform that action at this time.
0 commit comments