From 6cf1d94e402c0518eae2dd024f771e406371b5d9 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Wed, 25 Feb 2015 09:29:30 -0500 Subject: [PATCH] don't cache a GStringImpl, convert it always to a String --- .../controllers/org/grails/maven/RepositoryController.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/org/grails/maven/RepositoryController.groovy b/grails-app/controllers/org/grails/maven/RepositoryController.groovy index afbf70889..35fd88b91 100644 --- a/grails-app/controllers/org/grails/maven/RepositoryController.groovy +++ b/grails-app/controllers/org/grails/maven/RepositoryController.groovy @@ -153,7 +153,7 @@ class RepositoryController { } } - url = "${repoUrl}/$plugin/$pluginVersion/$plugin-${snapshotVersion}$type" + url = "${repoUrl}/$plugin/$pluginVersion/$plugin-${snapshotVersion}$type".toString() cacheService?.putContent(key, url) }