From 4c29e68a81c40cbd34e1c37db4f08a549e051f7e Mon Sep 17 00:00:00 2001 From: Alper Ebicoglu Date: Thu, 8 Oct 2020 10:54:18 +0300 Subject: [PATCH] refactor --- .../Volo/Abp/Identity/OrganizationUnitConsts.cs | 4 ++-- .../Volo/Abp/Identity/IdentityRoleStore_Tests.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }