Permalink
Browse files

removed deprecated method from BlobstoreExtensions

  • Loading branch information...
1 parent 9f44c3d commit d9d7997aa193b21ee40d75400dbfd80f96d4856f @musketyr musketyr committed Sep 13, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/src/main/groovyx/gaelyk/extensions/BlobstoreExtensions.groovy
@@ -26,6 +26,7 @@ import com.google.appengine.api.blobstore.ByteRange
import com.google.appengine.api.images.Image
import com.google.appengine.api.images.ImagesServiceFactory
import com.google.appengine.api.images.ImagesService
+import com.google.appengine.api.images.ServingUrlOptions;
import com.google.apphosting.api.ApiProxy
import com.google.appengine.api.images.ImagesServiceFailureException
import com.google.appengine.api.blobstore.BlobstoreService
@@ -270,7 +271,7 @@ class BlobstoreExtensions {
while (true) {
Exception ex = null
try {
- return images.getServingUrl(blobKey)
+ return images.getServingUrl(ServingUrlOptions.Builder.withBlobKey(blobKey))
} catch (ApiProxy.ApiDeadlineExceededException adee) {
ex = adee
} catch (IllegalArgumentException iae) {

0 comments on commit d9d7997

Please sign in to comment.