Skip to content

Commit

Permalink
Remove zip base class - unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Aug 2, 2024
1 parent 7681268 commit 54f0980
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
8 changes: 4 additions & 4 deletions src/SIL.Machine/Corpora/ParatextProjectTextUpdaterBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ public abstract class ParatextProjectTextUpdaterBase
{
private readonly ParatextProjectSettings _settings;

protected ParatextProjectTextUpdaterBase(ParatextProjectSettingsParserBase settingsParser)
protected ParatextProjectTextUpdaterBase(ParatextProjectSettings settings)
{
_settings = settingsParser.Parse();
_settings = settings;
}

protected ParatextProjectTextUpdaterBase(ParatextProjectSettings settings)
protected ParatextProjectTextUpdaterBase(ParatextProjectSettingsParserBase settingsParser)
{
_settings = settings;
_settings = settingsParser.Parse();
}

public string UpdateUsfm(
Expand Down
2 changes: 1 addition & 1 deletion src/SIL.Machine/Corpora/ZipParatextProjectTextUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace SIL.Machine.Corpora
{
public class ZipParatextProjectTextUpdater : ZipParatextProjectTextUpdaterBase
public class ZipParatextProjectTextUpdater : ParatextProjectTextUpdaterBase
{
private readonly ZipArchive _archive;

Expand Down
11 changes: 0 additions & 11 deletions src/SIL.Machine/Corpora/ZipParatextProjectTextUpdaterBase.cs

This file was deleted.

0 comments on commit 54f0980

Please sign in to comment.