Small copy/paste bug on HawtDispatcher

8 views
Skip to first unread message

Ricardo Padilha

unread,
Feb 20, 2012, 10:24:39 AM2/20/12
to hawtdispatch
Hi there,

I think I stumble upon a small copy/paste error in
HawtDispatcher.getGlobalQueue(DispatchPriority). Here is the code:

public GlobalDispatchQueue getGlobalQueue(DispatchPriority
priority) {
switch (priority) {
(...)
case LOW:
(...)
LOW_QUEUE = new GlobalDispatchQueue(this,
DispatchPriority.HIGH, threads);
(...)
}

Is the LOW_QUEUE supposed to be created using DispatchPriority.HIGH?

Regards,
Ricardo

Hiram Chirino

unread,
Feb 20, 2012, 10:47:53 AM2/20/12
to hawtdi...@googlegroups.com
Good catch.  Pushed fix.  Thanks!
--

Hiram Chirino

Software Fellow | FuseSource Corp.

chi...@fusesource.com | fusesource.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo




Reply all
Reply to author
Forward
0 new messages