Skip to content

Commit 759d29e

Browse files
committed
[KYLIN-5388] fix code style.
1 parent 0eacd2b commit 759d29e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/common-service/src/main/java/org/apache/kylin/rest/service/BasicService.java

+4
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,8 @@ public boolean remoteRequest(BroadcastEventReadyNotifier notifier, String projec
137137
}
138138
return true;
139139
}
140+
141+
public NProjectManager getProjectManager(){
142+
return NProjectManager.getInstance(getConfig());
143+
}
140144
}

src/metadata-server/src/main/java/org/apache/kylin/rest/controller/NTableController.java

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
import javax.servlet.http.HttpServletRequest;
3636

37+
import lombok.extern.slf4j.Slf4j;
3738
import org.apache.commons.collections.CollectionUtils;
3839
import org.apache.commons.lang.ArrayUtils;
3940
import org.apache.commons.lang.StringUtils;
@@ -90,6 +91,7 @@
9091
import io.swagger.annotations.ApiOperation;
9192
import lombok.val;
9293

94+
@Slf4j
9395
@Controller
9496
@RequestMapping(value = "/api/tables", produces = { HTTP_VND_APACHE_KYLIN_JSON })
9597
public class NTableController extends NBasicController {

0 commit comments

Comments
 (0)