diff --git a/pom.xml b/pom.xml
index 7270aa62e..b378d4395 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
scijava-common
- 2.99.3-SNAPSHOT
+ 2.100.0-SNAPSHOTSciJava CommonSciJava Common is a shared library for SciJava software. It provides a plugin framework, with an extensible mechanism for service discovery, backed by its own annotation processor, so that plugins can be loaded dynamically. It is used by downstream projects in the SciJava ecosystem, such as ImageJ and SCIFIO.
diff --git a/src/main/java/org/scijava/AbstractBasicDetails.java b/src/main/java/org/scijava/AbstractBasicDetails.java
index f05f40249..6ef7e6695 100644
--- a/src/main/java/org/scijava/AbstractBasicDetails.java
+++ b/src/main/java/org/scijava/AbstractBasicDetails.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -36,7 +36,7 @@
/**
* Abstract superclass of {@link BasicDetails} implementations.
- *
+ *
* @author Curtis Rueden
*/
public abstract class AbstractBasicDetails implements BasicDetails {
diff --git a/src/main/java/org/scijava/AbstractContextual.java b/src/main/java/org/scijava/AbstractContextual.java
index 0c76ae641..56ab59a1e 100644
--- a/src/main/java/org/scijava/AbstractContextual.java
+++ b/src/main/java/org/scijava/AbstractContextual.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -35,11 +35,11 @@
/**
* Abstract base class for {@link Contextual} objects.
*
- * Delegates to {@link Context#inject(Object)} to do the actual work of
- * setting the context, injecting service parameters, and registering
+ * Delegates to {@link Context#inject(Object)} to do the actual work of setting
+ * the context, injecting service parameters, and registering
* {@link EventHandler} methods as event subscribers.
*
- *
+ *
* @author Curtis Rueden
* @see Context#inject(Object)
*/
diff --git a/src/main/java/org/scijava/AbstractGateway.java b/src/main/java/org/scijava/AbstractGateway.java
index 944c2dff0..2e554ec44 100644
--- a/src/main/java/org/scijava/AbstractGateway.java
+++ b/src/main/java/org/scijava/AbstractGateway.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -67,7 +67,7 @@
/**
* Abstract superclass for {@link Gateway} implementations.
- *
+ *
* @author Mark Hiner
* @author Curtis Rueden
*/
@@ -191,7 +191,7 @@ public InputService input() {
public IOService io() {
return get(IOService.class);
}
-
+
@Override
public LocationService location() {
return get(LocationService.class);
diff --git a/src/main/java/org/scijava/AbstractUIDetails.java b/src/main/java/org/scijava/AbstractUIDetails.java
index 3590c19e3..20788352c 100644
--- a/src/main/java/org/scijava/AbstractUIDetails.java
+++ b/src/main/java/org/scijava/AbstractUIDetails.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -33,10 +33,12 @@
/**
* Abstract superclass of {@link UIDetails} implementations.
- *
+ *
* @author Curtis Rueden
*/
-public abstract class AbstractUIDetails extends AbstractBasicDetails implements UIDetails {
+public abstract class AbstractUIDetails extends AbstractBasicDetails implements
+ UIDetails
+{
/** Path to this object's suggested position in the menu structure. */
private MenuPath menuPath;
diff --git a/src/main/java/org/scijava/BasicDetails.java b/src/main/java/org/scijava/BasicDetails.java
index d2288061b..04f952fec 100644
--- a/src/main/java/org/scijava/BasicDetails.java
+++ b/src/main/java/org/scijava/BasicDetails.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -32,7 +32,7 @@
/**
* An interface defining basic characteristics including name, label,
* description, and a table of key/value pairs.
- *
+ *
* @author Curtis Rueden
*/
public interface BasicDetails extends Named {
diff --git a/src/main/java/org/scijava/Cancelable.java b/src/main/java/org/scijava/Cancelable.java
index 0c36b0066..5898af1fc 100644
--- a/src/main/java/org/scijava/Cancelable.java
+++ b/src/main/java/org/scijava/Cancelable.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,7 @@
/**
* An operation that can be canceled.
- *
+ *
* @author Curtis Rueden
*/
public interface Cancelable {
@@ -48,14 +48,14 @@ public interface Cancelable {
* during execution, and stop doing whatever it is doing if the flag has been
* tripped.
*
- *
+ *
* @param reason A message describing why the operation is being canceled.
*/
void cancel(String reason);
/**
* Gets a message describing why the operation was canceled.
- *
+ *
* @return The reason for cancelation, which may be null if no reason was
* given, or if the operation was not in fact canceled.
*/
diff --git a/src/main/java/org/scijava/Context.java b/src/main/java/org/scijava/Context.java
index 50014ad17..6c342fb7f 100644
--- a/src/main/java/org/scijava/Context.java
+++ b/src/main/java/org/scijava/Context.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -110,8 +110,8 @@ public class Context implements Disposable, AutoCloseable {
private boolean strict;
/**
- * False if the context is currently active; true if the context
- * has already been disposed, or is in the process of being disposed.
+ * False if the context is currently active; true if the context has already
+ * been disposed, or is in the process of being disposed.
*/
private boolean disposed;
@@ -270,8 +270,8 @@ public Context(final Collection> serviceClasses,
* NB: Instiantiation of a Context has an implied requirement of a
* corresponding call to {@link Context#dispose()} at the end of the SciJava
* applicaton's lifecycle. This cleans up any remaining resources and allows
- * the JVM to exit gracefully. This is called automatically when constructed as
- * an {@link AutoCloseable}.
+ * the JVM to exit gracefully. This is called automatically when constructed
+ * as an {@link AutoCloseable}.
*
*
* @param serviceClasses A collection of types that implement the
@@ -442,7 +442,7 @@ public void inject(final Object o) {
* values would not, without needing to hardcode type comparison checks
* against the {@link Service} and {@link Context} types.
*
- *
+ *
* @param type The type of the @{@link Parameter}-annotated field.
* @return True iff a member field of the given type would have its value
* assigned.
@@ -483,7 +483,7 @@ public static List> serviceClassList(
/**
* Gets the class loader to use. This will be the current thread's context
* class loader if non-null; otherwise it will be the system class loader.
- *
+ *
* @see Thread#getContextClassLoader()
* @see ClassLoader#getSystemClassLoader()
*/
@@ -615,7 +615,8 @@ private synchronized void doDispose(final boolean announce) {
CONTEXTS.remove(this);
if (announce) {
final EventService eventService = getService(EventService.class);
- if (eventService != null) eventService.publish(new ContextDisposingEvent());
+ if (eventService != null) eventService.publish(
+ new ContextDisposingEvent());
}
// NB: Dispose services in reverse order.
diff --git a/src/main/java/org/scijava/Contextual.java b/src/main/java/org/scijava/Contextual.java
index 4d83ca900..5df3859cc 100644
--- a/src/main/java/org/scijava/Contextual.java
+++ b/src/main/java/org/scijava/Contextual.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -34,7 +34,7 @@
/**
* An object that belongs to a SciJava application context.
- *
+ *
* @author Lee Kamentsky
* @author Curtis Rueden
*/
@@ -42,7 +42,7 @@ public interface Contextual {
/**
* Gets the application context to which the object belongs.
- *
+ *
* @see #getContext()
* @throws NullContextException if the context has not yet been set via
* {@link #setContext(Context)}.
@@ -52,7 +52,7 @@ public interface Contextual {
/**
* Gets the application context to which the object belongs, or null if
* {@link #setContext(Context)} has not yet been called on this object.
- *
+ *
* @see #context()
*/
Context getContext();
@@ -65,7 +65,7 @@ public interface Contextual {
* objects do not support later alteration of the context, and will throw
* {@link IllegalStateException} if this method is invoked again.
*
- *
+ *
* @see Context#inject(Object)
* @throws IllegalStateException If the object already has a context.
* @throws IllegalArgumentException If the object has a required
@@ -76,5 +76,4 @@ default void setContext(final Context context) {
context.inject(this);
}
-
}
diff --git a/src/main/java/org/scijava/Disposable.java b/src/main/java/org/scijava/Disposable.java
index f3ac3548b..0b8ce0222 100644
--- a/src/main/java/org/scijava/Disposable.java
+++ b/src/main/java/org/scijava/Disposable.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,7 @@
/**
* An object that knows how to clean up after itself.
- *
+ *
* @author Curtis Rueden
*/
public interface Disposable {
diff --git a/src/main/java/org/scijava/Gateway.java b/src/main/java/org/scijava/Gateway.java
index 9222f058c..d6b99baff 100644
--- a/src/main/java/org/scijava/Gateway.java
+++ b/src/main/java/org/scijava/Gateway.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -75,10 +75,12 @@
* Let's say we have a {@code Kraken} service and a {@code Cow} service. Using
* the {@code Context} directly, the code would look like:
*
+ *
*
* To perform these actions, you have to know a priori to ask for a
* {@code Cow} and a {@code Kraken}; i.e., your IDE's code completion will not
@@ -89,16 +91,26 @@
* But if we create a {@code Gateway} class called {@code Animals} with the
* following signatures:
*
+ *
*
- * public Cow cow() { return get(Cow.class); }
- * public Kraken kraken() { return get(Kraken.class); }
* This provides succinct yet explicit access to the {@code Cow} and
* {@code Kraken} services; it is a simple two-layer access to functionality,
@@ -113,7 +125,7 @@
* implementing this interface, it is encouraged to instead extend
* {@link AbstractGateway}, for convenience.
*
In some circumstances (e.g., when running headless), dispose the
* context after launch operations are complete.
*
- *
+ *
* @param args The arguments to pass to the application.
*/
void launch(String... args);
@@ -147,7 +159,7 @@ public interface Gateway extends RichPlugin, Disposable {
/**
* Returns an implementation of the requested {@link Service}, if it exists in
* the underlying {@link Context}.
- *
+ *
* @param serviceClass the requested {@link Service}
* @return The singleton instance of the given class
* @throws NullContextException if the application context is not set.
@@ -158,7 +170,7 @@ public interface Gateway extends RichPlugin, Disposable {
/**
* Returns an implementation of the {@link Service} with the given class name,
* if it exists in the underlying {@link Context}.
- *
+ *
* @param serviceClassName name of the requested {@link Service}
* @return The singleton instance of the requested {@link Service}
* @throws NullContextException if the application context is not set.
@@ -241,11 +253,11 @@ public interface Gateway extends RichPlugin, Disposable {
/**
* Gets this application context's {@link LocationService}.
- *
+ *
* @return The {@link LocationService} of this application context.
*/
LocationService location();
-
+
/**
* Gets this application context's {@link LogService}.
*
diff --git a/src/main/java/org/scijava/Identifiable.java b/src/main/java/org/scijava/Identifiable.java
index a1be1c4e7..b5a7f9777 100644
--- a/src/main/java/org/scijava/Identifiable.java
+++ b/src/main/java/org/scijava/Identifiable.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
* do multiple potentially equivalent objects need to be synthesized and then
* compared using {@link Object#equals}.
*
- *
+ *
* @author Curtis Rueden
*/
public interface Identifiable {
diff --git a/src/main/java/org/scijava/Initializable.java b/src/main/java/org/scijava/Initializable.java
index bd7de998f..1674e68ac 100644
--- a/src/main/java/org/scijava/Initializable.java
+++ b/src/main/java/org/scijava/Initializable.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,7 @@
/**
* Interface for objects which can be initialized.
- *
+ *
* @author Curtis Rueden
*/
public interface Initializable {
diff --git a/src/main/java/org/scijava/Instantiable.java b/src/main/java/org/scijava/Instantiable.java
index 7f1d82077..21c6fb121 100644
--- a/src/main/java/org/scijava/Instantiable.java
+++ b/src/main/java/org/scijava/Instantiable.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,7 @@
/**
* An interface declaring the ability to create objects.
- *
+ *
* @param The type of objects that can be created.
* @author Curtis Rueden
*/
@@ -50,7 +50,7 @@ public interface Instantiable {
* Note that this class may not be precisely {@code T.class} but instead a
* subclass thereof.
*
- *
+ *
* @see org.scijava.plugin.PluginInfo for an example of an
* {@code Instantiable} type that typically instantiates objects of a
* subtype of {@code T} rather than {@code T} itself.
diff --git a/src/main/java/org/scijava/InstantiableException.java b/src/main/java/org/scijava/InstantiableException.java
index e2df38650..9dadfb9b7 100644
--- a/src/main/java/org/scijava/InstantiableException.java
+++ b/src/main/java/org/scijava/InstantiableException.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,7 @@
/**
* An exception thrown when an {@link Instantiable} cannot create an object.
- *
+ *
* @author Curtis Rueden
*/
public class InstantiableException extends Exception {
diff --git a/src/main/java/org/scijava/ItemIO.java b/src/main/java/org/scijava/ItemIO.java
index c4198b74b..2fe8d4937 100644
--- a/src/main/java/org/scijava/ItemIO.java
+++ b/src/main/java/org/scijava/ItemIO.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -40,9 +40,9 @@
*
BOTH: item is both an input and an output for the module. This type is
* used to indicate an object that is mutated somehow during execution.
*
- *
+ *
* @author Curtis Rueden
*/
public enum ItemIO {
- INPUT, OUTPUT, BOTH
+ INPUT, OUTPUT, BOTH
}
diff --git a/src/main/java/org/scijava/ItemVisibility.java b/src/main/java/org/scijava/ItemVisibility.java
index 47b0e9276..c2b8abd46 100644
--- a/src/main/java/org/scijava/ItemVisibility.java
+++ b/src/main/java/org/scijava/ItemVisibility.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,36 +31,36 @@
/**
* Defines the "visibility" of a parameter.
- *
+ *
* @author Curtis Rueden
*/
public enum ItemVisibility {
- /**
- * Item is included in the history for purposes of data provenance, and
- * included as a parameter when recording scripts.
- */
- NORMAL,
+ /**
+ * Item is included in the history for purposes of data provenance, and
+ * included as a parameter when recording scripts.
+ */
+ NORMAL,
- /**
- * Item is excluded from the history for the purposes of data provenance, but
- * still included as a parameter when recording scripts.
- */
- TRANSIENT,
+ /**
+ * Item is excluded from the history for the purposes of data provenance,
+ * but still included as a parameter when recording scripts.
+ */
+ TRANSIENT,
- /**
- * Item is excluded from the history for the purposes of data provenance, and
- * also excluded as a parameter when recording scripts. This option should
- * only be used for items with no effect on the final output, such as a
- * "verbose" flag.
- */
- INVISIBLE,
+ /**
+ * Item is excluded from the history for the purposes of data provenance,
+ * and also excluded as a parameter when recording scripts. This option
+ * should only be used for items with no effect on the final output, such as
+ * a "verbose" flag.
+ */
+ INVISIBLE,
- /**
- * As {@link #INVISIBLE}, and further indicating that the item's value is
- * intended as a message to the user (e.g., in the input harvester panel)
- * rather than an actual parameter to the module execution.
- */
- MESSAGE
+ /**
+ * As {@link #INVISIBLE}, and further indicating that the item's value is
+ * intended as a message to the user (e.g., in the input harvester panel)
+ * rather than an actual parameter to the module execution.
+ */
+ MESSAGE
}
diff --git a/src/main/java/org/scijava/Locatable.java b/src/main/java/org/scijava/Locatable.java
index 5184b2552..57635a427 100644
--- a/src/main/java/org/scijava/Locatable.java
+++ b/src/main/java/org/scijava/Locatable.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -35,7 +35,7 @@
/**
* An object whose location is defined by a URL string.
- *
+ *
* @author Curtis Rueden
*/
public interface Locatable {
diff --git a/src/main/java/org/scijava/MenuEntry.java b/src/main/java/org/scijava/MenuEntry.java
index d436963fc..2f3752847 100644
--- a/src/main/java/org/scijava/MenuEntry.java
+++ b/src/main/java/org/scijava/MenuEntry.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -33,7 +33,7 @@
/**
* One component of a menu path, for use with {@link MenuPath}.
- *
+ *
* @author Curtis Rueden
* @author Johannes Schindelin
*/
@@ -56,8 +56,8 @@ public MenuEntry(final String name, final double weight) {
setWeight(weight);
}
- public MenuEntry(final String name, final double weight,
- final char mnemonic, final Accelerator acc, final String iconPath)
+ public MenuEntry(final String name, final double weight, final char mnemonic,
+ final Accelerator acc, final String iconPath)
{
setName(name);
setWeight(weight);
diff --git a/src/main/java/org/scijava/MenuPath.java b/src/main/java/org/scijava/MenuPath.java
index 941c4a860..794720a44 100644
--- a/src/main/java/org/scijava/MenuPath.java
+++ b/src/main/java/org/scijava/MenuPath.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -34,7 +34,7 @@
/**
* A path in a hierarchical menu structure, for use with {@link UIDetails}.
- *
+ *
* @author Curtis Rueden
*/
public class MenuPath extends ArrayList {
@@ -60,7 +60,7 @@ public MenuPath(final Collection extends MenuEntry> menuEntries) {
/**
* Creates a menu path with entries parsed from the given string. Assumes
* {@code >} as the separator (e.g., {@code File>New>Image}).
- *
+ *
* @see #PATH_SEPARATOR
*/
public MenuPath(final String path) {
diff --git a/src/main/java/org/scijava/Named.java b/src/main/java/org/scijava/Named.java
index bdb669e16..fc59210e7 100644
--- a/src/main/java/org/scijava/Named.java
+++ b/src/main/java/org/scijava/Named.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,7 @@
/**
* Interface for things that have names.
- *
+ *
* @author Lee Kamentsky
*/
public interface Named {
diff --git a/src/main/java/org/scijava/NoSuchServiceException.java b/src/main/java/org/scijava/NoSuchServiceException.java
index 4f25b47d3..9b4922f0a 100644
--- a/src/main/java/org/scijava/NoSuchServiceException.java
+++ b/src/main/java/org/scijava/NoSuchServiceException.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -32,7 +32,7 @@
/**
* An exception thrown when a {@link Gateway} cannot obtain a
* {@link org.scijava.service.Service}.
- *
+ *
* @author Mark Hiner
* @author Curtis Rueden
*/
diff --git a/src/main/java/org/scijava/NullContextException.java b/src/main/java/org/scijava/NullContextException.java
index 32eca3f18..f6f92aeff 100644
--- a/src/main/java/org/scijava/NullContextException.java
+++ b/src/main/java/org/scijava/NullContextException.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,14 +31,14 @@
/**
* An exception thrown when a {@link Context} is null, but shouldn't be.
- *
+ *
* @author Curtis Rueden
*/
public class NullContextException extends RuntimeException {
private static final String DEFAULT_MESSAGE =
- "Before attempting to use this object, "
- + "please set its context by calling the setContext(...) method.";
+ "Before attempting to use this object, " +
+ "please set its context by calling the setContext(...) method.";
public NullContextException() {
this(DEFAULT_MESSAGE);
diff --git a/src/main/java/org/scijava/Optional.java b/src/main/java/org/scijava/Optional.java
index 34b10025a..985db07fd 100644
--- a/src/main/java/org/scijava/Optional.java
+++ b/src/main/java/org/scijava/Optional.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -32,16 +32,15 @@
/**
* A marker interface for optional SciJava components.
*
- * Some components might be discoverable, but cannot always be initialized,
- * e.g. when relying on proprietary libraries. Such components can be marked
- * with this interface to indicate that failure to initialize should not
- * necessarily cause the entire application context to collapse, for example.
+ * Some components might be discoverable, but cannot always be initialized, e.g.
+ * when relying on proprietary libraries. Such components can be marked with
+ * this interface to indicate that failure to initialize should not necessarily
+ * cause the entire application context to collapse, for example.
*
- *
+ *
* @author Johannes Schindelin
* @see org.scijava.service.Service
*/
public interface Optional {
// NB: Marker interface.
}
-
diff --git a/src/main/java/org/scijava/Prioritized.java b/src/main/java/org/scijava/Prioritized.java
index 8ecc6c528..a0bde7688 100644
--- a/src/main/java/org/scijava/Prioritized.java
+++ b/src/main/java/org/scijava/Prioritized.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -33,21 +33,21 @@
/**
* An object that can be sorted according to priority.
- *
+ *
* @author Curtis Rueden
*/
public interface Prioritized extends Comparable {
/**
* Gets the sort priority of the object.
- *
+ *
* @see Priority
*/
double getPriority();
/**
* Sets the sort priority of the object.
- *
+ *
* @see Priority
*/
void setPriority(double priority);
diff --git a/src/main/java/org/scijava/Priority.java b/src/main/java/org/scijava/Priority.java
index e2fbddfd0..c4746626b 100644
--- a/src/main/java/org/scijava/Priority.java
+++ b/src/main/java/org/scijava/Priority.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,7 @@
/**
* Constants for specifying an item's priority.
- *
+ *
* @author Johannes Schindelin
* @author Curtis Rueden
* @see org.scijava.Prioritized#getPriority()
@@ -74,10 +74,11 @@ private Priority() {
/** Priority for items that very strongly prefer to be sorted late. */
public static final double EXTREMELY_LOW = -1000000;
- /** Priority for items that must be sorted last.
+ /**
+ * Priority for items that must be sorted last.
*
- * Note that it is still possible to prioritize something later
- * than this value (e.g., for testing purposes), although doing so strongly
+ * Note that it is still possible to prioritize something later than
+ * this value (e.g., for testing purposes), although doing so strongly
* discouraged in production.
*
*/
@@ -94,17 +95,17 @@ private Priority() {
* impose logic beyond that of this method, for breaking ties, if a total
* ordering consistent with equals is always required.
*
- *
+ *
* @return -1 if {@code p1}'s priority is higher than {@code p2}'s, 1 if
* {@code p2}'s priority is higher than {@code p1}'s, or 0 if they
* have the same priority.
* @see org.scijava.util.ClassUtils#compare(Class, Class)
*/
public static int compare(final Prioritized p1, final Prioritized p2) {
- final double priority1 =
- p1 == null ? Double.NEGATIVE_INFINITY : p1.getPriority();
- final double priority2 =
- p2 == null ? Double.NEGATIVE_INFINITY : p2.getPriority();
+ final double priority1 = p1 == null ? Double.NEGATIVE_INFINITY : p1
+ .getPriority();
+ final double priority2 = p2 == null ? Double.NEGATIVE_INFINITY : p2
+ .getPriority();
if (priority1 == priority2) return 0;
// NB: We invert the ordering here, so that large values come first,
// rather than the typical natural ordering of smaller values first.
@@ -115,7 +116,7 @@ public static int compare(final Prioritized p1, final Prioritized p2) {
* Injects the specified priority into the given object. Note that this is
* only possible if the given object implements the {@link Prioritized}
* interface.
- *
+ *
* @param o The object to which the priority should be assigned.
* @return true If the priority was successfully injected.
*/
diff --git a/src/main/java/org/scijava/SciJava.java b/src/main/java/org/scijava/SciJava.java
index 90a3be54c..735d0df07 100644
--- a/src/main/java/org/scijava/SciJava.java
+++ b/src/main/java/org/scijava/SciJava.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -39,7 +39,7 @@
* Main entry point into SciJava. This class enables working with SciJava
* services in a simple way, while retaining extensibility (i.e., access to
* third-party services).
- *
+ *
* @author Curtis Rueden
*/
@Plugin(type = Gateway.class, name = "sj")
@@ -54,7 +54,7 @@ public SciJava() {
/**
* Creates a new Scijava application context.
- *
+ *
* @param empty If true, the context will be empty; otherwise, it will be
* initialized with all available services.
*/
@@ -79,7 +79,7 @@ public SciJava(final boolean empty) {
* To avoid this, we have opted to use raw types and suppress the relevant
* warning here instead.
*
- *
+ *
* @param serviceClasses A list of types that implement the {@link Service}
* interface (e.g., {@code LogService.class}).
* @throws ClassCastException If any of the given arguments do not implement
@@ -93,7 +93,7 @@ public SciJava(final Class... serviceClasses) {
/**
* Creates a new SciJava application context with the specified services (and
* any required service dependencies).
- *
+ *
* @param serviceClasses A collection of types that implement the
* {@link Service} interface (e.g., {@code LogService.class}).
*/
@@ -104,7 +104,7 @@ public SciJava(final Collection> serviceClasses) {
/**
* Creates a new SciJava application context which wraps the given existing
* SciJava context.
- *
+ *
* @see Context
*/
public SciJava(final Context context) {
diff --git a/src/main/java/org/scijava/Typed.java b/src/main/java/org/scijava/Typed.java
index 552d1fd00..1b89d966e 100644
--- a/src/main/java/org/scijava/Typed.java
+++ b/src/main/java/org/scijava/Typed.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -32,7 +32,7 @@
/**
* An object with an associated type (i.e., {@link Class}), which can be queried
* at runtime.
- *
+ *
* @author Curtis Rueden
*/
public interface Typed {
diff --git a/src/main/java/org/scijava/UIDetails.java b/src/main/java/org/scijava/UIDetails.java
index 896c6bb18..98a9182c9 100644
--- a/src/main/java/org/scijava/UIDetails.java
+++ b/src/main/java/org/scijava/UIDetails.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -35,14 +35,14 @@
/**
* An interface defining details useful for generating relevant user interface
* elements.
- *
+ *
* @author Curtis Rueden
*/
public interface UIDetails extends BasicDetails, Prioritized {
/**
* The default, application-level menu root.
- *
+ *
* @see #getMenuRoot()
*/
String APPLICATION_MENU_ROOT = "app";
diff --git a/src/main/java/org/scijava/Validated.java b/src/main/java/org/scijava/Validated.java
index 4fabe278a..c93dfb444 100644
--- a/src/main/java/org/scijava/Validated.java
+++ b/src/main/java/org/scijava/Validated.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -34,7 +34,7 @@
/**
* An object whose validity can be confirmed after initialization. If the object
* is deemed invalid, a list of reasons for invalidity can be requested.
- *
+ *
* @author Curtis Rueden
*/
public interface Validated {
@@ -47,7 +47,7 @@ public interface Validated {
/**
* Gets the list of problems encountered while initializing the object.
- *
+ *
* @return The list of problems, or a zero-length list in the case of
* {@link #isValid()} returning true.
*/
diff --git a/src/main/java/org/scijava/ValidityProblem.java b/src/main/java/org/scijava/ValidityProblem.java
index b95d1e02b..d6d41c861 100644
--- a/src/main/java/org/scijava/ValidityProblem.java
+++ b/src/main/java/org/scijava/ValidityProblem.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -36,7 +36,7 @@
* Unlike most exceptions, {@code ValidityException} is typically not thrown,
* but rather only recorded for future reference.
*
- *
+ *
* @author Curtis Rueden
*/
public class ValidityProblem extends Exception {
diff --git a/src/main/java/org/scijava/Versioned.java b/src/main/java/org/scijava/Versioned.java
index eb5c0cda5..f4f3bf9ec 100644
--- a/src/main/java/org/scijava/Versioned.java
+++ b/src/main/java/org/scijava/Versioned.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -33,7 +33,7 @@
/**
* An object that knows its version.
- *
+ *
* @author Curtis Rueden
*/
public interface Versioned {
@@ -43,5 +43,4 @@ default String getVersion() {
return VersionUtils.getVersion(getClass());
}
-
}
diff --git a/src/main/java/org/scijava/annotations/AbstractIndexWriter.java b/src/main/java/org/scijava/annotations/AbstractIndexWriter.java
index 730739ca6..17ed97d10 100644
--- a/src/main/java/org/scijava/annotations/AbstractIndexWriter.java
+++ b/src/main/java/org/scijava/annotations/AbstractIndexWriter.java
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -53,7 +53,7 @@
* describe the class which was annotated together with the specific annotation
* fields.
*