private static void checkSyntax(String functionCall) throws FBSQLParseException {
  int parenthesisStart=functionCall.indexOf('(');
  if (parenthesisStart != -1 && functionCall.charAt(functionCall.length() - 1) != ')')   throw new FBSQLParseException("No closing parenthesis found, not a function call.");
}

private static void checkSyntax ( String functionCall ) throws FBSQLParseException { int parenthesisStart = functionCall . indexOf ( '(' ) ; if ( parenthesisStart != - 1 && functionCall . charAt ( functionCall . length ( ) - 1 ) != ')' ) throw new FBSQLParseException ( "No closing parenthesis found, not a function call." ) ; }
simple syntax check if function is specified in form " name ( . . . ) " .
