Skip to content

Commit 1171c2a

Browse files
committed
Fix constructor
1 parent a4c80f3 commit 1171c2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/SIL.Machine/Corpora/QuotationDenormalizationUsfmUpdateBlockHandler.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ public QuotationDenormalizationUsfmUpdateBlockHandler(
99
QuoteConvention targetQuoteConvention,
1010
QuotationMarkUpdateSettings settings = null
1111
)
12-
{
13-
if (settings == null)
14-
settings = new QuotationMarkUpdateSettings(); //TODO pass conventions?
15-
base(sourceQuoteConvention.Normalize(), targetQuoteConvention, settings);
16-
}
12+
: base(
13+
sourceQuoteConvention.Normalize(),
14+
targetQuoteConvention,
15+
settings == null ? new QuotationMarkUpdateSettings() : null //TODO pass conventions?
16+
) { }
1717
}
1818
}

0 commit comments

Comments
 (0)