pekko-connectors-sample-ftp-to-file/src/main/java/playground/filesystem/impl/JimfsFtpFile.java [36:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected JimfsFtpFile(final String fileName, final Path path,
            final User user) {
        if (fileName == null) {
            throw new IllegalArgumentException("fileName can not be null");
        }
        if (path == null) {
            throw new IllegalArgumentException("path can not be null");
        }
        if (fileName.length() == 0) {
            throw new IllegalArgumentException("fileName can not be empty");
        } else if (fileName.charAt(0) != '/') {
            throw new IllegalArgumentException(
                    "fileName must be an absolute path");
        }

        this.fileName = fileName;
        this.path = path;
        this.user = user;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pekko-connectors-sample-rotate-logs-to-ftp/src/main/java/playground/filesystem/impl/JimfsFtpFile.java [36:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected JimfsFtpFile(final String fileName, final Path path,
      final User user) {
    if (fileName == null) {
      throw new IllegalArgumentException("fileName can not be null");
    }
    if (path == null) {
      throw new IllegalArgumentException("path can not be null");
    }
    if (fileName.length() == 0) {
      throw new IllegalArgumentException("fileName can not be empty");
    } else if (fileName.charAt(0) != '/') {
      throw new IllegalArgumentException(
          "fileName must be an absolute path");
    }

    this.fileName = fileName;
    this.path = path;
    this.user = user;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



