Skip to content

Commit 69e1fdd

Browse files
devonfw#103: fixed intellij and vscode
added missing CPE vendors/products
1 parent 30d5bf2 commit 69e1fdd

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

cli/src/main/java/com/devonfw/tools/ide/tool/intellij/IntellijUrlUpdater.java

+12
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,16 @@ protected void collectVersionsFromJson(IntellijJsonObject jsonItem, Collection<S
175175

176176
throw new IllegalStateException();
177177
}
178+
179+
@Override
180+
public String getCpeVendor() {
181+
182+
return "jetbrains";
183+
}
184+
185+
@Override
186+
public String getCpeProduct() {
187+
188+
return "intellij idea";
189+
}
178190
}

cli/src/main/java/com/devonfw/tools/ide/tool/vscode/VsCodeUrlUpdater.java

+11
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,15 @@ protected String mapVersion(String version) {
3939
}
4040
}
4141

42+
@Override
43+
public String getCpeVendor() {
44+
45+
return "microsoft";
46+
}
47+
48+
@Override
49+
public String getCpeProduct() {
50+
51+
return "visual studio code";
52+
}
4253
}

0 commit comments

Comments
 (0)