Remove pointless if
This commit is contained in:
parent
676cddc0d9
commit
04f011b5bf
1 changed files with 14 additions and 16 deletions
|
@ -81,7 +81,6 @@ public class GroupAdapter extends Adapter<GroupModel, Group> {
|
||||||
group.setId(externalId);
|
group.setId(externalId);
|
||||||
group.setExternalId(id);
|
group.setExternalId(id);
|
||||||
group.setDisplayName(displayName);
|
group.setDisplayName(displayName);
|
||||||
if (!members.isEmpty()) {
|
|
||||||
for (String member : members) {
|
for (String member : members) {
|
||||||
Member groupMember = new Member();
|
Member groupMember = new Member();
|
||||||
try {
|
try {
|
||||||
|
@ -98,7 +97,6 @@ public class GroupAdapter extends Adapter<GroupModel, Group> {
|
||||||
logger.warnf("bad ref uri");
|
logger.warnf("bad ref uri");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Meta meta = new Meta();
|
Meta meta = new Meta();
|
||||||
try {
|
try {
|
||||||
URI uri = new URI("Groups/" + externalId);
|
URI uri = new URI("Groups/" + externalId);
|
||||||
|
|
Loading…
Reference in a new issue