summaryrefslogtreecommitdiff
path: root/jvmaccess
diff options
context:
space:
mode:
Diffstat (limited to 'jvmaccess')
-rw-r--r--jvmaccess/README1
-rw-r--r--jvmaccess/source/classpath.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/jvmaccess/README b/jvmaccess/README
new file mode 100644
index 000000000000..54af22469516
--- /dev/null
+++ b/jvmaccess/README
@@ -0,0 +1 @@
+Wrappers so you can use all the Java Runtime Environments with their slightly incompatible APIs with more ease.
diff --git a/jvmaccess/source/classpath.cxx b/jvmaccess/source/classpath.cxx
index b1a26df48960..c99290b0ac05 100644
--- a/jvmaccess/source/classpath.cxx
+++ b/jvmaccess/source/classpath.cxx
@@ -74,7 +74,7 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls(
::std::vector< jobject > urls;
for (::sal_Int32 i = 0; i != -1;) {
::rtl::OUString url(classPath.getToken(0, ' ', i));
- if (url.getLength() != 0) {
+ if (!url.isEmpty()) {
css::uno::Reference< css::uri::XVndSunStarExpandUrlReference >
expUrl(
css::uri::UriReferenceFactory::create(context)->parse(url),