Skip to content

Commit

Permalink
[Bug #275] Use consistent line-endings throughout project.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Ledvinka authored and ledsoft committed Nov 3, 2024
1 parent e7cc457 commit e69a568
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text = auto
*.java text diff=java
*.png binary
*.jpg binary
*.xlsx binary
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ void findTermOccurrencesSetsFoundOccurrencesAsApprovedWhenCorrespondingExistingO
final File file = initFile();
final TermOccurrence existing = Generator.generateTermOccurrence(new Term(TERM_URI), file, false);
final Selector quoteSelector = new TextQuoteSelector("Územní plán", "RDFa simple", "hlavního města Prahy.");
final Selector posSelector = new TextPositionSelector(35, 46);
final Selector posSelector = new TextPositionSelector(29, 40);
existing.getTarget().setSelectors(Set.of(quoteSelector, posSelector));
final InputStream is = cz.cvut.kbss.termit.environment.Environment.loadFile("data/rdfa-simple.html");
sut.parseContent(is, file);
Expand Down

0 comments on commit e69a568

Please sign in to comment.