Skip to content

Commit

Permalink
Update terminology in code (#2267)
Browse files Browse the repository at this point in the history
Change "master" -> "dispatching"
  • Loading branch information
jodastephen committed Dec 17, 2020
1 parent 216d48e commit af74b8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -16,9 +16,9 @@
import com.opengamma.strata.report.trade.TradeReportTemplateIniLoader;

/**
* Loads report templates from ini files by delegating to specific loaders for the different report types.
* Loads report templates from ini files by dispatching to specific loaders for the different report types.
*/
final class MasterReportTemplateIniLoader {
final class DispatchingReportTemplateIniLoader {

/**
* The known report template loaders.
Expand All @@ -28,7 +28,7 @@ final class MasterReportTemplateIniLoader {
new CashFlowReportTemplateIniLoader());

// restricted constructor
private MasterReportTemplateIniLoader() {
private DispatchingReportTemplateIniLoader() {
}

//-------------------------------------------------------------------------
Expand Down
Expand Up @@ -20,7 +20,7 @@ public interface ReportTemplate {
* @throws RuntimeException if the ini file cannot be parsed
*/
public static ReportTemplate load(IniFile iniFile) {
return MasterReportTemplateIniLoader.load(iniFile);
return DispatchingReportTemplateIniLoader.load(iniFile);
}

}

0 comments on commit af74b8e

Please sign in to comment.