jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds-examples] Add glacier example (#58)
Date Sun, 10 Aug 2014 19:06:30 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);

Sorry you are right; `org.jclouds.utils.TestUtils` is not part of the distribution nor should
it be.

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