Source:
public void fromConfig(final Config rc) { setMaxDeltaDepth(rc.getInt("pack", "depth", getMaxDeltaDepth())); setDeltaSearchWindowSize(rc.getInt( "pack", "window", getDeltaSearchWindowSize())); setDeltaSearchMemoryLimit(rc.getLong( "pack", "windowmemory", getDeltaSearchMemoryLimit())); setDeltaCacheSize(rc.getLong( "pack", "deltacachesize", getDeltaCacheSize())); setDeltaCacheLimit(rc.getInt( "pack", "deltacachelimit", getDeltaCacheLimit())); setCompressionLevel(rc.getInt("pack", "compression", rc.getInt("core", "compression", getCompressionLevel()))); setIndexVersion(rc.getInt("pack", "indexversion", getIndexVersion())); setBigFileThreshold(rc.getInt( "core", "bigfilethreshold", getBigFileThreshold())); setThreads(rc.getInt("pack", "threads", getThreads())); setReuseDeltas(rc.getBoolean("pack", "reusedeltas", isReuseDeltas())); setReuseObjects( rc.getBoolean("pack", "reuseobjects", isReuseObjects())); setDeltaCompress( rc.getBoolean("pack", "deltacompression", isDeltaCompress())); setCutDeltaChains( rc.getBoolean("pack", "cutdeltachains", getCutDeltaChains())); setBuildBitmaps( rc.getBoolean("pack", "buildbitmaps", isBuildBitmaps())); setBitmapContiguousCommitCount( rc.getInt("pack", "bitmapContiguousCommitCount", getBitmapContiguousCommitCount())); setBitmapRecentCommitCount(rc.getInt("pack", "bitmapRecentCommitCount", getBitmapRecentCommitCount())); setBitmapRecentCommitSpan(rc.getInt("pack", "bitmapRecentCommitSpan", getBitmapRecentCommitSpan())); setBitmapDistantCommitSpan(rc.getInt("pack", "bitmapDistantCommitSpan", getBitmapDistantCommitSpan())); setBitmapExcessiveBranchCount(rc.getInt("pack", "bitmapExcessiveBranchCount", getBitmapExcessiveBranchCount())); setBitmapInactiveBranchAgeInDays( rc.getInt("pack", "bitmapInactiveBranchAgeInDays", getBitmapInactiveBranchAgeInDays())); }

Target:
public void fromConfig(final Config rc) { setMaxDeltaDepth(rc.getInt("pack", "depth", getMaxDeltaDepth())); setDeltaSearchWindowSize(rc.getInt( "pack", "window", getDeltaSearchWindowSize())); setDeltaSearchMemoryLimit(rc.getLong( "pack", "windowmemory", getDeltaSearchMemoryLimit())); setDeltaCacheSize(rc.getLong( "pack", "deltacachesize", getDeltaCacheSize())); setDeltaCacheLimit(rc.getInt( "pack", "deltacachelimit", getDeltaCacheLimit())); setCompressionLevel(rc.getInt("pack", "compression", rc.getInt("core", "compression", getCompressionLevel()))); setIndexVersion(rc.getInt("pack", "indexversion", getIndexVersion())); setBigFileThreshold(rc.getInt( "core", "bigfilethreshold", getBigFileThreshold())); setThreads(rc.getInt("pack", "threads", getThreads())); setReuseDeltas(rc.getBoolean("pack", "reusedeltas", isReuseDeltas())); setReuseObjects( rc.getBoolean("pack", "reuseobjects", isReuseObjects())); setDeltaCompress( rc.getBoolean("pack", "deltacompression", isDeltaCompress())); setCutDeltaChains( rc.getBoolean("pack", "cutdeltachains", getCutDeltaChains())); setBuildBitmaps( rc.getBoolean("pack", "buildbitmaps", isBuildBitmaps())); setBitmapContiguousCommitCount( rc.getInt("pack", "bitmapcontiguouscommitcount", getBitmapContiguousCommitCount())); setBitmapRecentCommitCount(rc.getInt("pack", "bitmaprecentcommitcount", getBitmapRecentCommitCount())); setBitmapRecentCommitSpan(rc.getInt("pack", "bitmaprecentcommitspan", getBitmapRecentCommitSpan())); setBitmapDistantCommitSpan(rc.getInt("pack", "bitmapdistantcommitspan", getBitmapDistantCommitSpan())); setBitmapExcessiveBranchCount(rc.getInt("pack", "bitmapexcessivebranchcount", getBitmapExcessiveBranchCount())); setBitmapInactiveBranchAgeInDays( rc.getInt("pack", "bitmapinactivebranchageindays", getBitmapInactiveBranchAgeInDays())); }