Skip to content

Commit 330ed73

Browse files
committed
change indent for jobmanager backend
1 parent c7bf75a commit 330ed73

File tree

1 file changed

+4
-4
lines changed
  • zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook

1 file changed

+4
-4
lines changed

zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Notebook.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,8 @@ public List<Map<String, Object>> getJobListforNotebook(boolean needsReload,
570570
}
571571

572572
// set notebook type ( cron or normal )
573-
if (note.getConfig().containsKey(CRON_TYPE_NOTEBOOK_KEYWORD) == true
574-
&& !note.getConfig().get(CRON_TYPE_NOTEBOOK_KEYWORD).equals("")) {
573+
if (note.getConfig().containsKey(CRON_TYPE_NOTEBOOK_KEYWORD) == true &&
574+
!note.getConfig().get(CRON_TYPE_NOTEBOOK_KEYWORD).equals("")) {
575575
info.put("notebookType", "cron");
576576
}
577577
else {
@@ -600,8 +600,8 @@ public List<Map<String, Object>> getJobListforNotebook(boolean needsReload,
600600

601601
// set interpreter bind type
602602
String interpreterGroupName = null;
603-
if (note.getNoteReplLoader().getInterpreterSettings() != null
604-
&& note.getNoteReplLoader().getInterpreterSettings().size() >= 1) {
603+
if (note.getNoteReplLoader().getInterpreterSettings() != null &&
604+
note.getNoteReplLoader().getInterpreterSettings().size() >= 1) {
605605
interpreterGroupName = note.getNoteReplLoader().getInterpreterSettings().get(0).getGroup();
606606
}
607607

0 commit comments

Comments
 (0)