if (uri.getPath() != null) {
sb.append(uri.getPath());
}
String query = uri.getQuery();
if (query == null) {
<BUG>query = "?includeStyle=false";
} else {
query += "&includeStyle=false";
}
sb.append('?').append(query);</BUG>
if (uri.getFragment() != null) {

if (uri.getPath() != null) {
sb.append(uri.getPath());
}
String query = uri.getQuery();
if (query == null) {
sb.append("??includeStyle=false");
} else {
sb.append('?').append(query).append("&includeStyle=false");
}
if (uri.getFragment() != null) {
