1 | if (o instanceof TarFileSet) {↵ | | 1 | if (o instanceof ZipFileSet) {↵
|
2 | return (AbstractFileSet) o;↵ | | 2 | return (AbstractFileSet) o;↵
|
3 | } else if (o instanceof FileSet) {↵ | | 3 | } else if (o instanceof FileSet) {↵
|
4 | TarFileSet zfs = new TarFileSet((FileSet) o);↵ | | 4 | ZipFileSet zfs = new ZipFileSet((FileSet) o);↵
|
5 | configureFileSet(zfs);↵ | | 5 | configureFileSet(zfs);↵
|
6 | return zfs;↵ | | 6 | return zfs;↵
|
7 | } else {↵ | | 7 | } else {↵
|
8 | String msg = getRefid().getRefId() + " doesn\'t denote a tarfileset or a fileset";↵ | | 8 | String msg = getRefid().getRefId() + " doesn\'t denote a zipfileset or a fileset";↵
|
9 | throw new BuildException(msg);↵ | | 9 | throw new BuildException(msg);↵
|
10 | | | 10 |
|