Skip to content

Commit f189cb9

Browse files
committed
Replace deprecated method
1 parent 5ea137c commit f189cb9

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

build.params.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ ext {
3939

4040
junit : [main : '4.12',
4141
runner: '1.0.2'],
42+
apache: [commons: [text: '1.14.0']]
4243
]
4344

4445
}

okapi-tck/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ dependencies {
66

77
api group: 'org.opencypher', name: 'tck', version: ver.cypher.tck
88
api group: 'org.opencypher', name: 'tck-api'.scala(), version: ver.cypher.tck
9+
implementation group: 'org.apache.commons', name: 'commons-text', version: ver.apache.commons.text
910
}

okapi-tck/src/main/scala/org/opencypher/okapi/tck/test/CreateStringGenerator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
package org.opencypher.okapi.tck.test
2828

2929

30-
import org.apache.commons.lang3.StringEscapeUtils
30+
import org.apache.commons.text.StringEscapeUtils
3131
import org.opencypher.okapi.impl.exception.NotImplementedException
3232
import org.opencypher.okapi.tck.test.TckToCypherConverter.tckValueToCypherValue
3333
import org.opencypher.okapi.api.value.CypherValue.{CypherList => OKAPICypherList, CypherMap => OKAPICypherMap, CypherNull => OKAPICypherNull, CypherString => OKAPICypherString, CypherValue => OKAPICypherValue}

0 commit comments

Comments
 (0)