fix syntax error

Change-Id: I474d09fe9d3e6c39e27ef59d9a7cdcb06de9cb03
diff --git a/TestON/JenkinsFile/JenkinsCommonFuncs.groovy b/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
index ae1f6ac..4828143 100644
--- a/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
+++ b/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
@@ -39,7 +39,10 @@
 }
 def additionalInitForSR( branch ){
   testMachine = ( ( new StringBuilder( testMachine ) ).insert( testMachine.size()-1, fabricOn( branch ) ) ).toString()
-  ( isTrend ? machine : machineType[ testType ] ) += fabricOn(branch )
+  if( isTrend )
+    machine += fabricOn( branch )
+  else
+    machineType[ testType ] += fabricOn( branch )
   print testMachine
 }
 def fabricOn( branch ){