<commit_before>//
//  AttachmentsTable.swift
//  Database
//
//  Created by <NAME> on 7/15/17.
//  Copyright © 2017 Ranchero Software. All rights reserved.
//

import Foundation
import RSDatabase
import Articles

final class AttachmentsTable: DatabaseRelatedObjectsTable {

	let name: String
	let databaseIDKey = DatabaseKey.attachmentID
	var cache = DatabaseObjectCache()

	init(name: String) {

		self.name = name
	}
	
	// MARK: DatabaseRelatedObjectsTable

	func objectWithRow(_ row: FMResultSet) -> DatabaseObject? {

		if let attachment = Attachment(row: row) {
			return attachment as DatabaseObject
		}
		return nil
	}
}
<commit_msg>Make code formatting in AttachmentsTable match current style.<commit_after>//
//  AttachmentsTable.swift
//  NetNewsWire
//
//  Created by <NAME> on 7/15/17.
//  Copyright © 2017 Ranchero Software. All rights reserved.
//

import Foundation
import RSDatabase
import Articles

final class AttachmentsTable: DatabaseRelatedObjectsTable {

	let name: String
	let databaseIDKey = DatabaseKey.attachmentID
	var cache = DatabaseObjectCache()

	init(name: String) {
		self.name = name
	}
	
	// MARK: - DatabaseRelatedObjectsTable

	func objectWithRow(_ row: FMResultSet) -> DatabaseObject? {
		if let attachment = Attachment(row: row) {
			return attachment as DatabaseObject
		}
		return nil
	}
}

{'fraction_non_alphanumeric': 0.09015777610818933, 'fraction_numerical': 0.013523666416228399, 'mean_word_length': 3.808664259927798, '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': '4663332', 'n_tokens_mistral': 444, 'n_tokens_neox': 393, 'n_words': 121}