[ 
https://issues.apache.org/jira/browse/MAHOUT-618?focusedWorklogId=993288&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-993288
 ]

ASF GitHub Bot logged work on MAHOUT-618:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Nov/25 14:36
            Start Date: 25/Nov/25 14:36
    Worklog Time Spent: 10m 
      Work Description: guan404ming commented on code in PR #639:
URL: https://github.com/apache/mahout/pull/639#discussion_r2560227823


##########
.pre-commit-config.yaml:
##########
@@ -12,17 +12,17 @@ repos:
 
   # Ruff linter and formatter
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.14.5
+    rev: v0.6.9

Review Comment:
   I'm not sure why we need to downgrade this, wdyt



##########
.pre-commit-config.yaml:
##########
@@ -12,17 +12,17 @@ repos:
 
   # Ruff linter and formatter
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.14.5
+    rev: v0.6.9

Review Comment:
   I'm not sure why we need to downgrade this, wdyt





Issue Time Tracking
-------------------

    Worklog Id:     (was: 993288)
    Time Spent: 1h 20m  (was: 1h 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: 1h 20m
>  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)

Reply via email to