Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e40a6e7 authored by Ken Shirriff's avatar Ken Shirriff
Browse files

Implement sliding window sync.

This change allows null QueryParams to be skipped.
parent b0b160ae
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -60,6 +60,8 @@ public class QueryParamsImpl extends QueryParams {
            sb.append('?');
        }
        for (String param : params) {
            String value = mParams.get(param);
            if (value == null) continue;
            if (first) {
                first = false;
            } else {
@@ -67,7 +69,7 @@ public class QueryParamsImpl extends QueryParams {
            }
            sb.append(param);
            sb.append('=');
            String value = mParams.get(param);

            String encodedValue = null;

            try {