Skip to content

Commit

Permalink
[RM] Bug #55375. Use replace instead of replaceALL in build.gradle
Browse files Browse the repository at this point in the history
(cherry picked from commit b6332f8c59bfc2a8e770860ecad9c1f662977f73)

Change-Id: I9432a210961da42744dfe0975a4045c502906eee
  • Loading branch information
snorwin authored and Nikita-Smirnov-Exactpro committed May 14, 2019
1 parent 4801483 commit d89912d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BackEnd/Core/sailfish-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ task generateJavaFromXsd (dependsOn: 'createDir') {
task jamonGenerate {
inputs.files fileTree(templatesDir).include('**/*.jamon')
inputs.files.each { fileName ->
def shortName = "${fileName.absolutePath}".replaceAll(file(templatesDir).absolutePath, '').replaceAll('.jamon', '')
def shortName = "${fileName.absolutePath}".replace(file(templatesDir).absolutePath, '').replace('.jamon', '')
outputs.file file("${genJavaDir}${shortName}Impl.java")
outputs.file file("${genJavaDir}${shortName}.java")
}
Expand Down

0 comments on commit d89912d

Please sign in to comment.