Skip to content

Commit cfe9b8d

Browse files
committed
Merge pull request #5 from mizdebsk/bzip2-typo
Fix confusing comment and variable name in bzip2 code Thanks!
2 parents c4435ca + 2aac665 commit cfe9b8d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/org/codehaus/plexus/archiver/bzip2/BZip2Compressor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class BZip2Compressor
3535
private BZip2CompressorOutputStream zOut;
3636

3737
/**
38-
* perform the GZip compression operation.
38+
* perform the BZip2 compression operation.
3939
*/
4040
public void compress()
4141
throws ArchiverException

src/test/java/org/codehaus/plexus/archiver/tar/TarBZip2UnArchiverTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ public void testExtract()
5757
tarArchiver.setDestFile( getTestFile( "target/output/archive.tar" ) );
5858
tarArchiver.createArchive();
5959

60-
BZip2Archiver gzipArchiver = (BZip2Archiver) lookup( Archiver.ROLE, "bzip2" );
60+
BZip2Archiver bzip2Archiver = (BZip2Archiver) lookup( Archiver.ROLE, "bzip2" );
6161

62-
gzipArchiver.setDestFile( testBZip2File );
63-
gzipArchiver.addFile( getTestFile( "target/output/archive.tar" ), "dontcare" );
64-
gzipArchiver.createArchive();
62+
bzip2Archiver.setDestFile( testBZip2File );
63+
bzip2Archiver.addFile( getTestFile( "target/output/archive.tar" ), "dontcare" );
64+
bzip2Archiver.createArchive();
6565

6666
TarBZip2UnArchiver tarBZip2UnArchiver = (TarBZip2UnArchiver) lookup( UnArchiver.ROLE, "tbz2" );
6767

0 commit comments

Comments
 (0)