aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui/util
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-03-24 22:45:55 +0100
committerChristian Schneppe <christian@pix-art.de>2018-03-24 22:45:55 +0100
commit4c109297087f194e34a3e86b18285112fbec33fc (patch)
treeeb7d7e9e5d445442c3e8f59bafd558df36ea46b5 /src/main/java/de/pixart/messenger/ui/util
parent6e49572be6fdd7c54eb0d6f1939dce9fbb537024 (diff)
made select work
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/util')
-rw-r--r--src/main/java/de/pixart/messenger/ui/util/PendingItem.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/util/PendingItem.java b/src/main/java/de/pixart/messenger/ui/util/PendingItem.java
index 772f5e7e1..eaddf3a8c 100644
--- a/src/main/java/de/pixart/messenger/ui/util/PendingItem.java
+++ b/src/main/java/de/pixart/messenger/ui/util/PendingItem.java
@@ -42,4 +42,8 @@ public class PendingItem<T> {
this.item = null;
return item;
}
+
+ public synchronized T peek() {
+ return item;
+ }
} \ No newline at end of file