Removed getQuestTimer method synchronization.
This commit is contained in:
@@ -302,8 +302,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -319,7 +317,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -304,8 +304,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -321,7 +319,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -305,8 +305,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -322,7 +320,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -305,8 +305,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -322,7 +320,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -305,8 +305,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -322,7 +320,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -305,8 +305,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -322,7 +320,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -305,8 +305,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -322,7 +320,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -315,8 +315,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -332,7 +330,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -374,8 +374,6 @@ public class Quest extends ManagedScript
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -391,7 +389,6 @@ public class Quest extends ManagedScript
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -277,8 +277,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -294,7 +292,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -279,8 +279,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -296,7 +294,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -303,8 +303,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -320,7 +318,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -303,8 +303,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -320,7 +318,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -303,8 +303,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -320,7 +318,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -303,8 +303,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -320,7 +318,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -303,8 +303,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -320,7 +318,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -303,8 +303,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -320,7 +318,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
@@ -303,8 +303,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (_questTimers)
|
|
||||||
{
|
|
||||||
final List<QuestTimer> timers = _questTimers.get(name);
|
final List<QuestTimer> timers = _questTimers.get(name);
|
||||||
if ((timers == null) || timers.isEmpty())
|
if ((timers == null) || timers.isEmpty())
|
||||||
{
|
{
|
||||||
@@ -320,7 +318,6 @@ public class Quest extends AbstractScript implements IIdentifiable
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancel all quest timers with the specified name.
|
* Cancel all quest timers with the specified name.
|
||||||
|
Reference in New Issue
Block a user