Skip to content

Commit

Permalink
[hotfix][style] format code
Browse files Browse the repository at this point in the history
  • Loading branch information
a49a committed Aug 18, 2021
1 parent 0fc0611 commit 7f995f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ private static Connection getConnectionWithKerberos(

UserGroupInformation ugi;
try {
ugi = KerberosUtil.loginAndReturnUgi(conf.get(KerberosUtil.KEY_PRINCIPAL_FILE), principal, keytabFileName);
ugi =
KerberosUtil.loginAndReturnUgi(
conf.get(KerberosUtil.KEY_PRINCIPAL_FILE), principal, keytabFileName);
} catch (Exception e) {
throw new RuntimeException("Login kerberos error:", e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public static SourceFactory discoverSource(SyncConf config, StreamExecutionEnvir
Set<URL> urlList =
PluginUtil.getJarFileDirPath(
pluginName,
config.getPluginRoot() + File.separatorChar + ConstantValue.CONNECTOR_DIR_NAME,
config.getPluginRoot()
+ File.separatorChar
+ ConstantValue.CONNECTOR_DIR_NAME,
null);
urlList.addAll(
PluginUtil.getJarFileDirPath(
Expand Down Expand Up @@ -120,7 +122,9 @@ public static SinkFactory discoverSink(SyncConf config) {
Set<URL> urlList =
PluginUtil.getJarFileDirPath(
pluginName,
config.getPluginRoot() + File.separatorChar + ConstantValue.CONNECTOR_DIR_NAME,
config.getPluginRoot()
+ File.separatorChar
+ ConstantValue.CONNECTOR_DIR_NAME,
null);
urlList.addAll(
PluginUtil.getJarFileDirPath(
Expand Down

0 comments on commit 7f995f0

Please sign in to comment.