Commit 0c1594a
fix: Remove legacy backward compatibility code and comments (#37)
Removed backward compatibility code sections and comments from the
codebase as the tool now has a single stable interface with no
historic dependencies.
Changes:
- bibtex_parser.py: Removed unused wrapper methods _extract_authors()
and _get_field() that were marked for backward compatibility
- bibtex_parser.py: Updated reference to use _get_field_safely()
directly
- cache.py: Removed "BACKWARD COMPATIBILITY" section headers and
comments
- cache.py: Updated docstrings to remove backward compatibility
language while maintaining current functionality
- cache.py: Changed misleading comments to accurately describe the
current purpose of methods
All tests pass and functionality is preserved. These methods are
actively used by the codebase and have been retained with updated
documentation.
Fixes #13
Co-authored-by: florath-ai-assistant[bot] <Andreas.Florath@telekom.de>1 parent ecd0b33 commit 0c1594a
2 files changed
+9
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | 301 | | |
311 | 302 | | |
312 | 303 | | |
| |||
346 | 337 | | |
347 | 338 | | |
348 | 339 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | 574 | | |
576 | 575 | | |
577 | 576 | | |
| |||
668 | 667 | | |
669 | 668 | | |
670 | 669 | | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | 670 | | |
675 | 671 | | |
676 | 672 | | |
| |||
683 | 679 | | |
684 | 680 | | |
685 | 681 | | |
686 | | - | |
| 682 | + | |
687 | 683 | | |
688 | | - | |
| 684 | + | |
689 | 685 | | |
690 | 686 | | |
691 | 687 | | |
| |||
854 | 850 | | |
855 | 851 | | |
856 | 852 | | |
857 | | - | |
| 853 | + | |
858 | 854 | | |
859 | 855 | | |
860 | | - | |
| 856 | + | |
861 | 857 | | |
862 | | - | |
| 858 | + | |
863 | 859 | | |
864 | 860 | | |
865 | | - | |
| 861 | + | |
866 | 862 | | |
867 | 863 | | |
868 | 864 | | |
| |||
0 commit comments