Removing copy&paste code, part 2
authorJanusz Majnert <j.majnert@samsung.com>
Thu, 22 Nov 2012 13:06:01 +0000 (14:06 +0100)
committerGerrit Code Review <gerrit2@kim11>
Mon, 3 Dec 2012 06:43:13 +0000 (15:43 +0900)
commit82dfa83a149792147a861bfcef769d16e8c92e8b
tree4cebafe74460248f3470da1c82798f4258fa9fd0
parent12a74ad44f620be7df769b0d87e040bec9030566
Removing copy&paste code, part 2

[Issue#] N/A
[Bug/Feature] Duplicated code
[Cause] Copy&Paste
[Solution] Extract common code, generalise it
[Verification] Build this and all dependent packages, install them accordingly and run all tests

Changes:
- In modules/db/include/dpl/db/orm.h - replaced class-local BindVisitor helper
  classes with a file-wide class.
- NamedInputPipe - code was virtually identical to FileInput, so now
  NamedInputPipe inherits after FileInput.
- Removed some code that has been commented out for most part of the year

Change-Id: I67dba22a6341bf38db198bbc31c1425ce8a41a9f
modules/core/config.cmake
modules/core/include/dpl/named_input_pipe.h
modules/core/src/file_input.cpp
modules/core/src/main.cpp
modules/core/src/named_input_pipe.cpp [deleted file]
modules/db/include/dpl/db/orm.h