Prettify previous commit.

This commit is contained in:
MobiusDev 2017-09-10 00:41:37 +00:00
parent a999913ad5
commit af0d56b56a
4 changed files with 24 additions and 24 deletions

View File

@ -75,12 +75,12 @@ public class MatchingRoomManager
return _waitingList.stream() //
.filter(p -> (p != null) //
&& (p.getLevel() >= minLevel) //
&& (p.getLevel() <= maxLevel) //
).filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId()) //
).filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query) //
).collect(Collectors.toList());
&& (p.getLevel() <= maxLevel)) //
.filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId())) //
.filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query)) //
.collect(Collectors.toList());
}
public int addMatchingRoom(MatchingRoom room)

View File

@ -75,12 +75,12 @@ public class MatchingRoomManager
return _waitingList.stream() //
.filter(p -> (p != null) //
&& (p.getLevel() >= minLevel) //
&& (p.getLevel() <= maxLevel) //
).filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId()) //
).filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query) //
).collect(Collectors.toList());
&& (p.getLevel() <= maxLevel)) //
.filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId())) //
.filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query)) //
.collect(Collectors.toList());
}
public int addMatchingRoom(MatchingRoom room)

View File

@ -75,12 +75,12 @@ public class MatchingRoomManager
return _waitingList.stream() //
.filter(p -> (p != null) //
&& (p.getLevel() >= minLevel) //
&& (p.getLevel() <= maxLevel) //
).filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId()) //
).filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query) //
).collect(Collectors.toList());
&& (p.getLevel() <= maxLevel)) //
.filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId())) //
.filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query)) //
.collect(Collectors.toList());
}
public int addMatchingRoom(MatchingRoom room)

View File

@ -75,12 +75,12 @@ public class MatchingRoomManager
return _waitingList.stream() //
.filter(p -> (p != null) //
&& (p.getLevel() >= minLevel) //
&& (p.getLevel() <= maxLevel) //
).filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId()) //
).filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query) //
).collect(Collectors.toList());
&& (p.getLevel() <= maxLevel)) //
.filter(p -> (classIds == null) //
|| classIds.contains(p.getClassId())) //
.filter(p -> query.isEmpty() //
|| p.getName().toLowerCase().contains(query)) //
.collect(Collectors.toList());
}
public int addMatchingRoom(MatchingRoom room)