diff --git a/contrib/platform/src/com/sun/jna/platform/unix/X11.java b/contrib/platform/src/com/sun/jna/platform/unix/X11.java index 3b19637b14..e48e6c2af2 100644 --- a/contrib/platform/src/com/sun/jna/platform/unix/X11.java +++ b/contrib/platform/src/com/sun/jna/platform/unix/X11.java @@ -285,7 +285,7 @@ class GC extends PointerType { } // TODO: define structure class XImage extends PointerType { } - /** + /** * The XQueryExtension function determines if the named extension is present. * @param display Specifies the connection to the X server. * @param name Specifies the extension name. diff --git a/contrib/platform/test/com/sun/jna/platform/unix/X11Test.java b/contrib/platform/test/com/sun/jna/platform/unix/X11Test.java index c8d67db312..b9c63962c4 100644 --- a/contrib/platform/test/com/sun/jna/platform/unix/X11Test.java +++ b/contrib/platform/test/com/sun/jna/platform/unix/X11Test.java @@ -123,13 +123,13 @@ public void testXQueryExtension() { // check if the XTEST extension is available if (X11.INSTANCE.XQueryExtension(display, "XTEST", opcode, first_event, first_error)) { - // Opcode for extension should be assigned in range 128-255 + // Opcode for extension should be assigned in range 128-255 Assert.assertTrue("Wrong value for opcode returned", opcode.getValue() >= 128); Assert.assertTrue("Wrong value for opcode returned", opcode.getValue() <= 255); // No first_event defined for XTEST Assert.assertEquals("Wrong value for first_event returned", 0, first_event.getValue()); - // No first_error defined for XTEST - Assert.assertEquals("Wrong value for first_error returned", 0, first_error.getValue()); + // No first_error defined for XTEST + Assert.assertEquals("Wrong value for first_error returned", 0, first_error.getValue()); } else { // XTEST extension is not supported by the X server }