Please review any and all PUBLIC repositories, groups, and associated files. These allow anyone on the Internet to access without authentication. Repository and group owners are responsible for their content and permission settings. Go to your project(s), click on Settings > General and expand the "Visibility, project features, permissions" to change this setting.

Commit 974bc39e authored by Norbraten, Terry's avatar Norbraten, Terry
Browse files

[Terry N.] trailing slash already checked in URLChecker

parent 2763925f
......@@ -242,16 +242,9 @@ public class BaseImageTexture extends BaseTexture2DNode
public void setWorldUrl(String url) {
if((url == null) || (url.length() == 0))
if((url == null) || (url.isEmpty()))
// check for a trailing slash. If it doesn't have one, append it.
if(url.charAt(url.length() - 1) != '/') {
worldURL = url + '/';
} else {
worldURL = url;
worldURL = url;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment