mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-25 23:29:55 +00:00
8072433: copy/paste duplicated tests in some condition statements
Reviewed-by: bae, serb
This commit is contained in:
parent
a75613049b
commit
9ea6ddb851
@ -78,7 +78,7 @@ public class FontFamily {
|
||||
family.bolditalic = null;
|
||||
}
|
||||
if (family.plain == null && family.bold == null &&
|
||||
family.plain == null && family.bold == null) {
|
||||
family.italic == null && family.bolditalic == null) {
|
||||
familyNameMap.remove(name);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1564,7 +1564,7 @@ public class ServiceDialog extends JDialog implements ActionListener {
|
||||
bmObj = bmTmpObj;
|
||||
} else {
|
||||
if (lmObj == null || rmObj == null ||
|
||||
tmObj == null || rmObj == null) {
|
||||
tmObj == null || bmObj == null) {
|
||||
return;
|
||||
} else {
|
||||
leftMargin.setValue(lmObj);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user