Skip to content

Commit 6b029dc

Browse files
committed
Apply Eclipse code style template
1 parent a94f114 commit 6b029dc

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/main/java/org/scijava/console/AbstractConsoleArgument.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
/**
3939
* Abstract superclass of {@link ConsoleArgument} implementations.
40-
*
40+
*
4141
* @author Curtis Rueden
4242
*/
4343
public abstract class AbstractConsoleArgument extends

src/main/java/org/scijava/console/ConsoleArgument.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* is encouraged to instead extend {@link AbstractConsoleArgument}, for
4747
* convenience.
4848
* </p>
49-
*
49+
*
5050
* @author Curtis Rueden
5151
*/
5252
public interface ConsoleArgument extends HandlerPlugin<LinkedList<String>> {

src/main/java/org/scijava/console/ConsoleService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* In particular, this is the service that defines how command line arguments
4343
* are handled.
4444
* </p>
45-
*
45+
*
4646
* @author Curtis Rueden
4747
*/
4848
public interface ConsoleService extends

src/main/java/org/scijava/console/DefaultConsoleService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
/**
4343
* Default service for managing interaction with the console.
44-
*
44+
*
4545
* @author Curtis Rueden
4646
*/
4747
@Plugin(type = Service.class)

src/main/java/org/scijava/thread/ThreadService.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
package org.scijava.thread;
3333

34-
3534
import java.lang.reflect.InvocationTargetException;
3635
import java.util.concurrent.Callable;
3736
import java.util.concurrent.Future;
@@ -42,7 +41,7 @@
4241

4342
/**
4443
* Interface for the thread handling service.
45-
*
44+
*
4645
* @author Curtis Rueden
4746
*/
4847
public interface ThreadService extends SciJavaService, ThreadFactory {
@@ -72,7 +71,7 @@ public enum ThreadContext {
7271
* thread service. Typically this means that the service allocates a thread
7372
* from its pool, but ultimately the behavior is implementation-dependent.
7473
* This method returns immediately.
75-
*
74+
*
7675
* @param code The code to execute.
7776
* @return A {@link Future} that will contain the result once the execution
7877
* has finished. Call {@link Future#get()} to access to the return
@@ -85,7 +84,7 @@ public enum ThreadContext {
8584
* thread service. Typically this means that the service allocates a thread
8685
* from its pool, but ultimately the behavior is implementation-dependent.
8786
* This method returns immediately.
88-
*
87+
*
8988
* @param code The code to execute.
9089
* @return A {@link Future} that can be used to block until the execution has
9190
* finished. Call {@link Future#get()} to do so.
@@ -100,7 +99,7 @@ public enum ThreadContext {
10099
* typically the AWT Event Dispatch Thread (EDT). However, ultimately the
101100
* behavior is implementation-dependent.
102101
* </p>
103-
*
102+
*
104103
* @return True iff the current thread is considered a dispatch thread.
105104
*/
106105
boolean isDispatchThread();
@@ -113,7 +112,7 @@ public enum ThreadContext {
113112
* typically the AWT Event Dispatch Thread (EDT). However, ultimately the
114113
* behavior is implementation-dependent.
115114
* </p>
116-
*
115+
*
117116
* @param code The code to execute.
118117
* @throws InterruptedException If the code execution is interrupted.
119118
* @throws InvocationTargetException If an uncaught exception occurs in the
@@ -129,7 +128,7 @@ void invoke(Runnable code) throws InterruptedException,
129128
* typically the AWT Event Dispatch Thread (EDT). However, ultimately the
130129
* behavior is implementation-dependent.
131130
* </p>
132-
*
131+
*
133132
* @param code The code to execute.
134133
*/
135134
void queue(Runnable code);
@@ -139,9 +138,10 @@ void invoke(Runnable code) throws InterruptedException,
139138
* <p>
140139
* This works only on threads which the thread service knows about, of course.
141140
* </p>
142-
*
141+
*
143142
* @param thread the managed thread, null refers to the current thread
144-
* @return the thread that asked the {@link ThreadService} to spawn the specified thread
143+
* @return the thread that asked the {@link ThreadService} to spawn the
144+
* specified thread
145145
*/
146146
Thread getParent(Thread thread);
147147

src/main/java/org/scijava/util/ClassUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
* %%
99
* Redistribution and use in source and binary forms, with or without
1010
* modification, are permitted provided that the following conditions are met:
11-
*
11+
*
1212
* 1. Redistributions of source code must retain the above copyright notice,
1313
* this list of conditions and the following disclaimer.
1414
* 2. Redistributions in binary form must reproduce the above copyright notice,
1515
* this list of conditions and the following disclaimer in the documentation
1616
* and/or other materials provided with the distribution.
17-
*
17+
*
1818
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1919
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2020
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

0 commit comments

Comments
 (0)