mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Merge pull request #223 from Parabot/bugfix/issue-222
[BUGFIX] Solving currentThread null return
This commit is contained in:
+4
-2
@@ -1,7 +1,9 @@
|
|||||||
language: java
|
language: java
|
||||||
|
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk7
|
- openjdk7
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
@@ -65,4 +67,4 @@ deploy:
|
|||||||
repo: Parabot/Parabot
|
repo: Parabot/Parabot
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
jdk: 'oraclejdk7'
|
jdk: 'openjdk7'
|
||||||
@@ -24,7 +24,7 @@ public class ThreadRedirect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Thread currentThread(){
|
public static Thread currentThread(){
|
||||||
return null;
|
return new Thread();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void join(Thread t) throws InterruptedException{
|
public static void join(Thread t) throws InterruptedException{
|
||||||
|
|||||||
@@ -40,11 +40,11 @@ public class ToolkitRedirect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Image createImage(Toolkit t,byte[] b){
|
public static Image createImage(Toolkit t,byte[] b){
|
||||||
return null;
|
return t.createImage(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Image createImage(Toolkit t, String s){
|
public static Image createImage(Toolkit t, String s){
|
||||||
return null;
|
return t.createImage(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Image getImage(Toolkit t,URL u){
|
public static Image getImage(Toolkit t,URL u){
|
||||||
|
|||||||
Reference in New Issue
Block a user