Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
@DataBoundConstructor
public ClassicUpload(String bucket, boolean sharedPublicly,
   boolean forFailedJobs, @Nullable UploadModule module,
   String pattern,
   // Legacy arguments for backwards compatibility
   @Deprecated @Nullable String bucketNameWithVars,
   @Deprecated @Nullable String sourceGlobWithVars) {
  super(Objects.firstNonNull(bucket, bucketNameWithVars), sharedPublicly,
    forFailedJobs, module);

  this.sourceGlobWithVars =
    Objects.firstNonNull(pattern, sourceGlobWithVars);
}

...