[
https://issues.apache.org/jira/browse/MAHOUT-618?focusedWorklogId=991268&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-991268
]
ASF GitHub Bot logged work on MAHOUT-618:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Nov/25 10:22
Start Date: 12/Nov/25 10:22
Worklog Time Spent: 10m
Work Description: guan404ming opened a new pull request, #619:
URL: https://github.com/apache/mahout/pull/619
### Purpose of PR
Add license headers check hook, which would auto check and add license
before commit and in CI
### Related Issues or PRs
<!
Issue Time Tracking
-------------------
Worklog Id: (was: 991268)
Remaining Estimate: 0h (was: 5m)
Time Spent: 10m
> mahout-math's pom.xml should be configured to compile in Java6
> --------------------------------------------------------------
>
> Key: MAHOUT-618
> URL: https://issues.apache.org/jira/browse/MAHOUT-618
> Project: Mahout
> Issue Type: Bug
> Components: classic
> Reporter: Daisuke Miyamoto
> Assignee: Sean R. Owen
> Priority: Major
> Fix For: 0.5
>
> Attachments: mahout-618.patch
>
> Original Estimate: 5m
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Though Mahout requires JDK6, mahout-math's pom.xml contains plugin
> configuration which direct compile for Java5 as following:
> {code}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> </plugin>
> {code}
> Furthermore RandomWrapper and DistributionChecks uses
> String#getBytes(Charset) and Arrays#copyOf() method.
> These methods are not supported in JDK5.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)