Class UniquePropertiesCheck

    • Constructor Detail

    • Method Detail

      • getLineNumber

        protected static int getLineNumber​(List<String> lines,
                                           String keyName)
        Method returns line number the key is detected in the checked properties files first.
        Parameters:
        lines - properties file lines list
        keyName - key name to look for
        Returns:
        line number of first occurrence. If no key found in properties file, 0 is returned