Commit 87cb23e
fix: use trait-based cross-version compat for parallel collections
Created ParCollectionCompat trait with version-specific implementations:
- Scala 2.12: Empty trait (parallel collections built-in)
- Scala 2.13: Trait with CollectionConverters import
KMeansPlusPlus now extends ParCollectionCompat to get .par support.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent dd12343 commit 87cb23e
File tree
5 files changed
+11
-13
lines changed- src/main
- scala-2.12/com/massivedatascience/clusterer/compat
- scala-2.13/com/massivedatascience/clusterer/compat
- scala/com/massivedatascience/clusterer
5 files changed
+11
-13
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments