We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c610c commit 58e1c0cCopy full SHA for 58e1c0c
remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.java
@@ -2355,7 +2355,7 @@ public SiteInfo doWork() throws Exception
2355
}, AuthenticationUtil.getSystemUserName());
2356
2357
String siteId = (siteInfo != null ? siteInfo.getShortName() : null);
2358
- if (siteId != null && !siteId.equals(""))
+ if (siteId != null && !siteId.isEmpty())
2359
{
2360
FileInfo fileInfo = fileFolderService.getFileInfo(nodeRef);
2361
if (fileInfo != null)
0 commit comments