Skip to content

Commit

Permalink
rm useless .toString()
Browse files Browse the repository at this point in the history
as stated by the javadoc of String.toString():
> This object (which is already a string!) is itself returned.
  • Loading branch information
gturri committed Mar 25, 2024
1 parent cf65156 commit f91152f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generator/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {

apply plugin: 'org.openapi.generator'

def clientOutputDir = "$rootDir/$rootProject.generatedClientsDirName/java".toString()
def clientOutputDir = "$rootDir/$rootProject.generatedClientsDirName/java"
def buildDir = "$projectDir/build";
def resourcesDir = "$projectDir/resources".toString()
def criteoPackage = project.properties["package.name.base"]
Expand Down
2 changes: 1 addition & 1 deletion generator/php/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ext {
jar.enabled = false
}

def clientOutputDir = "$rootDir/$rootProject.generatedClientsDirName/php".toString()
def clientOutputDir = "$rootDir/$rootProject.generatedClientsDirName/php"
def resourcesDir = "$projectDir/resources".toString()
def criteoPackage = project.properties["package.name.base"]
def generatorVersion = project.properties["generator.version"]
Expand Down
2 changes: 1 addition & 1 deletion generator/python/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ext {
jar.enabled = false
}

def clientOutputDir = "$rootDir/$rootProject.generatedClientsDirName/python".toString()
def clientOutputDir = "$rootDir/$rootProject.generatedClientsDirName/python"
def resourcesDir = "$projectDir/resources".toString()
def buildDir = "$projectDir/build"
def criteoPackage = project.properties["package.name.base"]
Expand Down

0 comments on commit f91152f

Please sign in to comment.