}
public Jaccard(int k) {
super(k);
}
public Jaccard() {
<BUG>super(3);
}
public double similarity(int[] profile1, int[] profile2) {
int length = Math.max(profile1.length, profile2.length);</BUG>
profile1 = java.util.Arrays.copyOf(profile1, length);

}
public Jaccard(int k) {
super(k);
}
public Jaccard() {
super();
}
public double similarity(String s1, String s2) {
KShingling ks = new KShingling(k);
int[] profile1 = ks.getArrayProfile(s1);
int[] profile2 = ks.getArrayProfile(s2);
int length = Math.max(profile1.length, profile2.length);
profile1 = java.util.Arrays.copyOf(profile1, length);
