Removed a couple "Double-Checked Locking" comments.
This commit is contained in:
@@ -57,7 +57,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ShortBuffStatusUpdate;
|
|||||||
* Holds all the buff infos that are affecting a creature.<br>
|
* Holds all the buff infos that are affecting a creature.<br>
|
||||||
* Manages the logic that controls whether a buff is added, remove, replaced or set inactive.<br>
|
* Manages the logic that controls whether a buff is added, remove, replaced or set inactive.<br>
|
||||||
* Uses maps with skill ID as key and buff info DTO as value to avoid iterations.<br>
|
* Uses maps with skill ID as key and buff info DTO as value to avoid iterations.<br>
|
||||||
* Uses Double-Checked Locking to avoid useless initialization and synchronization issues and overhead.<br>
|
|
||||||
* Methods may resemble List interface, although it doesn't implement such interface.
|
* Methods may resemble List interface, although it doesn't implement such interface.
|
||||||
* @author Zoey76
|
* @author Zoey76
|
||||||
*/
|
*/
|
||||||
|
@@ -100,7 +100,6 @@ public final class BuffInfo
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds an effect task to this buff info.<br>
|
* Adds an effect task to this buff info.<br>
|
||||||
* Uses double-checked locking to initialize the map if it's necessary.
|
|
||||||
* @param effect the effect that owns the task
|
* @param effect the effect that owns the task
|
||||||
* @param effectTaskInfo the task info
|
* @param effectTaskInfo the task info
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user