From a3b88ce51551c3d69fe18b71e5a197d6f674b376 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 1 May 2016 20:35:10 +0000 Subject: [PATCH] Removed a couple "Double-Checked Locking" comments. --- trunk/java/com/l2jmobius/gameserver/model/CharEffectList.java | 1 - trunk/java/com/l2jmobius/gameserver/model/skills/BuffInfo.java | 1 - 2 files changed, 2 deletions(-) diff --git a/trunk/java/com/l2jmobius/gameserver/model/CharEffectList.java b/trunk/java/com/l2jmobius/gameserver/model/CharEffectList.java index f0d521efc5..1c38986a6c 100644 --- a/trunk/java/com/l2jmobius/gameserver/model/CharEffectList.java +++ b/trunk/java/com/l2jmobius/gameserver/model/CharEffectList.java @@ -57,7 +57,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ShortBuffStatusUpdate; * Holds all the buff infos that are affecting a creature.
* Manages the logic that controls whether a buff is added, remove, replaced or set inactive.
* Uses maps with skill ID as key and buff info DTO as value to avoid iterations.
- * Uses Double-Checked Locking to avoid useless initialization and synchronization issues and overhead.
* Methods may resemble List interface, although it doesn't implement such interface. * @author Zoey76 */ diff --git a/trunk/java/com/l2jmobius/gameserver/model/skills/BuffInfo.java b/trunk/java/com/l2jmobius/gameserver/model/skills/BuffInfo.java index be0401ac5b..6c5ed25b6e 100644 --- a/trunk/java/com/l2jmobius/gameserver/model/skills/BuffInfo.java +++ b/trunk/java/com/l2jmobius/gameserver/model/skills/BuffInfo.java @@ -100,7 +100,6 @@ public final class BuffInfo /** * Adds an effect task to this buff info.
- * Uses double-checked locking to initialize the map if it's necessary. * @param effect the effect that owns the task * @param effectTaskInfo the task info */