Skip to content

Commit

Permalink
Rename CSVDataLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
mourjo committed Aug 29, 2024
1 parent 4df0c13 commit 13c06e8
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import soc.movies.web.dto.MovieCreationRequest;

@Slf4j
public class CSVDataLoader {
public class SampleMoviesDataGenerator {

private static final int NUM_MOVIES = 30;

Expand Down Expand Up @@ -109,8 +109,6 @@ public static void main(String[] args) throws IOException {
}
}
}


}
}

Expand All @@ -125,7 +123,6 @@ private record MovieRow(
String tags

) {

MovieCreationRequest toMovieCreationRequest() {
return new MovieCreationRequest(
name,
Expand All @@ -134,8 +131,6 @@ MovieCreationRequest toMovieCreationRequest() {
Integer.parseInt(releasedYear),
"English"
);

}

}
}

0 comments on commit 13c06e8

Please sign in to comment.