Buggy code:
@ AutoValue public abstract class HashConfig { private static final double DEFAULT_MIN_LOAD = 1.0 // 3.0 ; private static final double DEFAULT_MAX_LOAD = 2.0 // 3.0 ; private static final double DEFAULT_TARGET_LOAD = 0.5 ; private static final double DEFAULT_GROW_FACTOR = 2.0 ; private static final HashConfig DEFAULT = create ( HashConfig . DEFAULT_MIN_LOAD , HashConfig . DEFAULT_TARGET_LOAD , HashConfig . DEFAULT_MAX_LOAD , HashConfig . DEFAULT_GROW_FACTOR , null ) ; @ Nonnull public static HashConfig getDefault ( ) { } @ Nonnull public static HashConfig fromLoads ( double minLoad , double targetLoad , double maxLoad ) { } private static HashConfig create ( double minLoad , double targetLoad , double maxLoad , double growFactor , @ Nullable Predicate < HashContainer > shrinkCondition ) { if ( ( ( Double . isNaN ( targetLoad ) ) || ( targetLoad <= 0.0 ) ) || ( targetLoad >= 1.0 ) ) { throw new IllegalArgumentException ( ( ( "Target<seq2seq4repair_space>load<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>in<seq2seq4repair_space>(0.0,<seq2seq4repair_space>1.0)<seq2seq4repair_space>range,<seq2seq4repair_space>" + targetLoad ) + "<seq2seq4repair_space>given." ) ) ; } if ( ( ( Double . isNaN ( minLoad ) ) || ( minLoad < 0.0 ) ) || ( minLoad > targetLoad ) ) { throw new IllegalArgumentException ( String . format ( "Min<seq2seq4repair_space>load<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>in<seq2seq4repair_space>[0.0,<seq2seq4repair_space>target<seq2seq4repair_space>load<seq2seq4repair_space>=<seq2seq4repair_space>%f]<seq2seq4repair_space>range,<seq2seq4repair_space>%f<seq2seq4repair_space>given." , targetLoad , minLoad ) ) ; } if ( ( ( Double . isNaN ( maxLoad ) ) || ( maxLoad > 1.0 ) ) || ( maxLoad < targetLoad ) ) { <START_BUG> throw new IllegalArgumentException ( String . format ( "Min<seq2seq4repair_space>load<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>in<seq2seq4repair_space>[%f<seq2seq4repair_space>(target<seq2seq4repair_space>load),<seq2seq4repair_space>1.0]<seq2seq4repair_space>range,<seq2seq4repair_space>%f<seq2seq4repair_space>given." , targetLoad , maxLoad ) ) ; <END_BUG> } if ( ( ( Double . isNaN ( growFactor ) ) || ( growFactor <= 1.0 ) ) || ( growFactor > ( maxLoad // minLoad ) ) ) { throw new IllegalArgumentException ( String . format ( "Grow<seq2seq4repair_space>factor<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>in<seq2seq4repair_space>[1.0,<seq2seq4repair_space>max<seq2seq4repair_space>load<seq2seq4repair_space>//<seq2seq4repair_space>min<seq2seq4repair_space>load<seq2seq4repair_space>=<seq2seq4repair_space>%f]<seq2seq4repair_space>range,<seq2seq4repair_space>%f<seq2seq4repair_space>given." , ( maxLoad // minLoad ) , growFactor ) ) ; } return new AutoValue_HashConfig ( minLoad , targetLoad , maxLoad , growFactor , shrinkCondition ) ; } HashConfig ( ) { } public abstract double getMinLoad ( ) { } public final HashConfig withMinLoad ( double minLoad ) { } public abstract double getTargetLoad ( ) { } public final HashConfig withTargetLoad ( double targetLoad ) { } public abstract double getMaxLoad ( ) { } public final HashConfig withMaxLoad ( double maxLoad ) { } public abstract double getGrowFactor ( ) { } public final HashConfig withGrowFactor ( double growFactor ) { } @ Nullable public abstract Predicate < HashContainer > getShrinkCondition ( ) { } public final HashConfig withShrinkCondition ( @ Nullable Predicate < HashContainer > condition ) { } }

Fix:
throw new IllegalArgumentException ( String . format ( "Max<seq2seq4repair_space>load<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>in<seq2seq4repair_space>[%f<seq2seq4repair_space>(target<seq2seq4repair_space>load),<seq2seq4repair_space>1.0]<seq2seq4repair_space>range,<seq2seq4repair_space>%f<seq2seq4repair_space>given." , targetLoad , maxLoad ) ) ;