<commit_before>package com.microsoft.azure.storage.samples;

import java.io.PrintWriter;
import java.io.StringWriter;

import com.microsoft.azure.storage.samples.blob.BlobGettingStartedTask;
import com.microsoft.azure.storage.samples.queue.QueueGettingStartedTask;
import com.microsoft.azure.storage.samples.table.TableGettingStartedTask;
import com.microsoft.azure.storage.samples.table.TablePayloadFormatTask;

import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class MainActivity extends Activity {

    /**
     * MODIFY THIS!
     * 
     * Stores the storage connection string.
     */
    public static final String storageConnectionString = "DefaultEndpointsProtocol=https;"
            + "AccountName=[MY_ACCOUNT_NAME];"
            + "AccountKey=[MY_ACCOUNT_KEY]";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        if (savedInstanceState == null) {
            getFragmentManager().beginTransaction()
                    .add(R.id.container, new PlaceholderFragment()).commit();
        }
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;<commit_msg>Disclaimer on the use of account key<commit_after>package com.microsoft.azure.storage.samples;

import java.io.PrintWriter;
import java.io.StringWriter;

import com.microsoft.azure.storage.samples.blob.BlobGettingStartedTask;
import com.microsoft.azure.storage.samples.queue.QueueGettingStartedTask;
import com.microsoft.azure.storage.samples.table.TableGettingStartedTask;
import com.microsoft.azure.storage.samples.table.TablePayloadFormatTask;

import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class MainActivity extends Activity {

    /**
     * MODIFY THIS!
     * 
     * Stores the storage connection string.
     * Only use Shared Key authentication (Account Key) for testing purposes! 
     * Your account name and account key, which give full read/write access to the associated Storage account, 
     * will be distributed to every person that downloads your app. 
     * This is not a good practice as you risk having your key compromised by untrusted clients. 
     * Please consult following documents to understand and use Shared Access Signatures instead. 
     * https://docs.microsoft.com/en-us/rest/api/storageservices/delegating-access-with-a-shared-access-signature
     * https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1
     */
    public static final String storageConnectionString = "DefaultEndpointsProtocol=https;"
            + "AccountName=[MY_ACCOUNT_NAME];"
            + "AccountKey=[MY_ACCOUNT_KEY]";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        if (savedInstanceState == null) {
            getFragmentManager().beginTransaction()
                    .add(R.id.container, new PlaceholderFragment()).commit();
        }
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
{'fraction_non_alphanumeric': 0.09253036960454898, 'fraction_numerical': 0.0002584647195657793, 'mean_word_length': 3.6291866028708135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6207194', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1002, 'n_words': 249}