diff --git a/tinybus/src/com/halfbit/tinybus/TinyBus.java b/tinybus/src/com/halfbit/tinybus/TinyBus.java
index <HASH>..<HASH> 100644
--- a/tinybus/src/com/halfbit/tinybus/TinyBus.java
+++ b/tinybus/src/com/halfbit/tinybus/TinyBus.java
@@ -150,10 +150,9 @@ public class TinyBus implements Bus {
 	
 	private void processQueue() {
 		mProcessing = true;
-		Object obj;
+		Task task;
 		
-		while((obj = poll()) != null) {
-			Task task = (Task) obj;
+		while((task = poll()) != null) {
 			switch (task.code) {
 				case Task.CODE_REGISTER: registerInternal(task.obj); break;
 				case Task.CODE_UNREGISTER: unregisterInternal(task.obj); break;
removing unnesseary object cast