Changed all .scala and .java files to ASF license headers. (#2367)

5 files changed