TelicentPaul commented on code in PR #2298:
URL: https://github.com/apache/jena/pull/2298#discussion_r1507463507
##########
jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/CrossOriginFilter.java:
##########
@@ -274,7 +274,7 @@ private boolean generateAllowedOrigins(Set<String>
allowedOriginStore, List<Patt
String[] allowedOrigins = StringUtil.csvSplit(allowedOriginsConfig);
for (String allowedOrigin : allowedOrigins)
{
- if (allowedOrigin.length() > 0)
+ if (!allowedOrigin.isEmpty())
Review Comment:
I'll revert this and any other changes I deem non-essential to the
underlying problem
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]