diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2014-01-11 16:32:58 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2014-01-11 16:32:58 +0100 |
| commit | 6a8244166bf3a3eef35024df9e0818e88e80513f (patch) | |
| tree | 505e5cc690851132fc159def40232a0dbfeca792 /main/src/cgeo/geocaching/concurrent/PriorityThreadFactory.java | |
| parent | ad7fe062fcdf95e253c95f4cd8fa2c19e3c9cc7b (diff) | |
| download | cgeo-6a8244166bf3a3eef35024df9e0818e88e80513f.zip cgeo-6a8244166bf3a3eef35024df9e0818e88e80513f.tar.gz cgeo-6a8244166bf3a3eef35024df9e0818e88e80513f.tar.bz2 | |
revert some nonnull annotations
Eclipse requires that the super implementation of overridden methods
with nonnull arguments also declares the arguments nonnull and stops
compilation otherwise. Seems there is no option to change that.
Diffstat (limited to 'main/src/cgeo/geocaching/concurrent/PriorityThreadFactory.java')
| -rw-r--r-- | main/src/cgeo/geocaching/concurrent/PriorityThreadFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/concurrent/PriorityThreadFactory.java b/main/src/cgeo/geocaching/concurrent/PriorityThreadFactory.java index e445284..0da198b 100644 --- a/main/src/cgeo/geocaching/concurrent/PriorityThreadFactory.java +++ b/main/src/cgeo/geocaching/concurrent/PriorityThreadFactory.java @@ -16,7 +16,7 @@ public class PriorityThreadFactory implements ThreadFactory { @NonNull @Override - public Thread newThread(@NonNull Runnable r) { + public Thread newThread(Runnable r) { Thread result = new Thread(r); result.setPriority(this.priority); return result; |
