File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public class Bytes extends BSON {
7070 */
7171 public static final int QUERYOPTION_TAILABLE = 1 << 1 ;
7272 /**
73- * Allow query of replica slave. Normally these return an error except for namespace "local" .
73+ * When turned on, read queries will be directed to slave servers instead of the primary server .
7474 */
7575 public static final int QUERYOPTION_SLAVEOK = 1 << 2 ;
7676 /**
Original file line number Diff line number Diff line change 2121
2222package org .bson .types ;
2323
24+ import org .bson .BSON ;
25+
2426/**
2527 generic binary holder
2628 */
@@ -31,7 +33,7 @@ public class Binary {
3133 * @param data raw data
3234 */
3335 public Binary ( byte [] data ){
34- this (( byte ) 0 , data );
36+ this (BSON . B_GENERAL , data );
3537 }
3638
3739 /**
You can’t perform that action at this time.
0 commit comments