private void addIndexedMetatags(Map<CharSequence,ByteBuffer> metadata,String metatag,String value){
  String lcMetatag=metatag.toLowerCase(Locale.ROOT);
  if (metatagset.contains("*") || metatagset.contains(lcMetatag)) {
    if (LOG.isDebugEnabled()) {
      LOG.debug("Found meta tag: " + lcMetatag + "\t"+ value);
    }
    metadata.put(new Utf8(PARSE_META_PREFIX + lcMetatag),ByteBuffer.wrap(value.getBytes()));
  }
}

private void addIndexedMetatags ( Map < CharSequence , ByteBuffer > metadata , String metatag , String value ) { String lcMetatag = metatag . toLowerCase ( Locale . ROOT ) ; if ( metatagset . contains ( "*" ) || metatagset . contains ( lcMetatag ) ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Found meta tag: " + lcMetatag + "\t" + value ) ; } metadata . put ( new Utf8 ( PARSE_META_PREFIX + lcMetatag ) , ByteBuffer . wrap ( value . getBytes ( ) ) ) ; } }
check whether the metatag is in the list of metatags to be indexed ( or if ' * ' is specified ) . if yes , add it to parse metadata .
