fix Sonar: Empty statements should be removed

(cherry picked from commit 365fddc247)
This commit is contained in:
cagache
2019-06-14 14:45:49 +03:00
parent e0aaea61d2
commit 1a8ee3d19e
7 changed files with 10 additions and 10 deletions

View File

@@ -77,7 +77,7 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
public enum CopyMoveLinkFileToActionMode public enum CopyMoveLinkFileToActionMode
{ {
COPY, MOVE, LINK COPY, MOVE, LINK
}; }
/** Action Mode */ /** Action Mode */
private CopyMoveLinkFileToActionMode mode; private CopyMoveLinkFileToActionMode mode;

View File

@@ -45,7 +45,7 @@ import org.alfresco.service.cmr.security.AccessStatus;
public class HoldCapabilityCondition extends AbstractCapabilityCondition public class HoldCapabilityCondition extends AbstractCapabilityCondition
{ {
/** indicates whether to evaluate holds that the node is within or not within */ /** indicates whether to evaluate holds that the node is within or not within */
private boolean includedInHold = false;; private boolean includedInHold = false;
/** hold service */ /** hold service */
private HoldService holdService; private HoldService holdService;

View File

@@ -95,7 +95,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
* disposition schedule impl node under a record or folder. * disposition schedule impl node under a record or folder.
*/ */
DATE_AND_NAME DATE_AND_NAME
}; }
/** Behaviour filter */ /** Behaviour filter */
private BehaviourFilter behaviourFilter; private BehaviourFilter behaviourFilter;
@@ -210,7 +210,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
nodeService.addAspect(nodeRef, ASPECT_DISPOSITION_LIFECYCLE, null); nodeService.addAspect(nodeRef, ASPECT_DISPOSITION_LIFECYCLE, null);
} }
} }
}; }
/** /**
* @see org.alfresco.module.org_alfresco_module_rm.disposition.DispositionService#refreshDispositionAction(NodeRef) * @see org.alfresco.module.org_alfresco_module_rm.disposition.DispositionService#refreshDispositionAction(NodeRef)

View File

@@ -177,7 +177,7 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
} }
} }
return null; return null;
}; }
}, AuthenticationUtil.getSystemUserName()); }, AuthenticationUtil.getSystemUserName());
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())

View File

@@ -482,7 +482,7 @@ public class FilePlanRoleServiceImpl implements FilePlanRoleService,
return result; return result;
} }
}, AuthenticationUtil.getSystemUserName()); }, AuthenticationUtil.getSystemUserName());
}; }
/** /**
* *

View File

@@ -62,7 +62,7 @@ public class RelationshipsGet extends AbstractRmWebScript
private enum RelationshipEndPoint private enum RelationshipEndPoint
{ {
SOURCE, TARGET SOURCE, TARGET
}; }
/** Relationship service */ /** Relationship service */
private RelationshipService relationshipService; private RelationshipService relationshipService;

View File

@@ -100,7 +100,7 @@ public class RMMethodSecurityInterceptor extends MethodSecurityInterceptor
protected Map<String, CapabilityReport> initialValue() protected Map<String, CapabilityReport> initialValue()
{ {
return new HashMap<String, CapabilityReport>(); return new HashMap<String, CapabilityReport>();
}; }
}; };
/** /**
@@ -108,7 +108,7 @@ public class RMMethodSecurityInterceptor extends MethodSecurityInterceptor
*/ */
private static final ThreadLocal<Boolean> IS_RM_SECURITY_CHECK = new ThreadLocal<Boolean>() private static final ThreadLocal<Boolean> IS_RM_SECURITY_CHECK = new ThreadLocal<Boolean>()
{ {
protected Boolean initialValue() {return false;}; protected Boolean initialValue() {return false;}
}; };
/** /**
@@ -116,7 +116,7 @@ public class RMMethodSecurityInterceptor extends MethodSecurityInterceptor
*/ */
private static final ThreadLocal<List<String>> MESSAGES = new ThreadLocal<List<String>>() private static final ThreadLocal<List<String>> MESSAGES = new ThreadLocal<List<String>>()
{ {
protected List<String> initialValue() {return new ArrayList<String>();}; protected List<String> initialValue() {return new ArrayList<String>();}
}; };
/** /**