Skip to content

Commit 58e1c0c

Browse files
jottleyCopilot
andauthored
Update remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 49c610c commit 58e1c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2355,7 +2355,7 @@ public SiteInfo doWork() throws Exception
23552355
}, AuthenticationUtil.getSystemUserName());
23562356

23572357
String siteId = (siteInfo != null ? siteInfo.getShortName() : null);
2358-
if (siteId != null && !siteId.equals(""))
2358+
if (siteId != null && !siteId.isEmpty())
23592359
{
23602360
FileInfo fileInfo = fileFolderService.getFileInfo(nodeRef);
23612361
if (fileInfo != null)

0 commit comments

Comments
 (0)