From a1c7a369d33de42363e222548d4a0b82c8358b16 Mon Sep 17 00:00:00 2001 From: metersphere-bot <78466014+metersphere-bot@users.noreply.github.com> Date: Thu, 5 Aug 2021 22:44:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E5=8C=85=E5=90=8D=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98=20(#5312?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: BugKing --- .../src/main/java/io/metersphere/track/issue/IssueFactory.java | 2 +- .../main/java/io/metersphere/track/service/IssuesService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/issue/IssueFactory.java b/backend/src/main/java/io/metersphere/track/issue/IssueFactory.java index 87b2e43952..51e84a662c 100644 --- a/backend/src/main/java/io/metersphere/track/issue/IssueFactory.java +++ b/backend/src/main/java/io/metersphere/track/issue/IssueFactory.java @@ -19,7 +19,7 @@ public class IssueFactory { } else if (StringUtils.equals(IssuesManagePlatform.AzureDevops.toString(), platform)) { ClassLoader loader = Thread.currentThread().getContextClassLoader(); try { - Class clazz = loader.loadClass("io.metersphere.xpack.issue.azureDevops.AzureDevopsPlatform"); + Class clazz = loader.loadClass("io.metersphere.xpack.issue.azuredevops.AzureDevopsPlatform"); Constructor cons = clazz.getDeclaredConstructor(new Class[] { IssuesRequest.class }); AbstractIssuePlatform azureDevopsPlatform = (AbstractIssuePlatform) cons.newInstance(addIssueRequest); return azureDevopsPlatform; diff --git a/backend/src/main/java/io/metersphere/track/service/IssuesService.java b/backend/src/main/java/io/metersphere/track/service/IssuesService.java index 14ab77c929..14a41e6520 100644 --- a/backend/src/main/java/io/metersphere/track/service/IssuesService.java +++ b/backend/src/main/java/io/metersphere/track/service/IssuesService.java @@ -479,7 +479,7 @@ public class IssuesService { if (CollectionUtils.isNotEmpty(azureDevopsIssues)) { ClassLoader loader = Thread.currentThread().getContextClassLoader(); try { - Class clazz = loader.loadClass("io.metersphere.xpack.issue.azureDevops.AzureDevopsPlatform"); + Class clazz = loader.loadClass("io.metersphere.xpack.issue.azuredevops.AzureDevopsPlatform"); Constructor cons = clazz.getDeclaredConstructor(new Class[] { IssuesRequest.class }); AbstractIssuePlatform azureDevopsPlatform = (AbstractIssuePlatform) cons.newInstance(issuesRequest); syncThirdPartyIssues(azureDevopsPlatform::syncIssues, project, azureDevopsIssues);