Gintas Grigelionis
|
7f1e7628b3
|
Checkstyle: whitespace, line continuation and modifier idiosyncrasies
|
8 years ago |
Gintas Grigelionis
|
6656db28bb
|
Let’s use doclint
|
8 years ago |
Matt Benson
|
1730e18ba9
|
code updates
|
8 years ago |
Stefan Bodewig
|
af74d1f6b8
|
reduce GC pressure by replacing File(In|Out)putStream
|
8 years ago |
Stefan Bodewig
|
934adc2ee7
|
there is no better choice of a non-generic exception
|
9 years ago |
Stefan Bodewig
|
da943ea14a
|
accept "impossible" exceptions
|
9 years ago |
Stefan Bodewig
|
45152b5208
|
Sonar meets backwards compatibility requirements
|
9 years ago |
Stefan Bodewig
|
60162945dd
|
fix Serializable classes that were in fact not Serializable
|
9 years ago |
Stefan Bodewig
|
e1f9674ab3
|
false positives for null dereferences
|
9 years ago |
Stefan Bodewig
|
ac1b7652dd
|
Sonar false positives for resource leaks
|
9 years ago |
Stefan Bodewig
|
cd1ff3566e
|
make ZipFile implement Closeable
|
9 years ago |
Stefan Bodewig
|
99684cfd77
|
yet another potential AIOBException in zip package
Bug found and fix provided by Earl Hood
|
10 years ago |
Stefan Bodewig
|
6e34f177ee
|
COMPRESS-317 ArrayIndexOutOfBoundsException in ZipArchiveEntry#getMergedFields
Too bad this hasn't been found two weeks before.
|
10 years ago |
Stefan Bodewig
|
66b5f3f06b
|
Arrays.copyOf is Java 1.6 only
|
11 years ago |
Stefan Bodewig
|
2c04d7e833
|
port Kristian Rosenvold's write performance improvements from Commons Compress
|
11 years ago |
Stefan Bodewig
|
4cbbf3629a
|
Don't whine about unclosed archives if the file isn't even there.
Port of https://issues.apache.org/jira/browse/COMPRESS-297
|
11 years ago |
Stefan Bodewig
|
3cdcaf96fe
|
better use getter than raw attribute access
|
11 years ago |
Stefan Bodewig
|
fa15b7c210
|
ZipEntry's copy constructor was incomplete
|
11 years ago |
Stefan Bodewig
|
df33426bf2
|
whitespace
|
11 years ago |
Jan Matèrne
|
13f6d98c9d
|
make it compile under Java5 (1.5.0_22-b03)
|
11 years ago |
Jan Matèrne
|
1b76f1b6da
|
checkstyle
|
11 years ago |
Jan Matèrne
|
bf6026a147
|
organize imports
|
11 years ago |
Stefan Bodewig
|
5fc48a4bf9
|
assorted spelling fixes by Lajos Veres - closes #4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1572981 13f79535-47bb-0310-9956-ffa450edef68
|
11 years ago |
Stefan Bodewig
|
803f9c877e
|
explicitly set milliseconds to 0 when parsing ZipEntry's time field, it has two second granularity anyway
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1536171 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
d79bed61a5
|
PR 55271: obey to section 1.4.2 in http://www.pkware.com/documents/casestudies/APPNOTE.TXT
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1504158 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
362376d624
|
Merge handling of duplicate entries from Commons Compress' ZipFile - needed to fix PR 54967
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1489286 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
3fb0180530
|
merge zip64 fix from commons compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1486439 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
82641d77bb
|
don't search beyond the start of the archive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1439115 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
1a4946cfd6
|
improve performance when reading non zip64 zip files, merge from commons compress, based on patch by Robin Power
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1439044 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
98f306fa84
|
re-use a bunch of temporary arrays - merge from Compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429370 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
73d3298e62
|
merge recent fixes from Compress' tar package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1426337 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
ca86f16776
|
Inspired by PR 54056 I looked for thread-safety issues with HashMap in our code - nothing major found
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1407856 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
2e5b53fa10
|
merge tar package from Compress, bringing some POSIX tar support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350857 13f79535-47bb-0310-9956-ffa450edef68
|
13 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 |
Jacobus Martinus Kruithof
|
6b7bc9e535
|
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Jesse N. Glick
|
fca4fe69ed
|
NS_DANGEROUS_NON_SHORT_CIRCUIT
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1297169 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
0e150acfd4
|
ZipFile doesn't work properly for archives using unicode extra fields. Port of fix for COMPRESS-164 by Volker Leidl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1210522 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
7d02a9f6cf
|
there is an off-by-one error in the loop that searches for the 'end of central directory record'
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1154107 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
d25f4c4021
|
finalize deflater instance in ZipOutputStream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1153485 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
c4c9d2552b
|
clean up Inflater instance as some JDKs won't do it for us. PR 42696. Submitted by Mounir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1146020 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Antoine Levy-Lambert
|
aae4e79e64
|
another change in order not to get any warnings during JavaDoc generation when preparing releases
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1049295 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Antoine Levy-Lambert
|
b9db9faf83
|
fixing warnings in javadoc generation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1043505 13f79535-47bb-0310-9956-ffa450edef68
|
15 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
|
d3e00e275a
|
EFS in APPNOTE.TXT stands for 'Early Feature Specification' so our usage of it as 'use the general purpose field to signal UTF8' is wrong.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911741 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
c767541c7d
|
As Jesse points out, equalsIgnoreCase is not locale-sensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911324 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
f665a4d335
|
accept a wider range of existing zip archives by being more lenient when parsing extra fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910537 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Antoine Levy-Lambert
|
77cba689ce
|
fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909962 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
49a001d9c9
|
make comparision locale insensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909469 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
272ec48fce
|
ensure the same encoding is used for name and comment in all places. Submitted by Wolfgang Glas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@750311 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |