From df94066e3af02ff02d5ab4d033a3d603f743234c Mon Sep 17 00:00:00 2001 From: bjculkin Date: Mon, 12 Feb 2018 22:45:04 -0500 Subject: Formatting pass --- base/src/main/java/bjc/utils/gui/SimpleJList.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'base/src/main/java/bjc/utils/gui/SimpleJList.java') diff --git a/base/src/main/java/bjc/utils/gui/SimpleJList.java b/base/src/main/java/bjc/utils/gui/SimpleJList.java index 411d0db..31c995c 100644 --- a/base/src/main/java/bjc/utils/gui/SimpleJList.java +++ b/base/src/main/java/bjc/utils/gui/SimpleJList.java @@ -15,14 +15,14 @@ public class SimpleJList { * Create a new JList from a given list. * * @param - * The type of data in the JList + * The type of data in the JList * * @param source - * The list to populate the JList with. + * The list to populate the JList with. * @return A JList populated with the elements from ls. */ public static JList buildFromList(final Iterable source) { - if (source == null) throw new NullPointerException("Source must not be null"); + if(source == null) throw new NullPointerException("Source must not be null"); return new JList<>(buildModel(source)); } @@ -31,14 +31,14 @@ public class SimpleJList { * Create a new list model from a given list. * * @param - * The type of data in the list model + * The type of data in the list model * * @param source - * The list to fill the list model from. + * The list to fill the list model from. * @return A list model populated with the elements from ls. */ public static ListModel buildModel(final Iterable source) { - if (source == null) throw new NullPointerException("Source must not be null"); + if(source == null) throw new NullPointerException("Source must not be null"); final DefaultListModel defaultModel = new DefaultListModel<>(); -- cgit v1.2.3