You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/03/26 08:40:51 UTC
[isis] branch master updated: rename html resource to skip sonar
analysis (by naming convention)
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 2678cca rename html resource to skip sonar analysis (by naming convention)
2678cca is described below
commit 2678cca931d35332cf90474a5f191a364719a179
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Mar 26 09:40:38 2020 +0100
rename html resource to skip sonar analysis (by naming convention)
---
examples/demo/src/main/java/demoapp/dom/types/markup/MarkupDemo.java | 2 +-
.../java/demoapp/dom/types/markup/{markup.html => markup-embedded.html} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/demo/src/main/java/demoapp/dom/types/markup/MarkupDemo.java b/examples/demo/src/main/java/demoapp/dom/types/markup/MarkupDemo.java
index d3d89be..082d722 100644
--- a/examples/demo/src/main/java/demoapp/dom/types/markup/MarkupDemo.java
+++ b/examples/demo/src/main/java/demoapp/dom/types/markup/MarkupDemo.java
@@ -58,7 +58,7 @@ public class MarkupDemo extends DemoStub {
log.info("MarkupDemo::initDefaults");
try {
- val htmlSource = _Strings.read(_Resources.load(MarkupDemo.class, "markup.html"), StandardCharsets.UTF_8);
+ val htmlSource = _Strings.read(_Resources.load(MarkupDemo.class, "markup-embedded.html"), StandardCharsets.UTF_8);
markup = new Markup(htmlSource);
} catch (Exception e) {
log.error("failed to create Markup from file resource", e);
diff --git a/examples/demo/src/main/java/demoapp/dom/types/markup/markup.html b/examples/demo/src/main/java/demoapp/dom/types/markup/markup-embedded.html
similarity index 100%
rename from examples/demo/src/main/java/demoapp/dom/types/markup/markup.html
rename to examples/demo/src/main/java/demoapp/dom/types/markup/markup-embedded.html