> @@ -108,7 +109,7 @@ public Statement apply(String group) {
>              String.format("chef_server_url \"%s\"", endpoint.get())));
>  
>        Statement createValidationPem = appendFile(chefConfigDir + 
> "{fs}validation.pem",
> -            Splitter.on('\n').split(Pems.pem(validatorKey)));
> +            
> Splitter.on(Pattern.compile("(\\r\\n)|(\\n)")).split(Pems.pem(validatorKey)));

It does not do that internally I think. If you do a lot of processing usually 
you want it in a constants. It did not seem necessary here, unless you process 
millions of statements...?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/5/files#r4939594

Reply via email to