<commit_before>import org.apache.http.impl.client.DefaultHttpClient;
import vcap.client.CloudController;
import vcap.client.Resource;
import vcap.client.RestCollection;
import vcap.client.model.Info;
import vcap.client.Token;
import vcap.client.Uaa;
import vcap.client.model.Service;

/**
 * @author <NAME> <<EMAIL>>
 */
public class ClientTest {
	public static void main(String[] args) {
		final CloudController cloudController = new CloudController(new DefaultHttpClient(), "http://api.app2-dev.lds.org");
		final Info info = cloudController.getInfo();
		System.out.println(info.getName());

		final Uaa uaa = cloudController.getUaa();
//		final Uaa uaa = new Uaa(new DefaultHttpClient(), "https://uaa.app2-dev.lds.org");
		final Token token = uaa.getClientToken("service-gateway", "gatewaysecret");

		final RestCollection<Service> services = cloudController.getServices(token);
		for (Resource<Service> service : services) {
			System.out.println("Label: " + service.getEntity().getLabel());
			System.out.println("UUID: " + service.getGuid());
			System.out.println();
		}
	}
}<commit_msg>Cleaned up imports.<commit_after>import org.apache.http.impl.client.DefaultHttpClient;
import vcap.client.CfTokens;
import vcap.client.CloudController;
import vcap.client.TokenContents;
import vcap.client.Uaa;
import vcap.client.model.Info;

/**
 * @author <NAME> <<EMAIL>>
 */
public class ClientTest {
	public static void main(String[] args) {
		final CloudController cloudController = new CloudController(new DefaultHttpClient(), "http://api.app2-dev.lds.org");
		final Info info = cloudController.getInfo();
		System.out.println(info.getName());

		final Uaa uaa = cloudController.getUaa();
//		final Uaa uaa = new Uaa(new DefaultHttpClient(), "https://uaa.app2-dev.lds.org");

		final CfTokens tokens = new CfTokens();
		final TokenContents tokenContents = uaa.checkToken("servicegateway", "gatewaysecret", tokens.getTargetToken().getToken());
		System.out.println(tokenContents.getEmail());
	}
}
{'fraction_non_alphanumeric': 0.14536340852130325, 'fraction_numerical': 0.0020050125313283208, 'mean_word_length': 5.336507936507936, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2222717', 'n_tokens_mistral': 648, 'n_tokens_neox': 623, 'n_words': 128}