Use foreach loops (cherry-pick 1c80d50)
authorGintas Grigelionis <gintas@apache.org>
Sat, 26 May 2018 15:46:29 +0000 (17:46 +0200)
committerGintas Grigelionis <gintas@apache.org>
Sat, 26 May 2018 15:46:29 +0000 (17:46 +0200)
commit8c38eb4c618fdf496d577962a1fe2f3c91516b9a
tree47fb38d5296d486bb1a21b1e4277b178dcab0da8
parent8190d103173fa86b0a715980bf526a26aa4f1fc1
Use foreach loops (cherry-pick 1c80d50)
123 files changed:
src/main/org/apache/tools/ant/AntClassLoader.java
src/main/org/apache/tools/ant/Diagnostics.java
src/main/org/apache/tools/ant/DirectoryScanner.java
src/main/org/apache/tools/ant/IntrospectionHelper.java
src/main/org/apache/tools/ant/Project.java
src/main/org/apache/tools/ant/ProjectHelper.java
src/main/org/apache/tools/ant/PropertyHelper.java
src/main/org/apache/tools/ant/attribute/BaseIfAttribute.java
src/main/org/apache/tools/ant/filters/ConcatFilter.java
src/main/org/apache/tools/ant/filters/HeadFilter.java
src/main/org/apache/tools/ant/filters/LineContains.java
src/main/org/apache/tools/ant/filters/LineContainsRegExp.java
src/main/org/apache/tools/ant/filters/PrefixLines.java
src/main/org/apache/tools/ant/filters/SortFilter.java
src/main/org/apache/tools/ant/filters/StripLineBreaks.java
src/main/org/apache/tools/ant/filters/StripLineComments.java
src/main/org/apache/tools/ant/filters/SuffixLines.java
src/main/org/apache/tools/ant/filters/TabsToSpaces.java
src/main/org/apache/tools/ant/filters/TailFilter.java
src/main/org/apache/tools/ant/filters/util/JavaClassHelper.java
src/main/org/apache/tools/ant/helper/DefaultExecutor.java
src/main/org/apache/tools/ant/helper/IgnoreDependenciesExecutor.java
src/main/org/apache/tools/ant/launch/Launcher.java
src/main/org/apache/tools/ant/launch/Locator.java
src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
src/main/org/apache/tools/ant/taskdefs/AntStructure.java
src/main/org/apache/tools/ant/taskdefs/Checksum.java
src/main/org/apache/tools/ant/taskdefs/Classloader.java
src/main/org/apache/tools/ant/taskdefs/Copy.java
src/main/org/apache/tools/ant/taskdefs/CopyPath.java
src/main/org/apache/tools/ant/taskdefs/Copydir.java
src/main/org/apache/tools/ant/taskdefs/Delete.java
src/main/org/apache/tools/ant/taskdefs/Deltree.java
src/main/org/apache/tools/ant/taskdefs/ExecTask.java
src/main/org/apache/tools/ant/taskdefs/Execute.java
src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java
src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java
src/main/org/apache/tools/ant/taskdefs/Expand.java
src/main/org/apache/tools/ant/taskdefs/FixCRLF.java
src/main/org/apache/tools/ant/taskdefs/Jar.java
src/main/org/apache/tools/ant/taskdefs/Javac.java
src/main/org/apache/tools/ant/taskdefs/Javadoc.java
src/main/org/apache/tools/ant/taskdefs/Jikes.java
src/main/org/apache/tools/ant/taskdefs/MacroDef.java
src/main/org/apache/tools/ant/taskdefs/Move.java
src/main/org/apache/tools/ant/taskdefs/Parallel.java
src/main/org/apache/tools/ant/taskdefs/Recorder.java
src/main/org/apache/tools/ant/taskdefs/Replace.java
src/main/org/apache/tools/ant/taskdefs/SubAnt.java
src/main/org/apache/tools/ant/taskdefs/Sync.java
src/main/org/apache/tools/ant/taskdefs/Touch.java
src/main/org/apache/tools/ant/taskdefs/Untar.java
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java
src/main/org/apache/tools/ant/taskdefs/condition/AntVersion.java
src/main/org/apache/tools/ant/taskdefs/condition/HasMethod.java
src/main/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java
src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java
src/main/org/apache/tools/ant/taskdefs/launcher/VmsCommandLauncher.java
src/main/org/apache/tools/ant/taskdefs/optional/Native2Ascii.java
src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
src/main/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetDeploymentTool.java
src/main/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetEjbc.java
src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionUtil.java
src/main/org/apache/tools/ant/taskdefs/optional/extension/LibraryDisplayer.java
src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java
src/main/org/apache/tools/ant/taskdefs/optional/image/Image.java
src/main/org/apache/tools/ant/taskdefs/optional/jlink/jlink.java
src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java
src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java
src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnit4TestMethodAdapter.java
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.java
src/main/org/apache/tools/ant/taskdefs/optional/native2ascii/KaffeNative2Ascii.java
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java
src/main/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHSession.java
src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
src/main/org/apache/tools/ant/taskdefs/rmic/KaffeRmic.java
src/main/org/apache/tools/ant/types/AbstractFileSet.java
src/main/org/apache/tools/ant/types/Commandline.java
src/main/org/apache/tools/ant/types/CommandlineJava.java
src/main/org/apache/tools/ant/types/FilterChain.java
src/main/org/apache/tools/ant/types/FilterSet.java
src/main/org/apache/tools/ant/types/Path.java
src/main/org/apache/tools/ant/types/PatternSet.java
src/main/org/apache/tools/ant/types/Quantifier.java
src/main/org/apache/tools/ant/types/RedirectorElement.java
src/main/org/apache/tools/ant/types/XMLCatalog.java
src/main/org/apache/tools/ant/types/optional/depend/ClassfileSet.java
src/main/org/apache/tools/ant/types/resources/BZip2Resource.java
src/main/org/apache/tools/ant/types/resources/Files.java
src/main/org/apache/tools/ant/types/selectors/ContainsRegexpSelector.java
src/main/org/apache/tools/ant/types/selectors/ContainsSelector.java
src/main/org/apache/tools/ant/types/selectors/DateSelector.java
src/main/org/apache/tools/ant/types/selectors/DepthSelector.java
src/main/org/apache/tools/ant/types/selectors/FilenameSelector.java
src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java
src/main/org/apache/tools/ant/types/selectors/SizeSelector.java
src/main/org/apache/tools/ant/types/selectors/TokenizedPath.java
src/main/org/apache/tools/ant/types/selectors/TypeSelector.java
src/main/org/apache/tools/ant/types/selectors/modifiedselector/DigestAlgorithm.java
src/main/org/apache/tools/ant/util/DOMElementWriter.java
src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java
src/main/org/apache/tools/ant/util/ResourceUtils.java
src/main/org/apache/tools/ant/util/SplitClassLoader.java
src/main/org/apache/tools/ant/util/StringTokenizer.java
src/main/org/apache/tools/ant/util/WeakishReference.java
src/main/org/apache/tools/ant/util/depend/AbstractAnalyzer.java
src/main/org/apache/tools/mail/MailMessage.java
src/main/org/apache/tools/tar/TarUtils.java
src/main/org/apache/tools/zip/Simple8BitZipEncoding.java
src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java
src/tests/junit/org/apache/tools/ant/UnknownElementTest.java
src/tests/junit/org/apache/tools/ant/taskdefs/AntTest.java
src/tests/junit/org/apache/tools/ant/taskdefs/FailTest.java
src/tests/junit/org/apache/tools/ant/taskdefs/optional/depend/DependTest.java
src/tests/junit/org/apache/tools/ant/taskdefs/optional/ssh/ScpTest.java
src/tests/junit/org/apache/tools/ant/types/optional/depend/ClassFileSetTest.java