Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
Fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalijr2 committed Dec 4, 2023
1 parent b6effbf commit d064e5c
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,4 @@ private void timeouts(CommandLine commandLine) {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ public enum LogLevel {
*/
VERBOSE

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ void filesAreRequired() {
assertEquals("files are required", exception.getMessage());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,4 @@ protected void processLine(String line, int logLevel) {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class EchoController {

@GetMapping("/echo")
public ResponseEntity<RequestEntity<Void>> echo(RequestEntity<Void> request) {
return ResponseEntity.ok(request);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public static void main(String[] args) {
SpringApplication.run(HttpClientCommandLineApplication.class, args);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ void httpClientCommandLine() throws IOException {
assertEquals(0, exitCode);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public ResponseEntity<RequestEntity<Void>> echo(RequestEntity<Void> request) {
return ResponseEntity.ok(request);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public static void main(String[] args) {
SpringApplication.run(HttpClientCommandLineApplication.class, args);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ void httpClientCommandLine() throws IOException {
assertEquals(0, exitCode);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.context.annotation.Bean;
import uk.bot_by.ijhttp_tools.command_line.HttpClientCommandLine;

@TestConfiguration
public class HttpClientCommandLineConfiguration {

Expand All @@ -19,4 +18,4 @@ static HttpClientCommandLine httpClientCommandLine() {
return new HttpClientCommandLine();
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
*/
@PropertyMapping("timeout") int timeout() default -1;

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ private void copyBooleanParametersAndLogLevelAndExecutable(
httpClientCommandLine.report(parameters.isReport());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ public String toString() {
.add("socketTimeout=" + socketTimeout).toString();
}

}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package uk.bot_by.ijhttp_tools.spring_boot_test;


import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.isA;
import static org.junit.jupiter.api.Assertions.assertAll;
Expand Down

0 comments on commit d064e5c

Please sign in to comment.