I have a problem with my code but I realy don't know why it doesn't work...
I have a string, named: chr1 (size = 4)
chr = chr.1

String str = chr;
 
if (chr.equals("chr1")) {
	arrayList_Chr1.add(code);
}
if (chr.equals("chr2")) {
	arrayList_Chr2.add(code);
}
else {
	System.out.println("False: " + str);
}

When I run it, it always end up in the else part...
Both sizes are 4.

--- Update ---

Think I forgot the if else statement. :p