<commit_before>package com.github.legioth.propertysource.rebind;

import com.github.legioth.propertysource.client.DynamicPropertySource.PropertyProxy;
import com.google.gwt.core.ext.BadPropertyValueException;
import com.google.gwt.core.ext.PropertyOracle;
import com.google.gwt.core.ext.TreeLogger;
import java.util.List;
import java.util.Set;

class PropertyProxyImpl
  implements PropertyProxy
{
  private final TreeLogger logger;
  private final PropertyOracle oracle;
  private final Set<String> usedSelectionProperties;

  public PropertyProxyImpl( final TreeLogger logger,
                            final PropertyOracle oracle,
                            final Set<String> usedSelectionProperties )
  {
    this.logger = logger;
    this.oracle = oracle;
    this.usedSelectionProperties = usedSelectionProperties;
  }

  @Override
  public String getSelectionPropertyValue( final String name )
  {
    try
    {
      usedSelectionProperties.add( name );
      return oracle.getSelectionProperty( logger, name ).getCurrentValue();
    }
    catch ( BadPropertyValueException e )
    {
      throw new RuntimeException( e );
    }
  }

  @Override
  public String getSelectionPropertyFallback( final String name )
  {
    try
    {
      usedSelectionProperties.add( name );
      return oracle.getSelectionProperty( logger, name ).getFallbackValue();
    }
    catch ( BadPropertyValueException e )
    {
      throw new RuntimeException( e );
    }
  }

  @Override
  public List<String> getConfigurationPropertyValues( final String name )
  {
    try
    {
      return oracle.getConfigurationProperty( name ).getValues();
    }
    catch ( BadPropertyValueException e )
    {
      throw new RuntimeException( e );
    }
  }
}<commit_msg>Rename fields<commit_after>package com.github.legioth.propertysource.rebind;

import com.github.legioth.propertysource.client.DynamicPropertySource.PropertyProxy;
import com.google.gwt.core.ext.BadPropertyValueException;
import com.google.gwt.core.ext.PropertyOracle;
import com.google.gwt.core.ext.TreeLogger;
import java.util.List;
import java.util.Set;

class PropertyProxyImpl
  implements PropertyProxy
{
  private final TreeLogger _logger;
  private final PropertyOracle _propertyOracle;
  private final Set<String> _usedSelectionProperties;

  public PropertyProxyImpl( final TreeLogger logger,
                            final PropertyOracle propertyOracle,
                            final Set<String> usedSelectionProperties )
  {
    _logger = logger;
    _propertyOracle = propertyOracle;
    _usedSelectionProperties = usedSelectionProperties;
  }

  @Override
  public String getSelectionPropertyValue( final String name )
  {
    try
    {
      _usedSelectionProperties.add( name );
      return _propertyOracle.getSelectionProperty( _logger, name ).getCurrentValue();
    }
    catch ( BadPropertyValueException e )
    {
      throw new RuntimeException( e );
    }
  }

  @Override
  public String getSelectionPropertyFallback( final String name )
  {
    try
    {
      _usedSelectionProperties.add( name );
      return _propertyOracle.getSelectionProperty( _logger, name ).getFallbackValue();
    }
    catch ( BadPropertyValueException e )
    {
      throw new RuntimeException( e );
    }
  }

  @Override
  public List<String> getConfigurationPropertyValues( final String name )
  {
    try
    {
      return _propertyOracle.getConfigurationProperty( name ).getValues();
    }
    catch ( BadPropertyValueException e )
    {
      throw new RuntimeException( e );
    }
  }
}
{'fraction_non_alphanumeric': 0.07677165354330709, 'fraction_numerical': 0.0, 'mean_word_length': 3.2294887039239, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3405777', 'n_tokens_mistral': 981, 'n_tokens_neox': 960, 'n_words': 221}