Skip to content

Commit

Permalink
refactor: adjust from author feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Nov 16, 2023
1 parent 2613045 commit 4682e9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions src/org/omegat/filters4/xml/xliff/AbstractXliffFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ public boolean isFileSupported(java.io.File inFile, Map<String, String> config,

protected abstract String versionPrefix();

@Override
public boolean isBilingual() {
return true;
}

// --------------------- AbstractXmlFilter part -----------------------

/* -- Data about current unit */
Expand Down
5 changes: 0 additions & 5 deletions src/org/omegat/filters4/xml/xliff/Xliff1Filter.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ protected final String versionPrefix() {
return "1."; // can be 1.0, 1.1 or 1.2
}

@Override
public boolean isBilingual() {
return true;
}

// ----------------------- AbstractXmlFilter part----------------------

/** Current translation unit **/
Expand Down
5 changes: 0 additions & 5 deletions src/org/omegat/filters4/xml/xliff/Xliff2Filter.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ protected final String versionPrefix() {
return "2."; // can be 2.0, maybe more in the future
}

@Override
public boolean isBilingual() {
return true;
}

// ------------------- AbstractXmlFilter part -------------------------

@Override
Expand Down

0 comments on commit 4682e9b

Please sign in to comment.