jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Coedo <notificati...@github.com>
Subject Re: [jclouds-examples] Add glacier example (#58)
Date Sun, 10 Aug 2014 18:35:17 GMT
> +            return false;
> +         default:
> +            System.out.println("Not a valid option");
> +            break;
> +         }
> +      }
> +      catch(InputMismatchException e){
> +         System.out.println("Not a valid option");
> +      }
> +      return true;
> +   }
> +
> +   private static ByteSource buildData(long size) {
> +      byte[] array = new byte[1024];
> +      Arrays.fill(array, (byte) 'a');
> +      return ByteSources.repeatingArrayByteSource(array).slice(0, size);

Is this part of the new SNAPSHOT version? I can't import the TestUtils class while using 1.8.0
version.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/58/files#r16032611
Mime
View raw message