Skip to content

Commit 1ea8c7d

Browse files
committed
Get rid of cast; fix typo
1 parent f102bf3 commit 1ea8c7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ subprojects {
6565

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

7171
options.compilerArgs << '-Werror'
@@ -342,7 +342,7 @@ def getGitTag() {
342342
return tag.name
343343
}
344344

345-
def getAnnotatedTags() {
345+
def getAnnotatedTags() {
346346
def tags = []
347347
for (tag in grgit.tag.list()) {
348348
if (tag.commit == grgit.head()

0 commit comments

Comments
 (0)