Skip to content

Commit

Permalink
CB-3945 code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yagudin10 authored Sep 19, 2023
1 parent e5803c6 commit 0325567
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ public void setUserCredentials(
}
String encodedValue = CommonUtils.toString(cred.getValue());
encodedValue = property.getEncryption().encrypt(userId, encodedValue);
return new String[]{propertyName, encodedValue};
return new String[]{propertyName, encodedValue
}).collect(Collectors.toList());
} catch (Exception e) {
throw new DBCException(e.getMessage(), e);
Expand Down Expand Up @@ -2628,7 +2628,7 @@ public Set<String> getFilteredSubjects(Set<String> allSubjects) {
result.add(dbResult.getString(1));
}
}
};
}
return result;
} catch (SQLException e) {
log.error("Error getting all subject ids from database", e);
Expand All @@ -2647,7 +2647,7 @@ private SMSubjectType getSubjectType(@NotNull String subjectId) {
return SMSubjectType.fromCode(dbResult.getString(1));
}
}
};

return null;
} catch (SQLException e) {
log.error("Error getting all subject ids from database", e);
Expand Down

0 comments on commit 0325567

Please sign in to comment.