Gintas Grigelionis
36ec27d367
more script adjustments
8 years ago
twogee
ff1e521ed7
Update Maven Ant tasks, JUnit and optional libraries
8 years ago
twogee
a044dadb4b
whitespace adjustment in scripts
8 years ago
twogee
603124a79b
incorrect conditions
8 years ago
twogee
580e99c5bf
Make build & bootstrap work on macOS (cf ant);
normalise whitespace in scripts and use Perl idioms properly
8 years ago
Stefan Bodewig
de95b34f04
use HTML entity instead of unicode escape sequence
8 years ago
Stefan Bodewig
6f5db5e068
more +/- characters
8 years ago
Stefan Bodewig
246bc2bb28
make things work on OS with non-UTF8 default encoding
8 years ago
Jaikiran Pai
afc99e7920
Fix javadoc build failure
8 years ago
Jaikiran Pai
0fd2a86369
BZ-19516 Use BufferedInputStream for reduced memory usage in Zip task, in certain cases
8 years ago
Gintas Grigelionis
5eef12a964
Checkstyle: whitespace, line continuation and modifier idiosyncrasies
8 years ago
Stefan Bodewig
685324a3cf
unify format of change description
8 years ago
Stefan Bodewig
c965ef8287
trailing whitespace
8 years ago
Stefan Bodewig
7fdf27e947
ORO module compiles junit4 tests
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
67f29ce0c2
Let’s use doclint
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
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
dd1ac8f23b
make things compile on Java5 again
8 years ago
Stefan Bodewig
b9f78abff6
forgot to record new javac10+ compiler option
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
0ed7f4ab51
Normalise tabulation and line breaks (cf master)
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
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
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
f8b5fda65a
credit Kui Liu for #41
8 years ago
Stefan Bodewig
5bc6cc6eb3
forgot to credit George Bateman
8 years ago
Kui LIU
bb975e67e1
Fix the problem of instanceof test always return true.
This instanceof test will always return true because DataType is the superclass of variable nested's class ResourceComparator. The variable nested is not initialized, it would be better to do a null test rather than an instanceof test.
http://findbugs.sourceforge.net/bugDescriptions.html#BC_VACUOUS_INSTANCEOF
8 years ago
Stefan Bodewig
3a5bf997b7
line ends
8 years ago
Jaikiran Pai
3522f74357
Update release notes. This closes #37 pull request at github/apache/ant
8 years ago
Jaikiran Pai
07c54f0bb1
BZ-60644 Skip copying files, to avoid corrupting source files, if the source file and dest file are symlinked to each other
8 years ago
Stefan Bodewig
01613e0d82
record change, add @since tags, closes #36
8 years ago
George Bateman
2c5430b420
Fix zip-test
8 years ago
George Bateman
a0cb1fa843
Reverse dependancy of DateUtils on Touch
Also add test
8 years ago
George Bateman
9d4b432840
Allow faking of zip entry modification times.
Adds DateUtils.parseLenientDateTime.
8 years ago
Jaikiran Pai
7b09880b6f
BZ-58589 Preserve last modified time (if asked for) for files uploaded by SFTP
8 years ago
Jaikiran Pai
b9125733c4
BZ-43271 BZ-59648 Change permissions on the correct remote file (path) that was transferred, instead of accidentally changing the permissions of the directory containing the transferred file
8 years ago
Stefan Bodewig
4e2e7d9614
add since markers, add Mark to contributors
8 years ago
Mark Niggemann
e93a598ad0
Update manual for ejbjar orion element.
8 years ago