Skip to content
Permalink
Browse files
Use isEmpty().
  • Loading branch information
garydgregory committed Jan 17, 2021
1 parent ba7eb6c commit bec6a61f60fb1610f1d47a3979c10b8a89c30250
Showing 1 changed file with 1 addition and 1 deletion.
@@ -135,7 +135,7 @@ static void parseWebResources(ServletContext context,
* @since Chain 1.1
*/
static String[] getResourcePaths(String resources) {
if (resources == null || resources.length() == 0) {
if (resources == null || resources.isEmpty()) {
return new String[0];
}

0 comments on commit bec6a61

Please sign in to comment.