Stefan Bodewig
82573c463b
fix javadoc
8 years ago
Stefan Bodewig
b38faab1cc
swap constant string and variable in some equals ops
this is a stripped down version of #56 as `isEmpty` is not available
in Java5.
8 years ago
Stefan Bodewig
5892ab045d
whitespace
8 years ago
Stefan Bodewig
f0322a2f4b
Java9 tool location changes now show up on Jenkins
8 years ago
Stefan Bodewig
40a9188d8b
infinite redirect test runs into network timeouts on Jenkins
this failure has been crying wolf for so long we hardly notice
something else might be broken in all the noise of failed Jenkins
builds.
8 years ago
Stefan Bodewig
f57d60d6c1
apply patch #55 by @reudismam which doesn't apply properly on this branch
8 years ago
Jan Matrne
6bb1f2f059
make the Log4j 1.2 Bridge work
8 years ago
Jan Matrne
7a6d765e01
deprecate Log4jListener
8 years ago
Jan Matrne
8b737f07f6
update Log4J dependency
8 years ago
Jaikiran Pai
6c860e0036
BZ-58451 BZ-58833 Give StreamPumper a chance to finish cleanly before interrupting its thread, to prevent truncated output
8 years ago
Stefan Bodewig
d43d83e019
logic was inverted
8 years ago
Gintas Grigelionis
9b116505b0
correct configuration
8 years ago
Gintas Grigelionis
e010b73d68
fix POMs (cf master)
8 years ago
Gintas Grigelionis
e740694111
Update commons-net and fix compilation on Java 5
8 years ago
Gintas Grigelionis
4d15deb0a9
update Maven documentation
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
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
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
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
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