public void updateMaxPrecedence(int precedenceLevel) {
      if (precedenceLevel > m_maxPrecedence) {
        m_maxPrecedence = precedenceLevel;
      }
    }
Update the max precedence level.
The max precedence level is only updated if the provided level > the current level.

@param precedenceLevel the new value
ambari-server/src/main/java/org/apache/ambari/server/api/predicate/QueryParser.java