We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9961579 commit a5b4fd1Copy full SHA for a5b4fd1
sentry/src/main/java/io/sentry/buffer/DiskBuffer.java
@@ -176,7 +176,7 @@ private Event getNextEvent(Iterator<File> files) {
176
public Iterator<Event> getEvents() {
177
final File[] fileArray = bufferDir.listFiles();
178
if (fileArray == null) {
179
- return Collections.emptyIterator();
+ return Collections.<Event>emptyList().iterator();
180
}
181
final Iterator<File> files = Arrays.asList(fileArray).iterator();
182
0 commit comments