Skip to content

Commit ecd7971

Browse files
committed
Refactor starter demo
1 parent 044ee3e commit ecd7971

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • alpha-demo/alpha-demo-starter/src/main/java/com/techsenger/alpha/demo/starter

alpha-demo/alpha-demo-starter/src/main/java/com/techsenger/alpha/demo/starter/StarterDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
public final class StarterDemo {
3838

39-
private static final String CUSTOM_COMPONENT =
39+
private static final String CUSTOM_COMPONENT_XML =
4040
"""
4141
<Configuration title="Custom Component" name="custom-component" version="1.0.0" type="base">
4242
<Repositories>
@@ -80,7 +80,7 @@ public static void main(String[] args) throws Exception {
8080
listComponents(componentManager);
8181

8282
System.out.println("\nInstalling and starting custom component");
83-
componentManager.installComponent(CUSTOM_COMPONENT, messagePrinter);
83+
componentManager.installComponent(CUSTOM_COMPONENT_XML, messagePrinter);
8484
componentManager.startComponent("custom-component", Version.parse("1.0.0"));
8585
listComponents(componentManager);
8686

0 commit comments

Comments
 (0)