diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-19 22:20:41 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-19 22:20:41 +0200 |
commit | e77314433081a7c27b10b057acec5a32322a9e9f (patch) | |
tree | 1e9bd2ea6271751cfdd937c142a2b2bf620e0d73 /dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer | |
parent | 887b75a76896d373015926857e3335c93df9d7b8 (diff) |
move class ReadCombi -> model/Combi
Diffstat (limited to 'dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer')
-rw-r--r-- | dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java (renamed from dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/ReadCombi.java) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/ReadCombi.java b/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java index a3ddd4e..7b90b42 100644 --- a/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/ReadCombi.java +++ b/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2025 Jonas Smedegaard <dr@jones.dk> // SPDX-License-Identifier: GPL-3.0-or-later -package dk.abcdefghijklmnopqrstuvxyzæøå.bachelorizer; +package dk.abcdefghijklmnopqrstuvxyzæøå.bachelorizer.model; import java.nio.file.Files; import java.nio.file.Path; @@ -9,18 +9,18 @@ import java.nio.file.Paths; import java.io.IOException; import java.util.List; -/// ReadCombi - read and parse data file +/// Combi - static sample dataset of course combinations /// -/// File reader class slurping and parsing a comma-separated file. +/// Slurps and parses data from upstream-provided comma-separated file. /// /// @version 0.0.1 /// @see <https://moodle.ruc.dk/mod/assign/view.php?id=523186> -public class ReadCombi { +public class Combi { /// Default constructor /// /// @param args command-line arguments or default demo data - public ReadCombi(final Path path) { + public Combi(final Path path) { try { // slurp all content at once @@ -51,6 +51,6 @@ public class ReadCombi { ? Paths.get(args[0]) : Paths.get("combi.txt"); - new ReadCombi(path); + new Combi(path); } } |