Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lower visibility in some test code #1807

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ public void locateShouldNotThrowExceptionOnFailureWhenFailFastIsDisabled(Capture
assertThat(composite.getPropertySources()).hasSize(0);
assertThat(output.getOut()).contains("Failed to load source:");


}

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
@SpringBootApplication
@EnableScheduling
public class Application {
class Application {

public static void main(String[] args) {
SpringApplication.run(Application.class, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @author wind57
*/
@Service
public class EndpointNameAndNamespaceService {
class EndpointNameAndNamespaceService {

private List<EndpointNameAndNamespace> result;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
* @author wind57
*/
@Component
public class HeartBeatListener implements ApplicationListener<ApplicationEvent> {
class HeartBeatListener implements ApplicationListener<ApplicationEvent> {

private final EndpointNameAndNamespaceService service;

public HeartBeatListener(EndpointNameAndNamespaceService service) {
HeartBeatListener(EndpointNameAndNamespaceService service) {
this.service = service;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HeartbeatController {
class HeartbeatController {

private final EndpointNameAndNamespaceService service;

public HeartbeatController(EndpointNameAndNamespaceService service) {
HeartbeatController(EndpointNameAndNamespaceService service) {
this.service = service;
}

@GetMapping("/result")
public List<EndpointNameAndNamespace> result() {
List<EndpointNameAndNamespace> result() {
return service.result();
}

Expand Down
Loading