<commit_before>//
//  AsyncMediaPlayerButton.h
//  ARIS
//
//  Created by <NAME> on 2/4/12.
//  Copyright (c) 2012 University of Wisconsin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Media.h"
#import "ARISMoviePlayerViewController.h"

@interface AsyncMediaPlayerButton : UIButton {
    Media *media; //keep a refrence so we can update the media with the data after it is loaded
    ARISMoviePlayerViewController *mMoviePlayer;
    UIViewController *presentingController;
}

-(id)initWithFrame:(CGRect)frame media:(Media *)media presentingController:(UIViewController*)aPresentingController;

-(id)initWithFrame:(CGRect)frame mediaId:(int)mediaId presentingController:(UIViewController*)aPresentingController;
    
@property (nonatomic, retain) Media *media;
@property (nonatomic, retain) ARISMoviePlayerViewController *mMoviePlayer;
@property (nonatomic, retain) UIViewController *presentingController;


@end<commit_msg>found circular retain from noteDetailsViewController and asyncMediaPlayerButton<commit_after>//
//  AsyncMediaPlayerButton.h
//  ARIS
//
//  Created by <NAME> on 2/4/12.
//  Copyright (c) 2012 University of Wisconsin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Media.h"
#import "ARISMoviePlayerViewController.h"

@interface AsyncMediaPlayerButton : UIButton {
    Media *media; //keep a refrence so we can update the media with the data after it is loaded
    ARISMoviePlayerViewController *mMoviePlayer;
    UIViewController *presentingController;
}

-(id)initWithFrame:(CGRect)frame media:(Media *)media presentingController:(UIViewController*)aPresentingController;

-(id)initWithFrame:(CGRect)frame mediaId:(int)mediaId presentingController:(UIViewController*)aPresentingController;
    
@property (nonatomic, retain) Media *media;
@property (nonatomic, retain) ARISMoviePlayerViewController *mMoviePlayer;
@property (nonatomic, assign) UIViewController *presentingController;


@end
{'fraction_non_alphanumeric': 0.10319917440660474, 'fraction_numerical': 0.008255933952528379, 'mean_word_length': 6.050909090909091, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3676435', 'n_tokens_mistral': 591, 'n_tokens_neox': 537, 'n_words': 147}