diff options
author | Simon Rettberg | 2016-02-22 12:16:32 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-02-22 12:16:32 +0100 |
commit | e4a54a5dbdd7eccf9f5eb34bdf963e867432ccfe (patch) | |
tree | 160d92871ff1f6af1d10fbb7d508a2b971d87289 /dozentenmodul/src/main/java/org | |
parent | [client] Improve some texts (image -> vm mostly) (diff) | |
download | tutor-module-e4a54a5dbdd7eccf9f5eb34bdf963e867432ccfe.tar.gz tutor-module-e4a54a5dbdd7eccf9f5eb34bdf963e867432ccfe.tar.xz tutor-module-e4a54a5dbdd7eccf9f5eb34bdf963e867432ccfe.zip |
[client] Fix comments/formatting
Diffstat (limited to 'dozentenmodul/src/main/java/org')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java index fe8e9cc4..3b418a97 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java @@ -50,7 +50,7 @@ public class LocationSelector extends JPanel { private boolean initDone = false; /** - * List of ID's of locations to set the selection to when we finished + * List of IDs of locations to set the selection to when we finished * initializing */ private List<Integer> preselection; @@ -124,8 +124,7 @@ public class LocationSelector extends JPanel { * and set the generated tree as model for the JCheckboxTree used in the UI * of this widget. * - * @param list - * of locations to set the available list to + * @param locations list of locations to set the available list to * @return true if setting the list worked, false otherwise */ public boolean fillLocationsList(final List<Location> locations) { @@ -166,8 +165,8 @@ public class LocationSelector extends JPanel { /** * Setter for the "show only in selection" checkbox * - * @param true to enable the "limited" radio button, false to enable the - * other + * @param limited true to enable the "limited" radio button, false to enable + * the other */ public void setOnlyInSelection(boolean limited) { btnLimitToLocations.setSelected(limited); @@ -185,10 +184,9 @@ public class LocationSelector extends JPanel { /** * Sets the selection to the locations corresponding to the given list of - * id's + * ids. * - * @param list - * of integers to set the locations to + * @param list location ids to select */ public void setSelectedLocationsAsIds(List<Integer> list) { if (list == null) { @@ -243,10 +241,11 @@ public class LocationSelector extends JPanel { /** * Minimize the given set of TreePath: if all children of an inner node are - * selected, remove all child from the result list and just keep the inner node - * - * @param Array of TreePath to minimize - * @return Resulting minimal list of TreePaths + * selected, remove all child from the result list and just keep the inner + * node + * + * @param paths Array of TreePath to minimize + * @return Resulting minimal list of TreePaths */ private List<TreePath> minify(final TreePath[] paths) { // transform the array of paths to a list of leaf nodes @@ -305,8 +304,9 @@ public class LocationSelector extends JPanel { /** * Helper to get the TreePath of the given TreeNode * - * @param treeNode to get the TreePath of - * @return TreePath of the given TreeNode if it can be determined, null otherwise + * @param treeNode node to get the TreePath of + * @return TreePath of the given TreeNode if it can be determined, null + * otherwise */ public static TreePath getPath(TreeNode treeNode) { List<Object> nodes = new ArrayList<Object>(); |