Github user omalley commented on the issue:
https://github.com/apache/orc/pull/166
Changes:
* Renamed HadoopShims_2_2 to HadoopShimsPre2_3 and moved to shims module.
* Removed TextReaderShim since we aren't using it any more.
* Pulled the padding method into the HadoopShim as padStreamToBlock.
* Added HadoopShimsPre2_7.
* Refactored a bit so that the shim classes share most of the code, while
making sure that older shims never reference new shims.
* Fixed some broken javadoc.---
