Extract runQuery to QueryRunner service

Extract runQuery method from runelite to separate Guice service.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2017-12-24 03:22:07 +01:00
parent 984ebb63dd
commit 69b88fe3e3
15 changed files with 109 additions and 73 deletions

View File

@@ -287,8 +287,4 @@ public class RuneLite
return trayIcon;
}
public <T> T[] runQuery(Query query)
{
return (T[]) query.result(client);
}
}