Skip to content

Commit

Permalink
Fix code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed May 22, 2024
1 parent 588b34b commit 2f527fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void testHelloMessage() {

@ParameterizedTest
@CsvSource({ "13, 0", "12, 0", "11, 0" })
void unmarshallHelloMessageFromLegacyVersion(int major, int minor) throws IOException, ClassNotFoundException {
void unmarshallHelloMessageFromLegacyVersion(int major, int minor) throws IOException {
// given
String fileName = "tmp";
ObjectOutputStream output = new ObjectOutputStream(new FileOutputStream(fileName));
Expand All @@ -54,7 +54,7 @@ void unmarshallHelloMessageFromLegacyVersion(int major, int minor) throws IOExce

@ParameterizedTest
@CsvSource({ "13, 1, l", "0, 0, w" })
void unmarshallHelloMessageFromSupportedVersion(int major, int minor, char osId) throws IOException, ClassNotFoundException {
void unmarshallHelloMessageFromSupportedVersion(int major, int minor, char osId) throws IOException {
// given
String fileName = "tmp";
ObjectOutputStream output = new ObjectOutputStream(new FileOutputStream(fileName));
Expand Down

0 comments on commit 2f527fb

Please sign in to comment.