Skip to content

Commit 7f31ff2

Browse files
Update dependencies cuba-platform/cuba#3307
1 parent 5face48 commit 7f31ff2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ dependencies {
8282
appComponent("com.haulmont.cuba:cuba-global:$cubaVersion")
8383
}
8484

85-
def hsql = 'org.hsqldb:hsqldb:2.4.1'
85+
def hsql = 'org.hsqldb:hsqldb:2.5.2'
8686

8787
configure([globalModule, coreModule, guiModule, webModule]) {
8888
apply(plugin: 'java')
@@ -113,7 +113,7 @@ configure([globalModule, coreModule, guiModule, webModule]) {
113113
compile('io.vavr:vavr:0.9.0')
114114
compile('jaxen:jaxen:1.1.6')
115115
compile('org.jetbrains:annotations:15.0')
116-
compile('org.codehaus.groovy:groovy-all:2.5.4')
116+
compile('org.codehaus.groovy:groovy-all:2.5.23')
117117
testCompile('junit:junit:4.12')
118118
testCompile('cglib:cglib-nodep:3.2.4')
119119
testCompile('org.spockframework:spock-core:1.1-groovy-2.4')

modules/global/src/de/diedavids/cuba/runtimediagnose/diagnose/ZipFileHelper.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ class ZipFileHelper {
6565
protected void addArchiveEntryToZipFile(ZipArchiveOutputStream zipOutputStream, String fileName, byte[] fileContent) {
6666

6767
byte[] correctFileContent = fileContent ?: [] as byte[]
68-
ArchiveEntry resultArchiveEntry = createArchiveEntry(fileName, correctFileContent)
68+
ZipArchiveEntry resultArchiveEntry = createArchiveEntry(fileName, correctFileContent)
6969

7070
zipOutputStream.putArchiveEntry(resultArchiveEntry)
7171
zipOutputStream.write(correctFileContent)
7272
zipOutputStream.closeArchiveEntry()
7373
}
7474

75-
protected ArchiveEntry createArchiveEntry(String name, byte[] data) {
75+
protected ZipArchiveEntry createArchiveEntry(String name, byte[] data) {
7676
ZipArchiveEntry zipEntry = new ZipArchiveEntry(name)
7777
zipEntry.size = data.length
7878
zipEntry.compressedSize = zipEntry.size

0 commit comments

Comments
 (0)