summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-09-02 15:08:52 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-09-02 16:05:01 +0200
commit0dc237953c79053495d1e98b4aa2745e25cee0d2 (patch)
treef3a0d7c549321988f997ebf52216d161bc134efa /jurt
parent16c5e23894052a822a47b650cc3363ac7454c060 (diff)
Typos for "available"
Change-Id: I8050b1f2ea5414b6e6da3392e8e22d330c794ff5 Reviewed-on: https://gerrit.libreoffice.org/41836 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/comp/servicemanager/ServiceManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
index a8b6ab31b64a..fd1978018ec7 100644
--- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
+++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -159,14 +159,14 @@ public class ServiceManager implements XMultiServiceFactory,
ArrayList<Object> availableFact = factoriesByServiceNames.get( serviceName );
DEBUG("");
- DEBUG("aviable factories for " + serviceName +" "+ availableFact);
+ DEBUG("available factories for " + serviceName +" "+ availableFact);
DEBUG("");
if ( !availableFact.isEmpty() )
factory = availableFact.get(availableFact.size()-1);
} else // not found in list of services - now try the implementations
- factory = factoriesByImplNames.get( serviceName ); // return null if none is aviable
+ factory = factoriesByImplNames.get( serviceName ); // return null if none is available
if (DEBUG) {
if (factory == null) System.err.println("service not registered");
@@ -181,7 +181,7 @@ public class ServiceManager implements XMultiServiceFactory,
}
/**
- * Supplies a list of all avialable services names.
+ * Supplies a list of all available services names.
*
* @return list of Strings of all service names.
* @see com.sun.star.container.XContentEnumerationAccess
@@ -469,7 +469,7 @@ public class ServiceManager implements XMultiServiceFactory,
System.err.println("The implementation " + xServiceInfo.getImplementationName() +
" is not registered for the service " + serviceName + " - ignoring!");
}
- // remove the vector if no implementations aviable for the service
+ // remove the vector if no implementations available for the service
if (vec.isEmpty()) {
factoriesByServiceNames.remove(serviceName);
}