0715190d9cc6a02284623ae7cec1f193683323bd
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 3 | ||
Rename Variable t : BigInteger to hash : BigInteger in method private simHash(words List<Word>) : String in class org.apdplat.word.analysis.SimHashPlusHammingDistanceTextSimilarity | From | To | |
Rename Variable wordSum : long to sum : long in method private hash(word String) : BigInteger in class org.apdplat.word.analysis.SimHashPlusHammingDistanceTextSimilarity | From | To | |
Rename Variable bitmask : BigInteger to bitMask : BigInteger in method private simHash(words List<Word>) : String in class org.apdplat.word.analysis.SimHashPlusHammingDistanceTextSimilarity | From | To | |
Extract Variable | 3 | ||
Extract Variable weight : float in method private simHash(words List<Word>) : String from class org.apdplat.word.analysis.SimHashPlusHammingDistanceTextSimilarity | From | To | |
Extract Variable maxDistance : int in method protected scoreImpl(words1 List<Word>, words2 List<Word>) : double from class org.apdplat.word.analysis.SimHashPlusHammingDistanceTextSimilarity | From | To | |
Extract Variable len : int in method private hammingDistance(simHash1 String, simHash2 String) : int from class org.apdplat.word.analysis.SimHashPlusHammingDistanceTextSimilarity | From | To |