keyset 删除原有集合

back_recharge
zhangshanxue 2020-07-14 15:40:04 +08:00
parent c8a9c873c9
commit e3d2812944
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class GuildLogic {
if(user.getGuildMyInfo().getFeteguild()!=guildId)
return;
Set<Integer> objects = config.keySet();
Set<Integer> objects = new HashSet<>( config.keySet());
objects.removeAll(user.getGuildMyInfo().getHadTakeReward());
for (Integer missionId : objects) {