File tree Expand file tree Collapse file tree
src/main/java/com/couchbase/lite/replicator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,16 +184,17 @@ public long getHeartbeatMilliseconds() {
184184 sb .append (limit );
185185 }
186186
187- if (!usePOST ) {
188- // Add filter or doc_ids to URL. If sending a POST, these will go in the JSON body instead.
189- if (docIDs != null && docIDs .size () > 0 ) {
190- filterName = "_doc_ids" ;
191- filterParams = new HashMap <String , Object >();
192- filterParams .put ("doc_ids" , docIDs );
193- }
194- if (filterName != null ) {
195- sb .append ("&filter=" );
196- sb .append (URLEncoder .encode (filterName ));
187+
188+ if (docIDs != null && docIDs .size () > 0 ) {
189+ filterName = "_doc_ids" ;
190+ filterParams = new HashMap <String , Object >();
191+ filterParams .put ("doc_ids" , docIDs );
192+ }
193+ if (filterName != null ) {
194+ sb .append ("&filter=" );
195+ sb .append (URLEncoder .encode (filterName ));
196+ if (!usePOST ) {
197+ // Add filter or doc_ids to URL. If sending a POST, these will go in the JSON body instead.
197198 if (filterParams != null ) {
198199 for (String key : filterParams .keySet ()) {
199200 Object value = filterParams .get (key );
You can’t perform that action at this time.
0 commit comments