Skip to content

Commit

Permalink
remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lafoletc committed Nov 7, 2020
1 parent 2d24be7 commit 8fd13c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contrib/platform/src/com/sun/jna/platform/unix/X11.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions contrib/platform/test/com/sun/jna/platform/unix/X11Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8fd13c1

Please sign in to comment.