Skip to content

Commit 744c351

Browse files
javier-godoypaodb
authored andcommitted
fix: concatenate java extension when DemoSource is defaulted
1 parent 87e5c09 commit 744c351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public void addDemo(Component demo) {
103103
if (sourceCodeUrl.equals(DemoSource.GITHUB_SOURCE)) {
104104
sourceCodeUrl = Optional.ofNullable(this.getClass().getAnnotation(GithubLink.class))
105105
.map(githubLink -> githubLink.value() + "/blob/master/src/test/java/"
106-
+ demo.getClass().getName().replace('.', '/'))
106+
+ demo.getClass().getName().replace('.', '/') + ".java")
107107
.orElse(null);
108108
}
109109
}

0 commit comments

Comments
 (0)