Closed erickgonzalez closed 1 week ago
This pull request includes a small but important change to the VanityUrlAPIImpl.java file. The change improves the way query strings are handled when constructing new URLs.
VanityUrlAPIImpl.java
dotCMS/src/main/java/com/dotcms/vanityurl/business/VanityUrlAPIImpl.java
queryString
UtilMethods.isSet(queryString)
Issues 0 New issues 0 Fixed issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarQube
This pull request includes a small but important change to the
VanityUrlAPIImpl.java
file. The change improves the way query strings are handled when constructing new URLs.dotCMS/src/main/java/com/dotcms/vanityurl/business/VanityUrlAPIImpl.java
: Replaced the null check forqueryString
with a call toUtilMethods.isSet(queryString)
to improve readability and consistency.