Skip to content

Commit 94fdf2d

Browse files
authored
Remove extraneous deprecation warnings (#6055) [ci fast]
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
1 parent f3cee76 commit 94fdf2d

File tree

6 files changed

+0
-7
lines changed

6 files changed

+0
-7
lines changed

modules/nextflow/src/main/groovy/nextflow/processor/TaskConfig.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,6 @@ class TaskConfig extends LazyMap implements Cloneable {
555555
if( code == null )
556556
return defValue
557557

558-
log.warn1 "The `when` process section is deprecated -- use conditional logic in the calling workflow instead"
559558
String source = null
560559
try {
561560
if( code instanceof Closure ) {

modules/nextflow/src/main/groovy/nextflow/processor/TaskProcessor.groovy

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,6 @@ class TaskProcessor {
308308
this.ownerScript = script
309309
this.config = config
310310
this.taskBody = taskBody
311-
if( taskBody.isShell )
312-
log.warn1 "The `shell` process section is deprecated -- use the `script` section instead"
313311
this.name = name
314312
this.maxForks = config.maxForks && config.maxForks>0 ? config.maxForks as int : 0
315313
this.forksCount = maxForks ? new LongAdder() : null

modules/nf-lang/src/main/java/nextflow/script/dsl/FeatureFlagDsl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
public class FeatureFlagDsl {
1919

20-
@Deprecated
2120
@FeatureFlag("nextflow.enable.configProcessNamesValidation")
2221
@Description("""
2322
When `true`, prints a warning for every `withName:` process selector that doesn't match a process in the pipeline (default: `true`).

modules/nf-lang/src/main/java/nextflow/script/dsl/ProcessDsl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ Declare a variable input. The received value can be any type, and it will be mad
362362
""")
363363
void tuple(Object... args);
364364

365-
@Deprecated
366365
@Description("""
367366
Declare an `each` input.
368367
""")

modules/nf-lang/src/main/java/nextflow/script/dsl/WorkflowDsl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ public interface WorkflowDsl extends DslScope {
204204
""")
205205
Channel max(Channel source, Closure comparator);
206206

207-
@Deprecated
208207
@Operator
209208
@Description("""
210209
The `merge` operator joins the values from two or more channels into a new channel.

modules/nf-lang/src/main/java/nextflow/script/types/Channel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ public static Channel<Path> watchPath(String filePattern, String events) {
306306
""")
307307
public abstract Channel max(Closure comparator);
308308

309-
@Deprecated
310309
@Operator
311310
@Description("""
312311
The `merge` operator joins the values from two or more channels into a new channel.

0 commit comments

Comments
 (0)