Skip to content

Commit

Permalink
Renamed to simply App to just BlockNodeApp
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Aug 21, 2024
1 parent fc86948 commit ccc6ea5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
@Singleton
@Component(
modules = {
BlockNodeAppServerInjectionModule.class,
BlockNodeAppInjectionModule.class,
HealthInjectionModule.class,
})
public interface BlockNodeAppServerInjectionComponent {
public interface BlockNodeAppInjectionComponent {
/**
* Get the block node app server.
*
* @return the block node app server
*/
BlockNodeApp getBlockNodeAppServer();
BlockNodeApp getBlockNodeApp();
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* everything should be inside its own modules.
*/
@Module
public interface BlockNodeAppServerInjectionModule {
public interface BlockNodeAppInjectionModule {

/**
* Binds the service status to the service status implementation.
Expand Down
6 changes: 3 additions & 3 deletions server/src/main/java/com/hedera/block/server/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public static void main(final String[] args) {
LOGGER.log(System.Logger.Level.INFO, "Starting BlockNode Server");

@NonNull
final BlockNodeAppServerInjectionComponent daggerComponent =
DaggerBlockNodeAppServerInjectionComponent.create();
@NonNull final BlockNodeApp server = daggerComponent.getBlockNodeAppServer();
final BlockNodeAppInjectionComponent daggerComponent =
DaggerBlockNodeAppInjectionComponent.create();
@NonNull final BlockNodeApp server = daggerComponent.getBlockNodeApp();

try {
server.startServer();
Expand Down

0 comments on commit ccc6ea5

Please sign in to comment.