> +            try {
> +               String line;
> +               try (BufferedReader reader = new BufferedReader(new 
> InputStreamReader(process.getInputStream()))) {
> +                  while ((line = reader.readLine()) != null) {
> +                     if (line.indexOf("S-1-1-0") != -1) {
> +                        return line.split(" ")[0];
> +                     }
> +                  }
> +               }
> +            } finally {
> +               process.destroy();
> +            }
> +         } catch (IOException e) {
> +         }
> +      }
> +      return "Everyone";

Fine to merge as-is - just a minor about perhaps commenting this as a fallback 
and/or default value?

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

Reply via email to