Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzihan2002 committed Nov 11, 2024
1 parent f7e6adb commit a7cee47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/tutorlink/storage/ComponentStorage.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* The file contains data on each component with its name, maximum score, and weight.
*/
public class ComponentStorage extends Storage {
private static final double MAX_SCORE = 10000.0;

/**
* Constructs a {@code ComponentStorage} with the specified file path.
Expand All @@ -23,8 +24,6 @@ public ComponentStorage(String filePath) {
super(filePath);
}

private static final double MAX_SCORE = 10000.0;

/**
* Loads the list of components from the file specified in the file path.
* Each line in the file represents a component's data: name, maximum score, and weight.
Expand Down

0 comments on commit a7cee47

Please sign in to comment.