Skip to content

Commit c57f18a

Browse files
committed
Happy New Year 2022
1 parent 9223b8e commit c57f18a

13 files changed

Lines changed: 16 additions & 15 deletions

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017 - 2018, Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
1+
Copyright (c) 2017 - 2022, Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

src/main/java/org/scijava/batch/BatchModuleSearchActionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

src/main/java/org/scijava/batch/BatchService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

src/main/java/org/scijava/batch/FileBatchService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

src/main/java/org/scijava/batch/FileScriptBatchProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

src/main/java/org/scijava/batch/MenuScriptBatchProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

src/main/java/org/scijava/batch/ModuleBatchProcessor.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:
@@ -120,8 +120,9 @@ public void run() {
120120
}
121121

122122
String taskName = "Batch:";
123-
if ((scriptModule.getInfo()!=null) && (scriptModule.getInfo().getName()!=null)) {
124-
taskName = scriptModule.getInfo().getName();
123+
ModuleInfo scriptInfo = scriptModule.getInfo();
124+
if (scriptInfo != null && scriptInfo.getName() != null) {
125+
taskName = scriptInfo.getName();
125126
}
126127
Task batchTask = taskService.createTask(taskName);
127128
batchTask.setProgressMaximum(inputFileList.length);

src/main/java/org/scijava/batch/ScriptInfoWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

src/main/java/org/scijava/batch/SwingScriptInfoWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

src/main/java/org/scijava/batch/input/BatchInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* A Batch Processor for SciJava Modules and Scripts
44
* %%
5-
* Copyright (C) 2017 - 2018 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
5+
* Copyright (C) 2017 - 2022 Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)
66
* %%
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:

0 commit comments

Comments
 (0)