Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
apache-commons-compress
/
d7119be63642c0cc862e636071b96daaa0b99ec0
/
src
/
test
/
java
/
org
/
apache
/
commons
/
compress
/
archivers
/
tar
/
TarUtilsTest.java
d7119be
Replace magic strings "UTF-8", "US-ASCII", and so on with references to a new .util class CharsetNames (like in other commons components.) The Charsets class will be more useful when [compress] moves to Java 6 and can use String#getBytes(Charset) instead of String#getBytes(String).
by Gary D. Gregory
· 12 years ago
39c93f4
Trailing spaces
by Sebastian Bazley
· 12 years ago
e43088b
explicitly specify encoding for tar name roundtrip test
by Stefan Bodewig
· 12 years ago
23aa5b4
some additional test cases
by Stefan Bodewig
· 13 years ago
b90b1f4
Our parser for STAR-encoded binary values was wrong, STAR only uses 7 or 11 bytes and can encode negative values as twos complement signaled by the first byte being 0xff rather than 0x80. COMPRESS-182
by Stefan Bodewig
· 13 years ago
40f2e63
workaround for tar implementations that insert a NUL byte into header fields. COMPRESS-181
by Stefan Bodewig
· 13 years ago
915e8ef
COMPRESS-179 TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long
by Sebastian Bazley
· 13 years ago
68391e8
Don't use default encoding
by Sebastian Bazley
· 13 years ago
afd202f
use Unicode escapes
by Stefan Bodewig
· 13 years ago
35e4e4f
COMPRESS-113: TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing the octal size
by Sebastian Bazley
· 14 years ago
d7398f4
Must have trailing space/NUL
by Sebastian Bazley
· 14 years ago
4ca9982
Fixup tests - should only allow at most 11 octal digits in 12-byte buffer
by Sebastian Bazley
· 14 years ago
2d858d5
COMPRESS-114 Fix name round-trip problem
by Sebastian Bazley
· 14 years ago
0fd9354
Don't rely on default charset
by Sebastian Bazley
· 14 years ago
1d55670
Rename TarUtils.getXXX methods as formatXXX
by Sebastian Bazley
· 15 years ago
91401bf
Javadoc and test corrections
by Sebastian Bazley
· 15 years ago
161511f
Some test cases for TarUtils
by Sebastian Bazley
· 15 years ago