Skip to content

Commit 6db6604

Browse files
committed
Eliminate no-longer-needed priority line breaks
The names of the constants got shorter.
1 parent e646ce9 commit 6db6604

File tree

9 files changed

+9
-18
lines changed

9 files changed

+9
-18
lines changed

src/main/java/org/scijava/app/SciJavaApp.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
* @author Curtis Rueden
4242
* @see AppService
4343
*/
44-
@Plugin(type = App.class, name = SciJavaApp.NAME,
45-
priority = Priority.LOW)
44+
@Plugin(type = App.class, name = SciJavaApp.NAME, priority = Priority.LOW)
4645
public class SciJavaApp extends AbstractApp {
4746

4847
public static final String NAME = "SciJava";

src/main/java/org/scijava/display/ActiveDisplayPreprocessor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
*
5454
* @author Curtis Rueden
5555
*/
56-
@Plugin(type = PreprocessorPlugin.class,
57-
priority = Priority.VERY_HIGH)
56+
@Plugin(type = PreprocessorPlugin.class, priority = Priority.VERY_HIGH)
5857
public class ActiveDisplayPreprocessor extends AbstractPreprocessorPlugin {
5958

6059
@Parameter(required = false)

src/main/java/org/scijava/display/DisplayPostprocessor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@
5454
* @author Lee Kamentsky
5555
* @author Barry DeZonia
5656
*/
57-
@Plugin(type = PostprocessorPlugin.class,
58-
priority = Priority.VERY_LOW)
57+
@Plugin(type = PostprocessorPlugin.class, priority = Priority.VERY_LOW)
5958
public class DisplayPostprocessor extends AbstractPostprocessorPlugin {
6059

6160
@Parameter(required = false)

src/main/java/org/scijava/module/process/GatewayPreprocessor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
*
5454
* @author Curtis Rueden
5555
*/
56-
@Plugin(type = PreprocessorPlugin.class, //
57-
priority = 2 * Priority.VERY_HIGH)
56+
@Plugin(type = PreprocessorPlugin.class, priority = 2 * Priority.VERY_HIGH)
5857
public class GatewayPreprocessor extends AbstractPreprocessorPlugin {
5958

6059
@Parameter

src/main/java/org/scijava/module/process/ServicePreprocessor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@
6262
*
6363
* @author Curtis Rueden
6464
*/
65-
@Plugin(type = PreprocessorPlugin.class, //
66-
priority = 2 * Priority.VERY_HIGH)
65+
@Plugin(type = PreprocessorPlugin.class, priority = 2 * Priority.VERY_HIGH)
6766
public class ServicePreprocessor extends AbstractPreprocessorPlugin {
6867

6968
// -- ModuleProcessor methods --

src/main/java/org/scijava/module/process/ValidityPreprocessor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
*
4545
* @author Curtis Rueden
4646
*/
47-
@Plugin(type = PreprocessorPlugin.class,
48-
priority = 3 * Priority.VERY_HIGH)
47+
@Plugin(type = PreprocessorPlugin.class, priority = 3 * Priority.VERY_HIGH)
4948
public class ValidityPreprocessor extends AbstractPreprocessorPlugin {
5049

5150
// -- ModuleProcessor methods --

src/main/java/org/scijava/platform/DefaultPlatform.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
* @author Curtis Rueden
4545
* @author Johannes Schindelin
4646
*/
47-
@Plugin(type = Platform.class, name = "Default",
48-
priority = Priority.VERY_LOW)
47+
@Plugin(type = Platform.class, name = "Default", priority = Priority.VERY_LOW)
4948
public class DefaultPlatform extends AbstractPlatform {
5049

5150
// -- PlatformHandler methods --

src/test/java/org/scijava/command/CommandModuleTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,7 @@ public void run() {
250250
* not as early as {@link Service} and {@link Context} parameters get
251251
* populated.
252252
*/
253-
@Plugin(type = PreprocessorPlugin.class,
254-
priority = Priority.VERY_HIGH)
253+
@Plugin(type = PreprocessorPlugin.class, priority = Priority.VERY_HIGH)
255254
public static class StuffPreprocessor extends AbstractPreprocessorPlugin {
256255

257256
@Override

src/test/java/org/scijava/plugin/PluginInfoTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ public static class Flavorless implements SciJavaPlugin {
7979
// NB: No implementation needed.
8080
}
8181

82-
@Plugin(type = IceCream.class, name = "vanilla",
83-
priority = Priority.LOW)
82+
@Plugin(type = IceCream.class, name = "vanilla", priority = Priority.LOW)
8483
public static class Vanilla implements SciJavaPlugin {
8584
// NB: No implementation needed.
8685
}

0 commit comments

Comments
 (0)