Skip to content

Commit 7fe27c3

Browse files
author
Brendan W. McAdams
committed
Changed AllHooks test from a | to a ||
1 parent 58b96d4 commit 7fe27c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/org/bson/BSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public static void clearAllHooks(){
262262
* Returns true if any encoding or decoding hooks are loaded.
263263
*/
264264
private static boolean _anyHooks(){
265-
return _encodeHooks | _decodeHooks;
265+
return _encodeHooks || _decodeHooks;
266266
}
267267

268268
private static boolean _encodeHooks = false;

0 commit comments

Comments
 (0)