<commit_before>package org.async.fbclient;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.ExecutionException;

import org.async.fbclient.NotificationCallBack.Status;
import org.async.fbclient.beans.user.User;
import org.json.JSONException;
import org.json.JSONObject;

public class Main {

	public static void main(String[] s) throws FileNotFoundException, IOException, InterruptedException, ExecutionException, JSONException{
		Properties props = new Properties();
		props.load(new FileInputStream("properties/app.properties"));
		String ACCESS_TOKEN = props.getProperty("ACCESS_TOKEN");
	
		AsyncFBClient fbC = new OAuth2AsyncFBClient(ACCESS_TOKEN,new UniRestWrapper());
		CompletionNotifier userCompletionNotifier = new CompletionNotifier();
		fbC.getUserDetails(userCompletionNotifier);
		while(!userCompletionNotifier.isDone()){
			Thread.sleep(1000);
		}
		
		if(userCompletionNotifier.status() == Status.Completed){
			User user = userCompletionNotifier.deserialize(User.class);
			System.out.println(user.getFirst_name());
			System.out.println(user.getLast_name());
		}
		
	}
}


<commit_msg>Comment added<commit_after>package org.async.fbclient;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.ExecutionException;

import org.async.fbclient.NotificationCallBack.Status;
import org.async.fbclient.beans.user.User;
import org.json.JSONException;
import org.json.JSONObject;

public class Main {

	public static void main(String[] s) throws FileNotFoundException, IOException, InterruptedException, ExecutionException, JSONException{
		Properties props = new Properties();
		props.load(new FileInputStream("properties/app.properties"));
		String ACCESS_TOKEN = props.getProperty("ACCESS_TOKEN");
	
		AsyncFBClient fbC = new OAuth2AsyncFBClient(ACCESS_TOKEN,new UniRestWrapper());
		CompletionNotifier userCompletionNotifier = new CompletionNotifier();
		fbC.getUserDetails(userCompletionNotifier);
		while(!userCompletionNotifier.isDone()){
			//DO other processing here
			Thread.sleep(1000);
		}
		
		if(userCompletionNotifier.status() == Status.Completed){
			User user = userCompletionNotifier.deserialize(User.class);
			System.out.println(user.getFirst_name());
			System.out.println(user.getLast_name());
		}
		
	}
}



{'fraction_non_alphanumeric': 0.10775510204081633, 'fraction_numerical': 0.004081632653061225, 'mean_word_length': 6.230088495575221, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7578169', 'n_tokens_mistral': 753, 'n_tokens_neox': 697, 'n_words': 129}