Skip to content

Commit

Permalink
lower visibility (#1807)
Browse files Browse the repository at this point in the history
  • Loading branch information
wind57 authored Nov 29, 2024
1 parent d719303 commit 0076ee4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
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

0 comments on commit 0076ee4

Please sign in to comment.