From 74a032e0ed816a8a98ee3526775579c9b48060a5 Mon Sep 17 00:00:00 2001 From: Andrew Dunbar Date: Thu, 31 Oct 2024 22:53:51 +0700 Subject: [PATCH 1/2] remove redundant duplicated line of code this line was there twice. 2nd will have no effect. probably cut and paste error? ``` sizeCombo.setMaximumRowCount(9); ``` --- .../src/main/java/docking/options/editor/FontPropertyEditor.java | 1 - 1 file changed, 1 deletion(-) diff --git a/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java b/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java index 6fb04af51b..298c30519c 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java @@ -158,7 +158,6 @@ public class FontPropertyEditor extends PropertyEditorSupport { sizeCombo = new GComboBox<>(IntStream.rangeClosed(1, 72).boxed().toArray(Integer[]::new)); sizeCombo.setMaximumRowCount(9); - sizeCombo.setMaximumRowCount(9); sizeCombo.addActionListener(actionListener); panel.add(sizeCombo); From 718366abd1b799f1bfcde36e6d10cbae742cb900 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Tue, 5 Nov 2024 13:32:18 -0500 Subject: [PATCH 2/2] GP-0: Certify --- .../main/java/docking/options/editor/FontPropertyEditor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java b/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java index 298c30519c..bd30281f33 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/options/editor/FontPropertyEditor.java @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.