Cleaned up redundant code by sharing, and removed some dead code.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_fix_issue_96@449 eaa15691-b419-025a-1212-ee371bd00084
2 files changed