Skip to content

Commit 001a5f2

Browse files
committed
HeadlessArgument: move to the correct package
It was in the wrong package. The org.scijava.console package is lower level than org.scijava.ui. Logic relating to the union of those two packages goes into org.scijava.ui.console. This is technically a breaking API change, but in this case we are moving a plugin implementation class, which no one should be relying on directly. It is probably worth a formal rule stating that SJC public API (covered by SemVer) does not include `@Plugin` implementations at all.
1 parent 5755c59 commit 001a5f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/org/scijava/console/HeadlessArgument.java renamed to src/main/java/org/scijava/ui/console/HeadlessArgument.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@
2828
* POSSIBILITY OF SUCH DAMAGE.
2929
* #L%
3030
*/
31-
package org.scijava.console;
31+
package org.scijava.ui.console;
3232

3333
import java.util.LinkedList;
3434

3535
import org.scijava.Context;
36+
import org.scijava.console.AbstractConsoleArgument;
37+
import org.scijava.console.ConsoleArgument;
38+
import org.scijava.console.ConsoleService;
3639
import org.scijava.plugin.Parameter;
3740
import org.scijava.plugin.Plugin;
3841
import org.scijava.ui.UIService;

0 commit comments

Comments
 (0)