diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java b/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java index 006cdceedb2c..848c9b45795d 100644 --- a/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java +++ b/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java @@ -2,7 +2,7 @@ * * The Contents of this file are made available subject to the terms of * the BSD license. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * @@ -29,7 +29,7 @@ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * *************************************************************************/ import com.sun.star.uno.XComponentContext; import com.sun.star.lang.XTypeProvider; @@ -51,7 +51,7 @@ public class TestComponentB implements XTypeProvider, XServiceInfo, XSomethingB this.context= context; this.args= args; } - + // XSomethingB public String methodTwo(String val) { if (args.length > 0 && args[0] instanceof String ) @@ -87,7 +87,7 @@ public class TestComponentB implements XTypeProvider, XServiceInfo, XSomethingB // XServiceInfo public boolean supportsService( /*IN*/String serviceName ) { - if ( serviceName.equals( __serviceName)) + if ( serviceName.equals( __serviceName)) return true; return false; } @@ -96,5 +96,5 @@ public class TestComponentB implements XTypeProvider, XServiceInfo, XSomethingB String[] retValue= new String[0]; retValue[0]= __serviceName; return retValue; - } + } } |