Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bring over Extend Batch programs
[aaf/authz.git]
/
auth
/
auth-batch
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
auth
/
batch
/
helpers
/
Cred.java
diff --git
a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
index
e3ac9e6
..
c4a9b0d
100644
(file)
--- a/
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
+++ b/
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
@@
-138,13
+138,14
@@
public class Cred {
row = iter.next();
int type = row.getInt(1);
if (types.length>0) { // filter by types, if requested
row = iter.next();
int type = row.getInt(1);
if (types.length>0) { // filter by types, if requested
- boolean
quit = tru
e;
+ boolean
hastype = fals
e;
for (int t : types) {
if (t==type) {
for (int t : types) {
if (t==type) {
+ hastype=true;
break;
}
}
break;
}
}
- if (
quit
) {
+ if (
!hastype
) {
continue;
}
}
continue;
}
}