From 7a9a50fcfd2c0c934a8f0b223f24588f293525de Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Tue, 18 Feb 2025 17:41:30 -0800 Subject: [PATCH] comply with checkstyle --- src/ca/bcit/comp1510/lab06/BaseballStats.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ca/bcit/comp1510/lab06/BaseballStats.java b/src/ca/bcit/comp1510/lab06/BaseballStats.java index 782e4ca..259d36a 100644 --- a/src/ca/bcit/comp1510/lab06/BaseballStats.java +++ b/src/ca/bcit/comp1510/lab06/BaseballStats.java @@ -14,6 +14,10 @@ import java.io.FileNotFoundException; * @version 1.0.0 */ public class BaseballStats { + + /** basePath of the package. */ + private static String basePath = "src/ca/bcit/comp1510/lab06/"; + /** * main program entry. * Reads baseball stats from a file and counts @@ -27,7 +31,6 @@ public class BaseballStats { String fileName; Scanner scan = new Scanner(System.in); - String basePath = "src/ca/bcit/comp1510/lab06/"; System.out.print("Enter the name of the input file: "); fileName = scan.nextLine();