Use Array instead for this collection

Open Beginner friendly
#194 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
scala
Domain
data

Research direction

Open core/src/main/scala/com/phasmidsoftware/tableparser/core/table/RenderableTable.scala at line 208 and identify which collection the CONSIDER comment refers to and how it is built and consumed there. Grep the core module for other uses of that value to see whether switching to an Array changes call sites. Done looks like the collection replaced with an Array, the core module compiling, and the existing tests under core/src/test still passing.

Written by the indexing model from the issue text.

Description

core/src/main/scala/com/phasmidsoftware/tableparser/core/table/RenderableTable.scala:208:

CONSIDER using something else such as Array.

Dominant language
Scala
Stars
11
Forks
4
Avg merge
6h 54m
Merged PRs (30d)
52

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rchillyard/TableParser

All issues in rchillyard/TableParser

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.