diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/OrganizationUnitConsts.cs b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/OrganizationUnitConsts.cs
index 7338fc8a28..997a394a7d 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/OrganizationUnitConsts.cs
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/OrganizationUnitConsts.cs
@@ -3,7 +3,7 @@
public static class OrganizationUnitConsts
{
///
- /// Maximum length of the property.
+ /// Maximum length of the DisplayName property.
///
public static int MaxDisplayNameLength { get; set; } = 128;
@@ -18,7 +18,7 @@
public const int CodeUnitLength = 5;
///
- /// Maximum length of the property.
+ /// Maximum length of the Code property.
///
public const int MaxCodeLength = MaxDepth * (CodeUnitLength + 1) - 1;
}
diff --git a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/IdentityRoleStore_Tests.cs b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/IdentityRoleStore_Tests.cs
index 11345a4a46..8f3ce4c2b0 100644
--- a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/IdentityRoleStore_Tests.cs
+++ b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/IdentityRoleStore_Tests.cs
@@ -168,7 +168,7 @@ namespace Volo.Abp.Identity
}
}
- catch (Exception e)
+ catch
{
throw;
}