Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.nitorcreations.willow.autoscaler.clouds;
 
 
 import java.util.Map;
 
 public class CloudAdapters {
  public CloudAdapter get(String cloudProviderId) {
    CloudAdapter cloud = .get(cloudProviderId);
    if (cloud == null) {
      throw new IllegalArgumentException("Unknown cloud provider " + cloudProviderId);
    }
    return cloud;
  }
New to GrepCode? Check out our FAQ X