Skip to content

Commit

Permalink
Merge pull request #21 from skkuse/wonyeong
Browse files Browse the repository at this point in the history
chore: bug fix
  • Loading branch information
wonleeyoung authored Jun 11, 2024
2 parents f473cff + 72420c5 commit c963495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BE/green_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def get_LLM_response(code_data: str):


def execute_java_code(code: str):
code = code.replace('\u00a0', ' ')
code = code.replace('\u00A0', ' ')
code = code.replace("\xc2\xa0", " ")
match = re.search(r'public\s+class\s+(\w+)', code)
if not match:
class_name = "NoClassName"
Expand Down

0 comments on commit c963495

Please sign in to comment.