Skip to content

Commit 707ecc9

Browse files
author
Johannes Mattsson
committed
Fix naming conventions for files
1 parent eccdaea commit 707ecc9

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

2020/src/aoc/Day1.java renamed to 2020/src/aoc/Day01.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.util.Optional;
77
import java.util.Scanner;
88

9-
public class Day1 {
9+
public class Day01 {
1010
public static HashMap<Integer, Integer> input = new HashMap<>();
1111
public static int triple = 0;
1212

2020/src/aoc/Day2.java renamed to 2020/src/aoc/Day02.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import java.io.FileNotFoundException;
55
import java.util.Scanner;
66

7-
public class Day2 {
7+
public class Day02 {
88

99
public static void main(String[] args) throws FileNotFoundException {
1010
File file = new File("./2020/Day2Input.txt");

2020/src/aoc/Day3.java renamed to 2020/src/aoc/Day03.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.ArrayList;
66
import java.util.Scanner;
77

8-
public class Day3 {
8+
public class Day03 {
99

1010
public static void main(String[] args) throws FileNotFoundException {
1111
File file = new File("./2020/Day3Input.txt");

2020/src/aoc/Day5.java renamed to 2020/src/aoc/Day05.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.util.Collections;
77
import java.util.Scanner;
88

9-
public class Day5 {
9+
public class Day05 {
1010
public static void main(String[] args) throws FileNotFoundException {
1111
File file = new File("./2020/Day5Input.txt");
1212
Scanner scanner = new Scanner(file);

2020/src/aoc/Day6.java renamed to 2020/src/aoc/Day06.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.util.Collections;
77
import java.util.Scanner;
88

9-
public class Day6 {
9+
public class Day06 {
1010
public static void main(String[] args) throws FileNotFoundException {
1111
File file = new File("./2020/Day6Input.txt");
1212
Scanner scanner = new Scanner(file);

2020/src/aoc/Day7.java renamed to 2020/src/aoc/Day07.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import java.io.FileNotFoundException;
55
import java.util.*;
66

7-
public class Day7 {
7+
public class Day07 {
88
public static void main(String[] args) throws FileNotFoundException {
99
File file = new File("./2020/Day7Input.txt");
1010
Scanner scanner = new Scanner(file);

2020/src/aoc/Day8.java renamed to 2020/src/aoc/Day08.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.ArrayList;
66
import java.util.Scanner;
77

8-
public class Day8 {
8+
public class Day08 {
99
public static void main(String[] args) throws FileNotFoundException {
1010
File file = new File("./2020/Day8Input.txt");
1111
Scanner scanner = new Scanner(file);

2020/src/aoc/Day9.java renamed to 2020/src/aoc/Day09.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import java.io.FileNotFoundException;
55
import java.util.*;
66

7-
public class Day9 {
7+
public class Day09 {
88
public static void main(String[] args) throws FileNotFoundException {
99
File file = new File("./2020/Day9Input.txt");
1010
Scanner scanner = new Scanner(file);

0 commit comments

Comments
 (0)