[vlma-devel] commit: OrderMonitor: Do not compare booleans against true or false. ( Adrien Grand )

git version control git at videolan.org
Sat Aug 2 10:55:01 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sat Aug  2 10:55:25 2008 +0200| [60ee9ec180ff6f344ceaf5d893382d37712eb6f3] | committer: Adrien Grand 

OrderMonitor: Do not compare booleans against true or false.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=60ee9ec180ff6f344ceaf5d893382d37712eb6f3
---

 .../org/videolan/vlma/monitor/OrderMonitor.java    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java b/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
index 5aaae41..4ddef5b 100644
--- a/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
+++ b/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
@@ -125,10 +125,10 @@ public class OrderMonitor implements Monitor {
                                 break;
                             }
                         }
-                        if (shouldCompute == true)
+                        if (shouldCompute)
                             break;
                     }
-                    if (shouldCompute == true)
+                    if (shouldCompute)
                         break;
                 }
 



More information about the vlma-devel mailing list