Skip to content

Commit

Permalink
Typo correction
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-ennahdi committed Dec 23, 2024
1 parent 170c0b3 commit d06196c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public String generateHTML(String[] sourceCodes) throws IOException, URISyntaxEx

String path = System.getProperty("user.home");
for (String sourceCode: sourceCodes) {
sourceCode = URLDecoder.decode(sourceCodes[0], Charset.forName("UTF-8"));
sourceCode = URLDecoder.decode(sourceCode, Charset.forName("UTF-8"));
Matcher matcher = pattern.matcher(sourceCode);
if (matcher.find()) {
String fileName = matcher.group() + ".java";
Expand Down

0 comments on commit d06196c

Please sign in to comment.