<commit_before>/*
 * Created by Wiser Research Group UFBA
 */
package br.dcc.ufba.wiser.smartufba.actuator.lamp;
 
import java.util.HashMap;
 
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.core.Response;
 
// URL: devices/actuator/camera[?move=left;right;up;down]
 
@Path("/devices/actuator/camera")
public class CameraService {
    private String cameraIp = "192.168.0.199:7777";
    private HashMap<String, Integer> mapaStringCodigos = new HashMap<String, Integer>() {
            private static final long serialVersionUID = 1L;
            {
                put("left", 4);
                put("right", 3);
                put("down", 2);
                put("up", 1);
            }
    };
 
    // Realiza um sleep por s segundos
    private void sleepFor(int s) {
    	try {
            Thread.sleep(s);
        } catch (InterruptedException e) {<commit_msg>whiteline<commit_after>/*
 * Created by Wiser Research Group UFBA
 */
package br.dcc.ufba.wiser.smartufba.actuator.lamp;
 
import java.util.HashMap;
 
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.core.Response;
 
// URL: devices/actuator/camera[?move=left;right;up;down]
 
@Path("/devices/actuator/camera")
public class CameraService {
	
    private String cameraIp = "192.168.0.199:7777";
    private HashMap<String, Integer> mapaStringCodigos = new HashMap<String, Integer>() {
            private static final long serialVersionUID = 1L;
            {
                put("left", 4);
                put("right", 3);
                put("down", 2);
                put("up", 1);
            }
    };
 
    // Realiza um sleep por s segundos
    private void sleepFor(int s) {
    	try {
            Thread.sleep(s);
        } catch (InterruptedException e) {
{'fraction_non_alphanumeric': 0.1291547958214625, 'fraction_numerical': 0.018043684710351376, 'mean_word_length': 2.5531197301854975, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3962657', 'n_tokens_mistral': 717, 'n_tokens_neox': 674, 'n_words': 146}