summaryrefslogtreecommitdiff
path: root/android/system/StructPollfd.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/system/StructPollfd.java')
-rw-r--r--android/system/StructPollfd.java36
1 files changed, 18 insertions, 18 deletions
diff --git a/android/system/StructPollfd.java b/android/system/StructPollfd.java
index 2ca117e9..2f40b8bc 100644
--- a/android/system/StructPollfd.java
+++ b/android/system/StructPollfd.java
@@ -24,26 +24,26 @@ import libcore.util.Objects;
* Corresponds to C's {@code struct pollfd} from {@code <poll.h>}.
*/
public final class StructPollfd {
- /** The file descriptor to poll. */
- public FileDescriptor fd;
+ /** The file descriptor to poll. */
+ public FileDescriptor fd;
- /**
- * The events we're interested in. POLLIN corresponds to being in select(2)'s read fd set,
- * POLLOUT to the write fd set.
- */
- public short events;
+ /**
+ * The events we're interested in. POLLIN corresponds to being in select(2)'s read fd set,
+ * POLLOUT to the write fd set.
+ */
+ public short events;
- /** The events that actually happened. */
- public short revents;
+ /** The events that actually happened. */
+ public short revents;
- /**
- * A non-standard extension that lets callers conveniently map back to the object
- * their fd belongs to. This is used by Selector, for example, to associate each
- * FileDescriptor with the corresponding SelectionKey.
- */
- public Object userData;
+ /**
+ * A non-standard extension that lets callers conveniently map back to the object
+ * their fd belongs to. This is used by Selector, for example, to associate each
+ * FileDescriptor with the corresponding SelectionKey.
+ */
+ public Object userData;
- @Override public String toString() {
- return Objects.toString(this);
- }
+ @Override public String toString() {
+ return Objects.toString(this);
+ }
}