twogee
bf7c94af20
antlib: is a magic name
6 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
e2dd6ec79a
SonarQube: unnecessary parentheses is a major code smell
7 years ago
Gintas Grigelionis
70da75c505
More Streams (less StreamUtils)
7 years ago
Gintas Grigelionis
070c3bc86f
Deprecate CollectionUtils and Enumerations;
reduce explicit use of Enumeration
7 years ago
Gintas Grigelionis
bc5836f688
Synchronized fields ought to be final
7 years ago
Gintas Grigelionis
c3b91f90f0
More isEmpty()
7 years ago
Gintas Grigelionis
30f52135af
Use null-or-empty pattern
7 years ago
Gintas Grigelionis
fe29fce36e
Java 8: computeIfAbsent/withInitial
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
Gintas Grigelionis
b4243b9300
Shorten fully qualified names and other small fixes
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
7f1e7628b3
Checkstyle: whitespace, line continuation and modifier idiosyncrasies
8 years ago
Gintas Grigelionis
6656db28bb
Let’s use doclint
8 years ago
Matt Benson
b7d1e9bde4
java 5-8
8 years ago
Stefan Bodewig
121043fe59
false positives
9 years ago
Stefan Bodewig
326b38f701
assorted micro-optimizations by Adrian Nistor - 13 different Bugzilla issues
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1554813 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Antoine Levy-Lambert
46c940785a
adding if and unless namespaces allowing to put conditions on all tasks and nested elements. Code written by Peter Reilly. Bugzilla PR 43362.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1479422 13f79535-47bb-0310-9956-ffa450edef68
12 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
Jacobus Martinus Kruithof
6b7bc9e535
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
6aa0a70ff7
make sure Project#createTask has read defaults.properties. PR 50788
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1240669 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
a28f64f5cf
fix a bunch of warnings you get when building on Harmony which uses Eclipse's compiler. There are still lots (more than 100) of deprecation warnings and warnings about missing serialversionids that I have ignored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037691 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
2bcbbabc08
sp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@916442 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
e73391195c
reallyput the value into the map.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@688729 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Scokart Gilles
b456160d70
Fix possible race condition when modifying/reading restrictedDefinitions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@688715 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Scokart Gilles
4068d7cd99
Thread safety fix in case a macrodef/presetdef is executed in parallel to other type related tasks (like TypeFound conditions or starting a subproject)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687358 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Steve Loughran
733f95fdf2
seems to me these should be synchronized
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@585106 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1ecdefae95
make this synchronized, especially the pop
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@577279 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
424bee292b
checkstyle: remove trailing ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564891 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
31deeb9809
adding componentdef code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564787 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
dcc08844ad
checkstyle: 100charlimit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557217 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
c72c5d65d1
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557212 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
a840de1ce8
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557013 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
a109f4fc4f
unused imports / serialverUID
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526568 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
d5836ac061
Changes after static code analysis.
Code totally equivalent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526545 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
b2db0ad087
Extra diagnostics. Dump all types in a namespace if the one you ask for isnt known. Good for identifying typos, and helps you differentiate "library not yet loaded" from "task unknown"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@495399 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
d44807f593
move and publish public static Project getProject(Object)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@494952 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
cdadcda40f
checkstyle: make method a little smaller
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490604 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0c25b68914
Fix for Bugzilla 41049.
This modification stops ComponentHelper from keeping track
of tasks so that they can be invalidated if the task
definition changes. This is not needed anymore as
changes in UnknownElement processing in ant 1.7 mean
that UEs are kept in the Target task/type list, not the
resultant tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485287 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ebefa298a1
cast null in method call to allow 1.5 generices to not whine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@478693 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c3232ae202
reorder ComponentHelper imports, refactor getElementName to minimize
code duplication
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477969 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
90e46ca4cd
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471289 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0aa2b2528f
some checkstyle changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469717 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b912cb97f4
Performance: bugzilla 25778
Minor optimization for ComponentHelper.initDefaultDefinitions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448385 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ca38198a6c
do not get the exposed class unless necessary
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@440286 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9ae85e523b
This is slick. Instead of printing ANT_HOME/lib in the message, we print the real directory set where libs can be added. And, if ant.home is not set, we decide this is an IDE and tell the user that too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433794 13f79535-47bb-0310-9956-ffa450edef68
19 years ago