Skip to content

Commit 517ebc8

Browse files
Fix style
1 parent dc7fc50 commit 517ebc8

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

zeppelin-server/src/main/java/org/apache/zeppelin/rest/message/NotebookRepoSettingsRequest.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,34 @@
1616
*/
1717
package org.apache.zeppelin.rest.message;
1818

19-
import org.apache.commons.lang.StringUtils;
20-
2119
import java.util.Collections;
2220
import java.util.Map;
2321

22+
import org.apache.commons.lang.StringUtils;
23+
2424
/**
2525
* Represent payload of a notebook repo settings.
2626
*/
2727
public class NotebookRepoSettingsRequest {
2828

29-
public static final NotebookRepoSettingsRequest EMPTY = new NotebookRepoSettingsRequest();
29+
public static final NotebookRepoSettingsRequest EMPTY = new NotebookRepoSettingsRequest();
3030

31-
public String name;
32-
public Map<String, String> settings;
31+
public String name;
32+
public Map<String, String> settings;
3333

34-
public NotebookRepoSettingsRequest() {
35-
name = StringUtils.EMPTY;
36-
settings = Collections.emptyMap();
37-
}
34+
public NotebookRepoSettingsRequest() {
35+
name = StringUtils.EMPTY;
36+
settings = Collections.emptyMap();
37+
}
3838

39-
public boolean isEmpty() {
40-
return this == EMPTY;
41-
}
39+
public boolean isEmpty() {
40+
return this == EMPTY;
41+
}
4242

43-
public static boolean isEmpty(NotebookRepoSettingsRequest repoSetting) {
44-
if (repoSetting == null) {
45-
return true;
46-
}
47-
return repoSetting.isEmpty();
43+
public static boolean isEmpty(NotebookRepoSettingsRequest repoSetting) {
44+
if (repoSetting == null) {
45+
return true;
4846
}
47+
return repoSetting.isEmpty();
48+
}
4949
}

0 commit comments

Comments
 (0)