#241: prepare LICENSE in headers
#241: change LICENSE headers in java files + reduce warnings