twogee
eefeb6158a
Remove duplicated code
5 years ago
jkf
3a4980e3c4
updated reference to license from http to https using
find . -type f -exec sed -i "s/http:\/\/www.apache.org\/licenses\/LICENSE-2.0/https:\/\/www.apache.org\/licenses\/LICENSE-2.0/" {} \;
6 years ago
Gintas Grigelionis
1e30b48a0e
Use try-with-resources
7 years ago
Gintas Grigelionis
551cb55e32
Revert last 5 commits
7 years ago
Gintas Grigelionis
2b699eb695
SonarQube: nested if’s is a major code smell
7 years ago
Gintas Grigelionis
2977bb596c
Checkstyle: dangling operators
7 years ago
Maarten Coene
ec5b55d52c
Merge 1.9.x branch into master
7 years ago
Gintas Grigelionis
867ebc271f
Use String.join()
7 years ago
Gintas Grigelionis
fffc2fde16
Redundant string length computations
7 years ago
Gintas Grigelionis
1142263093
Avoid Collections.list().stream()
(for performance sake)
7 years ago
Gintas Grigelionis
070c3bc86f
Deprecate CollectionUtils and Enumerations;
reduce explicit use of Enumeration
7 years ago
Gintas Grigelionis
03bb68d6ba
Deprecate StringUtils.LINE_SEP
7 years ago
Stefan Bodewig
a5ed6946a4
logic got reversed by 30f5213
7 years ago
Gintas Grigelionis
c3b91f90f0
More isEmpty()
7 years ago
Gintas Grigelionis
30f52135af
Use null-or-empty pattern
7 years ago
Gintas Grigelionis
845c2c5b39
Avoid line.separator
7 years ago
Gintas Grigelionis
fe29fce36e
Java 8: computeIfAbsent/withInitial
7 years ago
Gintas Grigelionis
22b69b9273
Squash catch
7 years ago
Gintas Grigelionis
3f90aeba03
Use diamonds
7 years ago
Gintas Grigelionis
95495d57aa
Remove extraneous casts and (un)boxing, tersify logic
7 years ago
reudismam
782ec74638
Use the isEmpty method instead of comparing the value of size() to 0.
This closes #61 pull request at github/apache/ant repo
7 years ago
Gintas Grigelionis
6656db28bb
Let’s use doclint
8 years ago
Stefan Bodewig
b2b058dcf7
Merge branch '1.9.x'
closes #42 closes #43
8 years ago
Kui LIU
c141ef4009
Fix the problem of using '+=' operator to concatenate strings a in a loop.
The method is building a String using concatenation in a loop.
In each iteration, the String is converted to a StringBuilder, appended to, and converted back to a String.
This can lead to a cost quadratic in the number of iterations, as the growing string is recopied in each iteration.
Better performance can be obtained by using a StringBuilder explicitly.
http://findbugs.sourceforge.net/bugDescriptions.html#SBSC_USE_STRINGBUFFER_CONCATENATION
8 years ago
Matt Benson
b7d1e9bde4
java 5-8
8 years ago
Stefan Bodewig
af74d1f6b8
reduce GC pressure by replacing File(In|Out)putStream
8 years ago
Stefan Bodewig
0715dda317
use better suited exceptions
9 years ago
Stefan Bodewig
4cecc03af6
there simply is no better logger around
9 years ago
Stefan Bodewig
bcc245e991
fields don't need to be static
9 years ago
Stefan Bodewig
7ffc0970d5
false positives for exceptions thrown from finally
9 years ago
Stefan Bodewig
ac1b7652dd
Sonar false positives for resource leaks
9 years ago
Stefan Bodewig
494e865553
make ant.project.invoked-targets available for top-level tasks
https://bz.apache.org/bugzilla/show_bug.cgi?id=58908
9 years ago
Vladislav Bauer
f15c3de41b
Prevent string concatenations as argument to "StringBuffer.append()"
10 years ago
Ville Skyttä
47a3b5144e
PR 56747 Document which options exit in help output, submitted by Ville Skyttä
11 years ago
Stefan Bodewig
df33426bf2
whitespace
11 years ago
Jan Matèrne
13f6d98c9d
make it compile under Java5 (1.5.0_22-b03)
11 years ago
Jan Matèrne
1b76f1b6da
checkstyle
11 years ago
Jan Matèrne
bf6026a147
organize imports
11 years ago
Stefan Bodewig
834d0d1201
configurable User-Agent for <get>. PR 55489. Submitted by André-John Mas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1548232 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
13000c1a46
sconnolly advises using TODO rather than XXX in comments.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1504315 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Nicolas Lalevee
eb08ea9fd0
Add the possibility to register a custom command line argument processor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1385262 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
da5f3bfd25
java 5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375571 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
3d706ab818
java 5 updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375137 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
38688e7583
Add a log mode which logs nothing but ant task output and build failures; useful for using ant output in scripts, like for cacti for instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373334 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
ceaf7b9c69
@Override not supported when implementing interface methods in JDK 5 javac.
(Spec compliance bug fixed in JDK 6 even for -source 5.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1345337 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
1d63aeddfa
Bug 51792 - Unable to override system properties with 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1343304 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
589af888eb
-f/-file/-buildfile accepts a directory containing build.xml.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1204655 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
5f20b99140
microoptimizations. PR 50716
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1066963 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
db666cd282
remove useless import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1035336 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
568f81e947
trademark
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1034687 13f79535-47bb-0310-9956-ffa450edef68
15 years ago