Navigation Menu

Skip to content

Commit

Permalink
Add a TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 28, 2014
1 parent 4f82db9 commit 7ac975f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/droonga-engine-catalog-modify
Expand Up @@ -90,6 +90,9 @@ end

source_catalog = load_source(options.source_path)
source_params = generator.catalog_to_params(source_catalog)
# TODO: Reduce too much class method calls. It is not object oriented
# programming style. It just uses class as a namespace. It is
# procedure based programming style.
modified_params = Droonga::CatalogGenerator.update_params(source_params, datasets)
modified_catalog = Droonga::CatalogGenerator.generate(modified_params)

Expand Down

0 comments on commit 7ac975f

Please sign in to comment.