Skip to content

Commit aea312b

Browse files
committed
Revert "Adjust source code to work correctly with jBibTeX version 1.0.17 from maven central."
This reverts commit c507b98.
1 parent 555e7d1 commit aea312b

File tree

2 files changed

+33
-37
lines changed

2 files changed

+33
-37
lines changed

frontend/src/app/gen/model/BibTeXEntry.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
import * as models from './models';
1414

1515
export interface BibTeXEntry {
16-
17-
'@class': String;
18-
1916
type?: models.Key;
2017

2118
key?: models.Key;

frontend/src/app/pages/references/components/reference/components/referenceview/referenceview.component.ts

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ export class ReferenceViewComponent implements OnInit, OnDestroy {
334334
httpErrorMsgFile = null;
335335

336336
reference: BibTeXEntry = {
337-
'@class': 'org.jbibtex.BibTeXEntry',
338337
type: {
339338
value: 'article',
340339
},
@@ -344,167 +343,167 @@ export class ReferenceViewComponent implements OnInit, OnDestroy {
344343
fields: {
345344
title: {
346345
string: '',
347-
'@class': 'org.jbibtex.StringValue',
346+
type: 'org.jbibtex.StringValue',
348347
style: 'BRACED',
349348
},
350349
author: {
351350
string: '',
352-
'@class': 'org.jbibtex.StringValue',
351+
type: 'org.jbibtex.StringValue',
353352
style: 'BRACED',
354353
},
355354
journal: {
356355
string: '',
357-
'@class': 'org.jbibtex.StringValue',
356+
type: 'org.jbibtex.StringValue',
358357
style: 'BRACED',
359358
},
360359
publisher: {
361360
string: '',
362-
'@class': 'org.jbibtex.StringValue',
361+
type: 'org.jbibtex.StringValue',
363362
style: 'BRACED',
364363
},
365364
editor: {
366365
string: '',
367-
'@class': 'org.jbibtex.StringValue',
366+
type: 'org.jbibtex.StringValue',
368367
style: 'BRACED',
369368
},
370369
chapter: {
371370
string: '',
372-
'@class': 'org.jbibtex.StringValue',
371+
type: 'org.jbibtex.StringValue',
373372
style: 'BRACED',
374373
},
375374
pages: {
376375
string: '',
377-
'@class': 'org.jbibtex.StringValue',
376+
type: 'org.jbibtex.StringValue',
378377
style: 'BRACED',
379378
},
380379
booktitle: {
381380
string: '',
382-
'@class': 'org.jbibtex.StringValue',
381+
type: 'org.jbibtex.StringValue',
383382
style: 'BRACED',
384383
},
385384
school: {
386385
string: '',
387-
'@class': 'org.jbibtex.StringValue',
386+
type: 'org.jbibtex.StringValue',
388387
style: 'BRACED',
389388
},
390389
organization: {
391390
string: '',
392-
'@class': 'org.jbibtex.StringValue',
391+
type: 'org.jbibtex.StringValue',
393392
style: 'BRACED',
394393
},
395394
institution: {
396395
string: '',
397-
'@class': 'org.jbibtex.StringValue',
396+
type: 'org.jbibtex.StringValue',
398397
style: 'BRACED',
399398
},
400399
month: {
401400
string: '',
402-
'@class': 'org.jbibtex.StringValue',
401+
type: 'org.jbibtex.StringValue',
403402
style: 'BRACED',
404403
},
405404
year: {
406405
string: '',
407-
'@class': 'org.jbibtex.StringValue',
406+
type: 'org.jbibtex.StringValue',
408407
style: 'BRACED',
409408
},
410409
crossrefString: {
411410
string: '',
412-
'@class': 'org.jbibtex.StringValue',
411+
type: 'org.jbibtex.StringValue',
413412
style: 'BRACED',
414413
},
415414
keywords: {
416415
string: '',
417-
'@class': 'org.jbibtex.StringValue',
416+
type: 'org.jbibtex.StringValue',
418417
style: 'BRACED',
419418
},
420419
Pdf: {
421420
string: '',
422-
'@class': 'org.jbibtex.StringValue',
421+
type: 'org.jbibtex.StringValue',
423422
style: 'BRACED',
424423
},
425424
doi: {
426425
string: '',
427-
'@class': 'org.jbibtex.StringValue',
426+
type: 'org.jbibtex.StringValue',
428427
style: 'BRACED',
429428
},
430429
url: {
431430
string: '',
432-
'@class': 'org.jbibtex.StringValue',
431+
type: 'org.jbibtex.StringValue',
433432
style: 'BRACED',
434433
},
435434
comment: {
436435
string: '',
437-
'@class': 'org.jbibtex.StringValue',
436+
type: 'org.jbibtex.StringValue',
438437
style: 'BRACED',
439438
},
440439
volume: {
441440
string: '',
442-
'@class': 'org.jbibtex.StringValue',
441+
type: 'org.jbibtex.StringValue',
443442
style: 'BRACED',
444443
},
445444
issn: {
446445
string: '',
447-
'@class': 'org.jbibtex.StringValue',
446+
type: 'org.jbibtex.StringValue',
448447
style: 'BRACED',
449448
},
450449
number: {
451450
string: '',
452-
'@class': 'org.jbibtex.StringValue',
451+
type: 'org.jbibtex.StringValue',
453452
style: 'BRACED',
454453
},
455454
isbn: {
456455
string: '',
457-
'@class': 'org.jbibtex.StringValue',
456+
type: 'org.jbibtex.StringValue',
458457
style: 'BRACED',
459458
},
460459
series: {
461460
string: '',
462-
'@class': 'org.jbibtex.StringValue',
461+
type: 'org.jbibtex.StringValue',
463462
style: 'BRACED',
464463
},
465464
address: {
466465
string: '',
467-
'@class': 'org.jbibtex.StringValue',
466+
type: 'org.jbibtex.StringValue',
468467
style: 'BRACED',
469468
},
470469
edition: {
471470
string: '',
472-
'@class': 'org.jbibtex.StringValue',
471+
type: 'org.jbibtex.StringValue',
473472
style: 'BRACED',
474473
},
475474
type: {
476475
string: '',
477-
'@class': 'org.jbibtex.StringValue',
476+
type: 'org.jbibtex.StringValue',
478477
style: 'BRACED',
479478
},
480479
howpublished: {
481480
string: '',
482-
'@class': 'org.jbibtex.StringValue',
481+
type: 'org.jbibtex.StringValue',
483482
style: 'BRACED',
484483
},
485484
language: {
486485
string: '',
487-
'@class': 'org.jbibtex.StringValue',
486+
type: 'org.jbibtex.StringValue',
488487
style: 'BRACED',
489488
},
490489
revision: {
491490
string: '',
492-
'@class': 'org.jbibtex.StringValue',
491+
type: 'org.jbibtex.StringValue',
493492
style: 'BRACED',
494493
},
495494
note: {
496495
string: '',
497-
'@class': 'org.jbibtex.StringValue',
496+
type: 'org.jbibtex.StringValue',
498497
style: 'BRACED',
499498
},
500499
abstract: {
501500
string: '',
502-
'@class': 'org.jbibtex.StringValue',
501+
type: 'org.jbibtex.StringValue',
503502
style: 'BRACED',
504503
},
505504
review: {
506505
string: '',
507-
'@class': 'org.jbibtex.StringValue',
506+
type: 'org.jbibtex.StringValue',
508507
style: 'BRACED',
509508
},
510509
},

0 commit comments

Comments
 (0)