GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Change for Paul (#224) · vithushan19/java-docs-samples@87ee84d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • appengine/images/src/main/java/com/example/appengine/images
    • ImagesServlet.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎appengine/images/src/main/java/com/example/appengine/images/ImagesServlet.java‎

Copy file name to clipboardExpand all lines: appengine/images/src/main/java/com/example/appengine/images/ImagesServlet.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOExc
9090
//[START rotate]
9191
// Make an image from a Cloud Storage object, and transform it.
9292
BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();
93-
BlobKey blobKey = blobstoreService.createGsBlobKey("gs://" + bucket + "/image.jpeg");
93+
BlobKey blobKey = blobstoreService.createGsBlobKey("/gs/" + bucket + "/image.jpeg");
9494
Image blobImage = ImagesServiceFactory.makeImageFromBlob(blobKey);
9595
Transform rotate = ImagesServiceFactory.makeRotate(90);
9696
Image rotatedImage = imagesService.applyTransform(rotate, blobImage);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.