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
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
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
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
Gintas Grigelionis
67f29ce0c2
Let’s use doclint
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
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
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
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
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
49d63a1196
Add Orion EJB deployment tool to EjbJar taskdef.
8 years ago
Mark Niggemann
c75d148f32
Add Orion EJB deployment tool to EjbJar taskdef.
8 years ago
Stefan Bodewig
7c6c749c95
add magic property that override's tstamp's idea of "now"
https://bz.apache.org/bugzilla/show_bug.cgi?id=61079
8 years ago
Stefan Bodewig
e293c7a29c
fix off by one error found by Matt Benson
8 years ago
Stefan Bodewig
5347475984
add regexp attribute to linecontainsregexp
https://bz.apache.org/bugzilla/show_bug.cgi?id=60968
8 years ago
Stefan Bodewig
5ef86aed60
Make GenerateKey.DistinguishedName.toString more robust
https://bz.apache.org/bugzilla/show_bug.cgi?id=60767
8 years ago
Francesco Steccanella
a20c41951b
Added option to force the csv quote char
9 years ago
Stefan Bodewig
1348ebb91c
Eclipse tries to write to systemClasspath - PR 60582
thanks to @ebourg 984a03d1ce
9 years ago
Emmanuel Bourg
0c38fb606f
Fixed a typo (instanciated -> instantiated)
9 years ago
Stefan Bodewig
7081e356a8
stick with RuntimeExceptions to prevent recursive logging loops
9 years ago
Stefan Bodewig
0715dda317
use better suited exceptions
9 years ago
Stefan Bodewig
934adc2ee7
there is no better choice of a non-generic exception
9 years ago
Stefan Bodewig
18877234f2
accept generic exceptions because of backwards compatibility
9 years ago
Stefan Bodewig
da943ea14a
accept "impossible" exceptions
9 years ago
Stefan Bodewig
121043fe59
false positives
9 years ago
Stefan Bodewig
984a03d1ce
special paths can be final
9 years ago
Stefan Bodewig
008f1c8be5
embrace StringUtils#getStackTrace
9 years ago
Stefan Bodewig
4cecc03af6
there simply is no better logger around
9 years ago