File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ def copy_code(self, output_dir):
261261 shutil .copy2 (os .path .join (path , f ), output_dir )
262262
263263 # copy src folder of java (java benchmarks are maven project and need directories)
264- if self .language_name == "java" :
264+ if self .language_name == Language . JAVA :
265265 output_src_dir = os .path .join (output_dir , "src" )
266266
267267 if os .path .exists (output_src_dir ):
@@ -278,7 +278,7 @@ def copy_code(self, output_dir):
278278 #This is for making jar file and add it to docker directory
279279 def add_java_output (self , code_dir ):
280280
281- if self .language_name == "java" :
281+ if self .language_name == Language . JAVA :
282282
283283 # Step 1: Move Main.java o src directory
284284 src_dir = os .path .join (code_dir , "src" , "main" , "java" )
You can’t perform that action at this time.
0 commit comments