143144145146147148149150151152153
// ii. If v(w) != v(x) boolean equals = true; if (l(w).isComment()) { TokenBasedCalculator tbc = new TokenBasedCalculator(); double sim = tbc.calculateSimilarity(v(w), v(x)); equals = sim == 1.0; } else { equals = v(w).equals(v(x)); } if (!equals) {