Skip to content

Commit

Permalink
Get rid of cast; fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Feb 25, 2022
1 parent f102bf3 commit 1ea8c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ subprojects {

tasks.withType(JavaCompile) {
'all -processing -rawtypes -serial'.split().each {
options.compilerArgs << ("-Xlint:${it}" as String)
options.compilerArgs << "-Xlint:${it}".toString()
}

options.compilerArgs << '-Werror'
Expand Down Expand Up @@ -342,7 +342,7 @@ def getGitTag() {
return tag.name
}

def getAnnotatedTags() {
def getAnnotatedTags() {
def tags = []
for (tag in grgit.tag.list()) {
if (tag.commit == grgit.head()
Expand Down

0 comments on commit 1ea8c7d

Please sign in to comment.