<commit_before>import { Component } from '@angular/core';
import { Router } from '@angular/router';

@Component({
// moduleId: module.id,  // For webpack, remove this
  selector: 'my-app',
  templateUrl: './app.component.html'
})

export class AppComponent {

  constructor(private router: Router) {
    this.router = router;
  }
  // control nav style by changing the class name
  isAtHome() {
    if (this.router.url === '/' || this.router.url === '/#!') {
    } else {<commit_msg>remove unnecessary initialization code in component constructor<commit_after>import { Component } from '@angular/core';
import { Router } from '@angular/router';

@Component({
// moduleId: module.id,  // For webpack, remove this
  selector: 'my-app',
  templateUrl: './app.component.html'
})

export class AppComponent {

    constructor(private router: Router) { }

  // control nav style by changing the class name
  isAtHome() {
    if (this.router.url === '/' || this.router.url === '/#!') {
    } else {
{'fraction_non_alphanumeric': 0.16044399596367306, 'fraction_numerical': 0.0, 'mean_word_length': 3.55045871559633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2200680', 'n_tokens_mistral': 302, 'n_tokens_neox': 298, 'n_words': 84}