Jaikiran Pai
454e4e2f19
BZ-58683 Explicitly use LinkOption.NOFOLLOW_LINKS while checking for existence of a file
8 years ago
Stefan Bodewig
7cdc6d19e5
strip trailing whitespace
8 years ago
Jaikiran Pai
cefdbd398d
BZ-58683 Honour the overwrite=false for existing symlinks. Plus, use Java 7 java.nio.file.Files support for symbolinks, in symlink task
8 years ago
Stefan Bodewig
0483b9fb2b
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
7fdf27e947
ORO module compiles junit4 tests
8 years ago
Stefan Bodewig
0e17a81580
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
168b405e3e
make sure stream is close so file can be deleted on windows
8 years ago
Stefan Bodewig
4796589e81
seems Sun's native2ascii doesn't always close input properly on win
8 years ago
Gintas Grigelionis
6656db28bb
Let’s use doclint
8 years ago
Gintas Grigelionis
67f29ce0c2
Let’s use doclint
8 years ago
Stefan Bodewig
cf6965b58b
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
608b65a3e3
close streams to make files deletable on windows
8 years ago
Stefan Bodewig
ca1ed226f7
length tests are redundant with content assertions
8 years ago
Stefan Bodewig
bd676a53d1
remove commented out code
8 years ago
Stefan Bodewig
609d36356f
use different server sockets for tests, eases binding on windows
8 years ago
Stefan Bodewig
1c5a92fb1f
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
79e9d10435
fail early if javah is used with java 10+
8 years ago
Stefan Bodewig
8191d7e0f2
use cleaner methid to detect current java version in <apt>
8 years ago
Stefan Bodewig
6cd989e534
deal with theoretical case of version scheme changing again
8 years ago
Stefan Bodewig
4ea39464ab
add test for Java10 version support
8 years ago
Stefan Bodewig
1166420e38
BCEL 6.2 also needs to be used inside the POM.
8 years ago
Stefan Bodewig
0a23dc13b4
BCEL 6.2 has been released
8 years ago
Stefan Bodewig
d7e4064f5b
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
dd1ac8f23b
make things compile on Java5 again
8 years ago
Stefan Bodewig
22fb93b0c1
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
b9f78abff6
forgot to record new javac10+ compiler option
8 years ago
Stefan Bodewig
228e2e25e7
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
bd0759d943
try to adapt to Java10+ rapidly changing major versions
8 years ago
Gintas Grigelionis
572a249025
Checkstyle: mostly whitespace (cf master)
8 years ago
Gintas Grigelionis
866ce9f550
Checkstyle: mostly whitespace
8 years ago
Stefan Bodewig
fc2bce5326
Merge branch '1.9.x'
8 years ago
Gintas Grigelionis
0ed7f4ab51
Normalise tabulation and line breaks (cf master)
8 years ago
twogee
4422804db3
Normalise tabulation and line breaks
8 years ago
Jaikiran Pai
2c39081a0f
Merge 1.9.x branch
8 years ago
Jaikiran Pai
ecb6acf016
BZ-61718 Upgrade to 0.1.54 of Jsch library
This close #48 pull request at github/apache/ant
8 years ago
Stefan Bodewig
f45474c20a
reject changes to public API closes #44 closes #47
8 years ago
Stefan Bodewig
5f70336124
Merge branch '1.9.x' closes #46
8 years ago
Kui LIU
9ec11ae3b0
Remove the redundant nullcheck of value known to be non-null.
This statement contains a redundant check of a known non-null s against the constant null.
http://findbugs.sourceforge.net/bugDescriptions.html#RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
8 years ago
Stefan Bodewig
20fe0ffaf6
properly handle factory configuration exception
based on patch by Kui Liu
8 years ago
Stefan Bodewig
99a7f5916b
createAndSet never returns null
based on pytch by Kui Liu
8 years ago
Stefan Bodewig
61811c2bc4
make code actually compile
8 years ago
Kui LIU
a4aec92684
Fix the inefficient use of keySet iterator with entrySet iterator.
The current source code accesses the key and value of a Hashtable entry, using a key that is retrieved from a keySet iterator.
It is more efficient to use an iterator on the entrySet of the Hashtable, to avoid the Map.get(key) lookup.
http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR
8 years ago
Kui LIU
3e101e28a9
Fix the inefficient use of keySet iterator with entrySet iterator.
The current source code accesses the key and value of a Hashtable entry, using a key that is retrieved from a keySet iterator.
It is more efficient to use an iterator on the entrySet of the Hashtable, to avoid the Map.get(key) lookup.
http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR
8 years ago
Stefan Bodewig
b2b058dcf7
Merge branch '1.9.x'
closes #42 closes #43
8 years ago
Kui LIU
013e9159e9
Fix the inefficient use of keySet iterator with entrySet iterator.
The current source code accesses the key and value of a Hashtable entry, using a key that is retrieved from a keySet iterator.
It is more efficient to use an iterator on the entrySet of the Hashtable, to avoid the Map.get(key) lookup.
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
Stefan Bodewig
a8c086cdfa
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
f8b5fda65a
credit Kui Liu for #41
8 years ago
Stefan Bodewig
8cf68cab65
Merge branch '1.9.x'
8 years ago
Stefan Bodewig
5bc6cc6eb3
forgot to credit George Bateman
8 years ago