diff --git a/src/main/kotlin/app/revanced/utils/signing/align/ZipAligner.kt b/src/main/kotlin/app/revanced/utils/signing/align/ZipAligner.kt index 29d1162..1a348f6 100644 --- a/src/main/kotlin/app/revanced/utils/signing/align/ZipAligner.kt +++ b/src/main/kotlin/app/revanced/utils/signing/align/ZipAligner.kt @@ -2,11 +2,10 @@ package app.revanced.utils.signing.align import app.revanced.utils.signing.align.zip.ZipFile import java.io.File -import java.util.* internal object ZipAligner { - const val DEFAULT_ALIGNMENT = 4 - const val LIBRARY_ALIGNEMNT = 4096 + private const val DEFAULT_ALIGNMENT = 4 + private const val LIBRARY_ALIGNMENT = 4096 fun align(input: File, output: File) { val inputZip = ZipFile(input) @@ -16,7 +15,7 @@ internal object ZipAligner { val data = inputZip.getDataForEntry(entry) if (entry.compression == 0.toUShort()) { - val alignment = if (entry.fileName.endsWith(".so")) LIBRARY_ALIGNEMNT else DEFAULT_ALIGNMENT + val alignment = if (entry.fileName.endsWith(".so")) LIBRARY_ALIGNMENT else DEFAULT_ALIGNMENT outputZip.addEntryAligned(entry, data, alignment) } else {