[libbluray-devel] Cosmetics (remove trailing space)
hpi1
git at videolan.org
Tue Sep 22 14:05:28 CEST 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Sep 17 18:25:53 2015 +0300| [178ee1b92bade727ff6cf1d5ecd5bd84c9d2bc15] | committer: hpi1
Cosmetics (remove trailing space)
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=178ee1b92bade727ff6cf1d5ecd5bd84c9d2bc15
---
.../javax/tv/service/navigation/SIElementFilter.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/libbluray/bdj/java/javax/tv/service/navigation/SIElementFilter.java b/src/libbluray/bdj/java/javax/tv/service/navigation/SIElementFilter.java
index fdfa128..28d9665 100644
--- a/src/libbluray/bdj/java/javax/tv/service/navigation/SIElementFilter.java
+++ b/src/libbluray/bdj/java/javax/tv/service/navigation/SIElementFilter.java
@@ -37,9 +37,9 @@ public final class SIElementFilter extends ServiceFilter
public boolean accept(Service service) {
SIRequestorImpl requestor = new SIRequestorImpl();
-
+
SIRequest req = service.retrieveDetails(requestor);
-
+
// TODO: This may be a bit excessive
int timeout = 0;
while (!requestor.getResponse() && timeout < 1000) {
@@ -48,27 +48,27 @@ public final class SIElementFilter extends ServiceFilter
} catch (InterruptedException e) {
// ignore
}
-
+
timeout++;
}
-
+
// if we still don't have a response just cancel the request
if (!requestor.getResponse()) {
if (req != null)
req.cancel();
}
-
+
if (requestor.getResult() == null)
return false;
-
+
SIRetrievable[] rets = requestor.getResult();
for (int i = 0; i < rets.length; i++) {
if (rets[i].equals(element))
return true;
}
-
+
return false;
}
-
+
SIElement element;
}
More information about the libbluray-devel
mailing list