<commit_before>//
//  FacebookProvider.swift
//  Pods
//
//  Created by <NAME> on 10/19/15.
//
//

import UIKit
import FBSDKCoreKit
import FBSDKLoginKit

public class FacebookProvider: SocialProvider {

    public static var sharedProvider: SocialProvider? = FacebookProvider()

    public var name: String = "facebook"
    public var token :String? {
        if FBSDKAccessToken.currentAccessToken() != nil {
            return FBSDKAccessToken.currentAccessToken().tokenString
        }
        return nil
    }
    public var secret: String? = nil

    public var iconName: String? = "icon-facebook"
    public var color: UIColor = UIColor(colorLiteralRed: 0x3b/255.0, green: 0x59/255.0, blue: 0x98/255.0, alpha: 1.0)

    public init() {
        FBSDKApplicationDelegate.sharedInstance().application(UIApplication.sharedApplication(), didFinishLaunchingWithOptions: nil)
    }
<commit_msg>Remove if let syntax because it's not needed<commit_after>//
//  FacebookProvider.swift
//  Pods
//
//  Created by <NAME> on 10/19/15.
//
//

import UIKit
import FBSDKCoreKit
import FBSDKLoginKit

public class FacebookProvider: SocialProvider {

    public static var sharedProvider: SocialProvider? = FacebookProvider()

    public var name: String = "facebook"
    public var token :String? {
        return FBSDKAccessToken.currentAccessToken().tokenString
    }
    public var secret: String? = nil

    public var iconName: String? = "icon-facebook"
    public var color: UIColor = UIColor(colorLiteralRed: 0x3b/255.0, green: 0x59/255.0, blue: 0x98/255.0, alpha: 1.0)

    public init() {
        FBSDKApplicationDelegate.sharedInstance().application(UIApplication.sharedApplication(), didFinishLaunchingWithOptions: nil)
    }

{'fraction_non_alphanumeric': 0.10196987253765932, 'fraction_numerical': 0.03244495944380069, 'mean_word_length': 3.4857142857142858, 'pattern_counts': {'":': 0, '<': 5, '<?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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1449639', 'n_tokens_mistral': 562, 'n_tokens_neox': 502, 'n_words': 136}