small fixes

This commit is contained in:
honfika@gmail.com
2014-12-01 00:13:48 +01:00
parent 9125a5abd4
commit 77b8ef808a
10 changed files with 31 additions and 22 deletions

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.helpers;
import java.util.ArrayList;
@@ -40,13 +41,12 @@ public abstract class CancellableWorker<T> implements RunnableFuture<T> {
public CancellableWorker() {
super();
super();
Callable<T> callable
= new Callable<T>() {
@Override
public T call() throws Exception {
return doInBackground();
}
Callable<T> callable = new Callable<T>() {
@Override
public T call() throws Exception {
return doInBackground();
}
};
future = new FutureTask<T>(callable) {
@Override