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

4 files changed