Skip to content

Commit

Permalink
Fix queues
Browse files Browse the repository at this point in the history
No toUpperCase anymore!
  • Loading branch information
mcmonkey4eva committed Nov 6, 2014
1 parent 69216a7 commit 2d884b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -32,7 +32,7 @@ public static InstantQueue getQueue(String id) {
InstantQueue scriptQueue;
// Does the queue already exist?
if (_queueExists(id))
scriptQueue = (InstantQueue) _queues.get(id.toUpperCase());
scriptQueue = (InstantQueue) _queues.get(id);
// If not, create a new one.
else {
scriptQueue = new InstantQueue(id);
Expand Down
Expand Up @@ -34,7 +34,7 @@ public static TimedQueue getQueue(String id) {
TimedQueue scriptQueue;
// Does the queue already exist? Get it if it does.
if (_queueExists(id))
scriptQueue = (TimedQueue) ScriptQueue._queues.get(id.toUpperCase());
scriptQueue = (TimedQueue) ScriptQueue._queues.get(id);
// If not, create a new one.
else {
scriptQueue = new TimedQueue(id,
Expand Down

0 comments on commit 2d884b3

Please sign in to comment.