<commit_before>import { Injectable } from "@angular/core";
import { Http } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import { ServiceBase } from '../shared/service-base';
import { OperationResult } from '../shared/operation-result';
import { ApiService, ApiRoutes } from '../shared/api-service';
import { Diplom } from './models/diplom';

@Injectable()
export class DiplomWorksService extends ApiService<Diplom>{
    protected static routes:ApiRoutes = 
    {
        getUrl:"/api/diploms",
        getOneUrl:"/api/diploms/",
        addUrl:"api/diploms/add",
        updateUrl:"/api/diploms/update/",
        deleteUrl:"/api/diploms/delete/"
    }
    constructor(http: Http)
    {
        super(DiplomWorksService.routes,http);
    }
}<commit_msg>DCS-12: Some fix<commit_after>import { Injectable } from "@angular/core";
import { Http } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import { ServiceBase } from '../shared/service-base';
import { OperationResult } from '../shared/operation-result';
import { ApiService, ApiRoutes } from '../shared/api-service';
import { Diplom } from './models/diplom';
import { DataService } from '../shared/data-service';

@Injectable()
export class DiplomWorksService extends ApiService<Diplom>{
    protected static routes:ApiRoutes = 
    {
        getUrl:"/api/diploms",
        getOneUrl:"/api/diploms/",
        addUrl:"api/diploms/add",
        updateUrl:"/api/diploms/update/",
        deleteUrl:"/api/diploms/delete/"
    }
    constructor(http: DataService)
    {
        super(DiplomWorksService.routes,http);
    }
}
{'fraction_non_alphanumeric': 0.1524163568773234, 'fraction_numerical': 0.0012391573729863693, 'mean_word_length': 3.4005449591280654, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4334826', 'n_tokens_mistral': 501, 'n_tokens_neox': 508, 'n_words': 98}