You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "beliefer (via GitHub)" <gi...@apache.org> on 2025/07/31 02:51:08 UTC
[I] [VL] Avoid using StringUtils.isNotBlank [incubator-gluten]
beliefer opened a new issue, #10298:
URL: https://github.com/apache/incubator-gluten/issues/10298
### Description
There is exists one place using `StringUtils.isNotBlank` in `VeloxListenerApi`.
```
if (StringUtils.isNotBlank(libPath)) { // Path based load. Ignore all other loadees.
JniLibLoader.loadFromPath(libPath)
} else {
val baseLibName = conf.get(GlutenConfig.GLUTEN_LIB_NAME)
loader.load(s"$platformLibDir/${System.mapLibraryName(baseLibName)}")
loader.load(s"$platformLibDir/${System.mapLibraryName(VeloxBackend.BACKEND_NAME)}")
}
```
The source code show below
```
public static boolean isNotBlank(final CharSequence cs) {
return !isBlank(cs);
}
```
We should use isBlank at first.
### Gluten version
main branch
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] Avoid using StringUtils.isNotBlank [incubator-gluten]
Posted by "zml1206 (via GitHub)" <gi...@apache.org>.
zml1206 closed issue #10298: [VL] Avoid using StringUtils.isNotBlank
URL: https://github.com/apache/incubator-gluten/issues/10298
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org