Project

General

Profile

7604_substring_parameter_check.diff

Eduard Soltan, 07/21/2023 02:41 AM

Download (1015 Bytes)

View differences:

new/src/com/goldencode/p2j/convert/ExpressionConversionWorker.java 2023-07-21 06:40:43 +0000
3801 3801
                  // ENTRY's result is always case insensitive!
3802 3802
                  return true;
3803 3803
               }
3804
               
3805
               /* In case of substring function case-sensitivity is only dependent
3806
               of the first parameter of the function */
3807
               if (ast.getText().equalsIgnoreCase("SUBSTRING"))
3808
               {
3809
                  // If first child is found to be case-sensitive then the result is case
3810
                  // sensitive as well
3811
                  return isCaseInsensitive(ast.getChildAt(0));
3812
               }
3804 3813
                  
3805 3814
               /* all direct children must be case insensitive for this node to be case 
3806 3815
                  insensitive */