Skip to content

Commit

Permalink
Update dependencies cuba-platform/cuba#3307
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavrilov-Ivan authored Jan 14, 2025
1 parent 5face48 commit 7f31ff2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ dependencies {
appComponent("com.haulmont.cuba:cuba-global:$cubaVersion")
}

def hsql = 'org.hsqldb:hsqldb:2.4.1'
def hsql = 'org.hsqldb:hsqldb:2.5.2'

configure([globalModule, coreModule, guiModule, webModule]) {
apply(plugin: 'java')
Expand Down Expand Up @@ -113,7 +113,7 @@ configure([globalModule, coreModule, guiModule, webModule]) {
compile('io.vavr:vavr:0.9.0')
compile('jaxen:jaxen:1.1.6')
compile('org.jetbrains:annotations:15.0')
compile('org.codehaus.groovy:groovy-all:2.5.4')
compile('org.codehaus.groovy:groovy-all:2.5.23')
testCompile('junit:junit:4.12')
testCompile('cglib:cglib-nodep:3.2.4')
testCompile('org.spockframework:spock-core:1.1-groovy-2.4')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ class ZipFileHelper {
protected void addArchiveEntryToZipFile(ZipArchiveOutputStream zipOutputStream, String fileName, byte[] fileContent) {

byte[] correctFileContent = fileContent ?: [] as byte[]
ArchiveEntry resultArchiveEntry = createArchiveEntry(fileName, correctFileContent)
ZipArchiveEntry resultArchiveEntry = createArchiveEntry(fileName, correctFileContent)

zipOutputStream.putArchiveEntry(resultArchiveEntry)
zipOutputStream.write(correctFileContent)
zipOutputStream.closeArchiveEntry()
}

protected ArchiveEntry createArchiveEntry(String name, byte[] data) {
protected ZipArchiveEntry createArchiveEntry(String name, byte[] data) {
ZipArchiveEntry zipEntry = new ZipArchiveEntry(name)
zipEntry.size = data.length
zipEntry.compressedSize = zipEntry.size
Expand Down

0 comments on commit 7f31ff2

Please sign in to comment.