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
dccbf1fcec
Checkstyle and simplify, next iteration
7 years ago
Gintas Grigelionis
95495d57aa
Remove extraneous casts and (un)boxing, tersify logic
7 years ago
Gintas Grigelionis
7f1e7628b3
Checkstyle: whitespace, line continuation and modifier idiosyncrasies
8 years ago
Stefan Bodewig
da943ea14a
accept "impossible" exceptions
9 years ago
Stefan Bodewig
2c04d7e833
port Kristian Rosenvold's write performance improvements from Commons Compress
10 years ago
Stefan Bodewig
333b90446c
some stray @since tags from CC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1346027 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
dee95e3acc
merge Zip64 support from Commons Compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1346025 13f79535-47bb-0310-9956-ffa450edef68
13 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
Stefan Bodewig
f21a51dfd3
even more encoding options for zips
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@750072 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
817fd31998
fix a bunch of findbugs reported problems in the zip, tar and bzip2 classes. PR 46661
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741089 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
4c69b551ec
magic numbers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@569089 13f79535-47bb-0310-9956-ffa450edef68
18 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
Jacobus Martinus Kruithof
704e2490d3
removed lines with $Revision: x.y $ lines (after verification)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277845 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5e049f635b
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277305 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6cb33f75ab
Minor corrections plus added @param and @return where missing
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277123 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
a05d1f1219
First attempt at optimizing the zip code to have decent performance
The performance problem was mainly due to the entry insertion in
the hashtable where all hash code were equals in the hashtable.
I also removed a lot of unecessary Zip(Long|Short) object creation by
adding static methods and suppressed a hashtable.
More can be done, but I tried not to break the interface and have as less code
as possible. The testcase attached in the bug report show that it is now 15% slower than Sun native code and 20% faster than Jazz libs.
Now watch for Gump...
PR: 31930
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277122 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
66b5bf27b7
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274824 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
28b02949e7
There is no reason to expect subclasses for ZipShort and ZipLong
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272468 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
6154080061
More coding standard fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272433 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
bb58f9a943
Reimplementation of ZipOutputStream along with a subclass of ZipEntry
to allow Ant generated zip/jar/war/ear files to be extracted on Unix
boxes without permission problems for directories.
This one uses external file attributes like InfoZip's zip does, this
is a rough cut - the infrastructure to set arbitrary permissions and
add user/group IDs via Zip's external fields is there, but not used
ATM. Directories will always get 755 permissions right now.
The testcases work on my box, and I can extract Ant created archives
without any trouble - can't await tomorrows Gump run.
package documentation for org.apache.tools.zip will follow.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268959 13f79535-47bb-0310-9956-ffa450edef68
24 years ago