> @@ -166,4 +165,9 @@ private void > getOrCreateFirewalls(GoogleComputeEngineTemplateOptions templateOpt > operation); > } > } > + > + private static String toName(URI link) { > + String path = link.getPath(); > + return path.substring(path.lastIndexOf('/') + 1); > + }
I think we're repeating this in a few places...extract? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-google/pull/86/files#r20059814