This commit is contained in:
xiangwb
2018-01-23 15:38:53 +08:00
parent 4f6d41f0f8
commit 97347b0576
2 changed files with 1 additions and 2 deletions
@@ -31,7 +31,6 @@ public class LambdaDemo {
t.start();
List<String> list = Arrays.asList("a", "b", "c");
list.sort(Comparator.naturalOrder());
/**
* stream api 高级版本的迭代器
*/
@@ -286,7 +286,7 @@ public class SysAuthorityService {
* @param id
* @return
*/
private boolean uniqueCode(String code, String id) {
private boolean uniqueCode(String code, String id) {
if (StringUtils.isEmpty(code))
throw new BusinessException("code不能为空");
SysAuthority one = sysAuthorityRepository.getByCode(code);