Skip to content

Commit d2d4455

Browse files
committed
style: Reformat using intellij-java-google-style
1 parent bf9100d commit d2d4455

File tree

3 files changed

+152
-153
lines changed

3 files changed

+152
-153
lines changed

markdown/src/main/java/org/apache/zeppelin/markdown/MarkdownInterpreter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public int getProgress(InterpreterContext context) {
7979
@Override
8080
public Scheduler getScheduler() {
8181
return SchedulerFactory.singleton()
82-
.createOrGetParallelScheduler(MarkdownInterpreter.class.getName() + this.hashCode(), 5);
82+
.createOrGetParallelScheduler(MarkdownInterpreter.class.getName() + this.hashCode(), 5);
8383
}
8484

8585
@Override

markdown/src/main/java/org/apache/zeppelin/markdown/PegdownParser.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public String render(String markdownText) {
2626
if (null == parsed) throw new RuntimeException("Cannot parse markdown syntax string to HTML");
2727

2828
html = wrapWithMarkdownClassDiv(parsed);
29-
3029
} catch (RuntimeException e) {
3130
logger.error("Failed to parsed markdown text", e);
3231
}
@@ -37,9 +36,9 @@ public String render(String markdownText) {
3736
/** wrap with markdown class div to styling DOM using css */
3837
public static String wrapWithMarkdownClassDiv(String html) {
3938
return new StringBuilder()
40-
.append("<div class=\"markdown-body\">\n")
41-
.append(html)
42-
.append("\n</div>")
43-
.toString();
39+
.append("<div class=\"markdown-body\">\n")
40+
.append(html)
41+
.append("\n</div>")
42+
.toString();
4443
}
4544
}

0 commit comments

Comments
 (0)