spelling: constructors

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 08:56:37 -04:00
committed by Jindra Petřík
parent 680aa2e137
commit 5f12634dd1
2 changed files with 2 additions and 2 deletions

View File

@@ -280,7 +280,7 @@ public class ReflectCompletionDialog
if (aClass != null) {
// for now, add everything:
theClass = aClass;
ReflectUtils.addConstrcutors(aClass, items);
ReflectUtils.addConstructors(aClass, items);
ReflectUtils.addMethods(aClass, items);
ReflectUtils.addFields(aClass, items);
ActionUtils.insertIntoCombo(jCmbClassName, className);

View File

@@ -101,7 +101,7 @@ public class ReflectUtils {
* @param list
* @return number of constructors added
*/
public static int addConstrcutors(Class aClass, List<Member> list) {
public static int addConstructors(Class aClass, List<Member> list) {
Constructor[] constructors = aClass.getConstructors();
for (Constructor c : constructors) {
list.add(c);