[libbluray-devel] Mark intentionally missing "break" with "fall thru" comment

hpi1 git at videolan.org
Sun Aug 21 12:37:21 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sat Aug 20 21:35:13 2016 +0300| [9d4b965250fa45ea8f09f5eb0e4a75e7a9b11e53] | committer: hpi1

Mark intentionally missing "break" with "fall thru" comment

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=9d4b965250fa45ea8f09f5eb0e4a75e7a9b11e53
---

 src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java b/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
index f5c2247..4e4cfb6 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
@@ -456,6 +456,7 @@ public abstract class BDHandler implements Player, ServiceContentHandler {
         case Unrealized:
             state = Realizing;
             notifyListeners(new TransitionEvent(this, Unrealized, Realizing, Realized));
+            /* fall thru */
         case Realizing:
             ControllerErrorEvent error = doRealize();
             if (error == null) {
@@ -479,9 +480,11 @@ public abstract class BDHandler implements Player, ServiceContentHandler {
         case Realizing:
             if (!doRealizeAction())
                 return false;
+            /* fall thru */
         case Realized:
             state = Prefetching;
             notifyListeners(new TransitionEvent(this, Realized, Prefetching, Prefetched));
+            /* fall thru */
         case Prefetching:
 
             if (!PlayerManager.getInstance().allocateResource(this)) {
@@ -510,10 +513,12 @@ public abstract class BDHandler implements Player, ServiceContentHandler {
         case Realizing:
             if (!doRealizeAction())
                 return false;
+            /* fall thru */
         case Realized:
         case Prefetching:
             if (!doPrefetchAction())
                 return false;
+            /* fall thru */
         case Prefetched:
             ControllerErrorEvent error = doStart(at);
             if (error == null) {



More information about the libbluray-devel mailing list