# | Line 61 | Line 61 | package java.util.concurrent; | |
---|---|---|
61 | * } | |
62 | * | |
63 | * public synchronized void execute(final Runnable r) { | |
64 | < | * tasks.offer(new Runnable() { |
64 | > | * tasks.add(new Runnable() { |
65 | * public void run() { | |
66 | * try { | |
67 | * r.run(); | |
# | Line 105 | Line 105 | public interface Executor { | |
105 | * | |
106 | * @param command the runnable task | |
107 | * @throws RejectedExecutionException if this task cannot be | |
108 | < | * accepted for execution. |
108 | > | * accepted for execution |
109 | * @throws NullPointerException if command is null | |
110 | */ | |
111 | void execute(Runnable command); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |