Some minor changes.

This commit is contained in:
LevelX2 2017-09-05 12:00:42 +02:00
parent 5bef2a4eeb
commit cd9827300d
2 changed files with 4 additions and 4 deletions

View file

@ -196,7 +196,7 @@ public enum UserManager {
Calendar calendarRemove = Calendar.getInstance();
calendarRemove.add(Calendar.MINUTE, -8);
List<User> toRemove = new ArrayList<>();
logger.info("Start Check Expired");
logger.debug("Start Check Expired");
ArrayList<User> userList = new ArrayList<>();
final Lock r = lock.readLock();
r.lock();
@ -227,7 +227,7 @@ public enum UserManager {
handleException(ex);
}
}
logger.info("Users to remove " + toRemove.size());
logger.debug("Users to remove " + toRemove.size());
final Lock w = lock.readLock();
w.lock();
try {
@ -237,7 +237,7 @@ public enum UserManager {
} finally {
w.unlock();
}
logger.info("End Check Expired");
logger.debug("End Check Expired");
} catch (Exception ex) {
handleException(ex);
}

View file

@ -64,7 +64,7 @@ public class CaughtInTheBrights extends CardImpl {
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Benefit));
this.getSpellAbility().addEffect(new AttachEffect(Outcome.LoseAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());
this.addAbility(ability);