<commit_before>//
//  AppDelegate.swift
//  Blog
//
//  Created by <NAME> on 22/01/15.
//  Copyright (c) 2015 Contentful GmbH. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    class var AccessToken: String { return "ContentfulAccessToken" }
    class var SpaceKey: String { return "ContentfulSpaceKey" }

    var window: UIWindow?

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        writeKeysToUserDefaults()

        window?.backgroundColor = UIColor.whiteColor()
        return true
    }

    func writeKeysToUserDefaults() {
        let defaults = NSUserDefaults.standardUserDefaults()
        let keys = BlogKeys()

        if defaults.stringForKey(AppDelegate.SpaceKey) == nil {
            defaults.setValue(keys.blogSpaceId(), forKey: AppDelegate.SpaceKey)
        }

        if defaults.stringForKey(AppDelegate.AccessToken) == nil {
            defaults.setValue(keys.blogAccessToken(), forKey: AppDelegate.AccessToken)
        }
    }

}

<commit_msg>Removed superfluous blank line<commit_after>//
//  AppDelegate.swift
//  Blog
//
//  Created by <NAME> on 22/01/15.
//  Copyright (c) 2015 Contentful GmbH. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    class var AccessToken: String { return "ContentfulAccessToken" }
    class var SpaceKey: String { return "ContentfulSpaceKey" }

    var window: UIWindow?

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        writeKeysToUserDefaults()

        window?.backgroundColor = UIColor.whiteColor()
        return true
    }

    func writeKeysToUserDefaults() {
        let defaults = NSUserDefaults.standardUserDefaults()
        let keys = BlogKeys()

        if defaults.stringForKey(AppDelegate.SpaceKey) == nil {
            defaults.setValue(keys.blogSpaceId(), forKey: AppDelegate.SpaceKey)
        }

        if defaults.stringForKey(AppDelegate.AccessToken) == nil {
            defaults.setValue(keys.blogAccessToken(), forKey: AppDelegate.AccessToken)
        }
    }

}

{'fraction_non_alphanumeric': 0.09786476868327403, 'fraction_numerical': 0.008896797153024912, 'mean_word_length': 3.157116451016636, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1033949', 'n_tokens_mistral': 658, 'n_tokens_neox': 615, 'n_words': 145}