mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-27 23:46:05 +00:00
Use diamond operator everywhere
This commit is contained in:
1 parent
9812ddc4ce
commit
55c58cf5d9
140 files changed
+305
-305
No files matched your search
@@ -44,7 +44,7 @@ public class ControlPunnett extends Control {
|
||||
for (final IAllele allele1 : new IAllele[]{primary1, secondary1}) {
|
||||
y = 1;
|
||||
for (final IAllele allele2 : new IAllele[]{primary2, secondary2}) {
|
||||
final List<IAllele> alleles = new LinkedList<IAllele>();
|
||||
final List<IAllele> alleles = new LinkedList<>();
|
||||
if (allele1.isDominant() && !allele2.isDominant()) {
|
||||
alleles.add(allele1);
|
||||
} else if (allele2.isDominant() && !allele1.isDominant()) {
|
||||
|
||||
Reference in new issue
Block a user