> + } else { > + return list(container); > + } > + } > + > + /** > + * Checks whether an accessible object is available. Google cloud storage > does not support directly support > + * BucketExist or ObjectExist operations > + */ > + @Override > + public boolean blobExists(String container, String name) { > + try { > + String urlName = name.contains("/") ? URLEncoder.encode(name, > Charsets.UTF_8.toString()) : name; > + return api.getObjectApi().objectExist(container, urlName); > + } catch (UnsupportedEncodingException e) { > + Throwables.propagate(e);
Use `throw Throwables.propagate(e)`, which will allow you to remove `return false` below. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-google/pull/48/files#r17210167