From 661c3641a1c976bcab003c433d572e5a1f46a7a5 Mon Sep 17 00:00:00 2001 From: Rhinemann Date: Sun, 7 May 2023 15:19:06 +0300 Subject: [PATCH] Naming changes. --- Java/{Lab 1/Lab_1.java => lab_1/lab_1.java} | 4 ++-- Java/{Lab 2/Lab_2.java => lab_2/lab_2.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename Java/{Lab 1/Lab_1.java => lab_1/lab_1.java} (97%) rename Java/{Lab 2/Lab_2.java => lab_2/lab_2.java} (99%) diff --git a/Java/Lab 1/Lab_1.java b/Java/lab_1/lab_1.java similarity index 97% rename from Java/Lab 1/Lab_1.java rename to Java/lab_1/lab_1.java index 150db96..467bd9b 100644 --- a/Java/Lab 1/Lab_1.java +++ b/Java/lab_1/lab_1.java @@ -1,7 +1,7 @@ import java.util.Scanner; -public class Lab_1 { - +public class lab_1 { + public static int protectedInput(String variable_to_read, Scanner input) { int read_variable; do { diff --git a/Java/Lab 2/Lab_2.java b/Java/lab_2/lab_2.java similarity index 99% rename from Java/Lab 2/Lab_2.java rename to Java/lab_2/lab_2.java index b87b5c1..e371887 100644 --- a/Java/Lab 2/Lab_2.java +++ b/Java/lab_2/lab_2.java @@ -1,6 +1,6 @@ import java.util.Scanner; -public class Lab_2 { +public class lab_2 { public static short protectedInput(String inputPrompt, String errorMessage, Scanner input) { short read_variable;