<commit_before>package io.novaordis.playground.swim.simplest;

import recon.Value;
import swim.api.ValueDownlink;
import swim.client.SwimClient;

public class SendingClient {

    public static void main(String[] args) throws Exception {

        final SwimClient client = new SwimClient();

        client.start();

        client.
                hostRef("ws://localhost:9009").
                nodeRef("a/device1").
                laneRef("metric").
                downlinkValue().
                keepSynced(true).
                open().
                didSet((newValue, oldValue) -> {

                    //
                    // we use this callback to close the client and exit after the first set on lane is
                    // *guaranteed* to have reached the server and came back; the client should stay up
                    // until then
                    //

                    System.out.println("exiting ...");

                    client.stop();
                    client.close();

                }).
                set(Value.of("something"));


    }

}<commit_msg>reformatting<commit_after>package io.novaordis.playground.swim.simplest;

import recon.Value;
import swim.api.ValueDownlink;
import swim.client.SwimClient;

public class SendingClient {

    public static void main(String[] args) {

        final SwimClient client = new SwimClient();

        client.start();

        client.
                hostRef("ws://localhost:9009").
                nodeRef("a/device1").
                laneRef("metric").
                downlinkValue().
                keepSynced(true).
                open().
                didSet((newValue, oldValue) -> {

                    //
                    // we use this callback to close the client and exit after the first set on lane is
                    // *guaranteed* to have reached the server and came back; the client should stay up
                    // until then
                    //

                    System.out.println("exiting ...");

                    client.stop();
                    client.close();

                }).
                set(Value.of("something"));

    }

}
{'fraction_non_alphanumeric': 0.10197519522278364, 'fraction_numerical': 0.004593477262287551, 'mean_word_length': 1.3121019108280254, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4159336', 'n_tokens_mistral': 570, 'n_tokens_neox': 505, 'n_words': 138}