<commit_before>import {Http, Headers} from 'angular2/http';
import {Router} from 'angular2/router';
import {Injectable} from 'angular2/core';
import {AuthHttp, JwtHelper, AuthConfig} from 'angular2-jwt';
import {Observable} from 'rxjs/Observable';
import { IUser } from '../base/interfaces/interfaces';

@Injectable()
export class AuthService {
  token: any;
  jwtHelper: JwtHelper = new JwtHelper();
  public activation_data: Observable<any>;

  constructor(private http: Http, private router: Router, private authHttp: AuthHttp) { }

  saveJwt(jwt) {
    if (jwt) {
      localStorage.setItem('token', jwt);
      this.token = localStorage.getItem('token');
    }
  };<commit_msg>Removed: junk variable.<commit_after>import {Http, Headers} from 'angular2/http';
import {Router} from 'angular2/router';
import {Injectable} from 'angular2/core';
import {AuthHttp, JwtHelper, AuthConfig} from 'angular2-jwt';
import {Observable} from 'rxjs/Observable';
import { IUser } from '../base/interfaces/interfaces';

@Injectable()
export class AuthService {
  token: any;
  jwtHelper: JwtHelper = new JwtHelper();

  constructor(private http: Http, private router: Router, private authHttp: AuthHttp) { }

  saveJwt(jwt) {
    if (jwt) {
      localStorage.setItem('token', jwt);
      this.token = localStorage.getItem('token');
    }
  };
{'fraction_non_alphanumeric': 0.13974455296769348, 'fraction_numerical': 0.006010518407212622, 'mean_word_length': 4.86784140969163, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1335064', 'n_tokens_mistral': 430, 'n_tokens_neox': 431, 'n_words': 111}