-
Notifications
You must be signed in to change notification settings - Fork 17
GeneXus compression module #874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Cherry pick to beta failed, 1 conflicted file in commit 594547c
|
Manual cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
gxcompress/src/main/java/com/genexus/compression/GXCompressor.java
Dismissed
Show dismissed
Hide dismissed
gxcompress/src/main/java/com/genexus/compression/GXCompressor.java
Dismissed
Show dismissed
Hide dismissed
Cherry pick to beta success |
@iroqueta I need regular code review Thanks! |
import com.genexus.SdtMessages_Message; | ||
import com.genexus.StructSdtMessages_Message; | ||
import org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream; | ||
import org.apache.commons.compress.compressors.gzip.GzipParameters; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused import statement
TarArchiveInputStream tis = new TarArchiveInputStream(Files.newInputStream(archive.toPath())); | ||
TarArchiveEntry entry; | ||
byte[] buffer = new byte[8192]; | ||
while ((entry = tis.getNextTarEntry()) != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'getNextTarEntry()' is deprecated
boolean isTar = false; | ||
try (FileInputStream tempFis = new FileInputStream(tempFile); | ||
TarArchiveInputStream testTar = new TarArchiveInputStream(tempFis)) { | ||
TarArchiveEntry testEntry = testTar.getNextTarEntry(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'getNextTarEntry()' is deprecated
TarArchiveInputStream tarInput = new TarArchiveInputStream(tarFis)) { | ||
|
||
TarArchiveEntry entry; | ||
while ((entry = tarInput.getNextTarEntry()) != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'getNextTarEntry()' is deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check comments
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the concerns that were raised have now been addressed and resolved
Cherry pick to beta success |
No description provided.