diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-06-23 11:03:20 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-06-23 11:52:25 +0200 |
commit | a3a40ba2a6d7c8b32234b223831a0269b06a240c (patch) | |
tree | 7722d177cdd8725571cf4c1cbf2a01ddf7924258 /jurt | |
parent | 718477e21f09d111161fd04083ac8fc909d2b9b8 (diff) |
Fix typos: uniform registered
We have in the same files "registered" and "registred".
Change-Id: I604a8fdb7d5c40fe208fc11e9120333b3eaef3da
Reviewed-on: https://gerrit.libreoffice.org/39097
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/com/sun/star/comp/loader/JavaLoader.java | 2 | ||||
-rw-r--r-- | jurt/com/sun/star/comp/servicemanager/ServiceManager.java | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java index 6c5b4cc97023..8bc0ae228593 100644 --- a/jurt/com/sun/star/comp/loader/JavaLoader.java +++ b/jurt/com/sun/star/comp/loader/JavaLoader.java @@ -356,7 +356,7 @@ public class JavaLoader implements XImplementationLoader, * the call is delegated to that method. Otherwise a default registration * will be accomplished.</p> * - * @param regKey the root key under that the component should be registred. + * @param regKey the root key under that the component should be registered. * @param implementationLoaderUrl specifies the loader, the component is loaded by. * @param locationUrl points to an archive (JAR file) which contains a component. * @return true if registration is successfully - otherwise false. diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java index 3d06da79b62b..a8b6ab31b64a 100644 --- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java +++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java @@ -309,7 +309,7 @@ public class ServiceManager implements XMultiServiceFactory, * <p>The listener is notified when a service is added (removed) to (from) * the <code>ServiceManager</code>.</p> * - * <p>If the listener is already registred a + * <p>If the listener is already registered a * <code>com.sun.star.uno.RuntimeException</code> will be thrown.</p> * * @param xListener the new listener which should been added. @@ -322,7 +322,7 @@ public class ServiceManager implements XMultiServiceFactory, throw new com.sun.star.uno.RuntimeException("Listener must not be null"); if ( eventListener.contains(xListener) ) - throw new com.sun.star.uno.RuntimeException("Listener already registred."); + throw new com.sun.star.uno.RuntimeException("Listener already registered."); eventListener.add(xListener); } @@ -355,7 +355,7 @@ public class ServiceManager implements XMultiServiceFactory, * interface.</p> * * @param object object which provides a <code>XServiceInfo</code> interface. - * @return true if the component is registred otherwise false. + * @return true if the component is registered otherwise false. * * @see com.sun.star.container.XSet * @see com.sun.star.lang.XServiceInfo @@ -395,7 +395,7 @@ public class ServiceManager implements XMultiServiceFactory, if ( factoriesByImplNames.containsKey( xServiceInfo.getImplementationName() ) ) { throw new com.sun.star.container.ElementExistException( - xServiceInfo.getImplementationName() + " already registred" + xServiceInfo.getImplementationName() + " already registered" ); } @@ -508,7 +508,7 @@ public class ServiceManager implements XMultiServiceFactory, /** * Checks if the any components are registered. * - * @return true - if the list of the registred components is not empty - otherwise false. + * @return true - if the list of the registered components is not empty - otherwise false. * @see com.sun.star.container.XElementAccess */ public boolean hasElements() { |