osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] ant pull request #79: Make DataType and Reference generic


Github user bodewig commented on a diff in the pull request:

    https://github.com/apache/ant/pull/79#discussion_r232667496
  
    --- Diff: src/main/org/apache/tools/ant/types/ArchiveFileSet.java ---
    @@ -574,11 +570,8 @@ public int getDirMode() {
          * fileset if the project has been set).
          */
         private void checkArchiveAttributesAllowed() {
    -        if (getProject() == null
    -            || (isReference()
    -                && (getRefid().getReferencedObject(
    -                        getProject())
    -                    instanceof ArchiveFileSet))) {
    +        if (getProject() == null || (isReference()
    +                && getRefid().getReferencedObject(getProject()) instanceof ArchiveFileSet)) {
    --- End diff --
    
    please keep whitespace changes separate from PRs (or better just don't create them at all)


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx