Skip to content

Commit

Permalink
JavaDoc tweak. Eclipse compilier warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
bpangburn committed Feb 7, 2023
1 parent dc5ab76 commit df7307e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion swingset/src/main/java/com/nqadmin/swingset/SSComboBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
* not something that is based on {@code getSelectedIndex()}.
* Change the current combo box item with methods
* such as:
* {@link #setSelectedMapping(M) setSelectedMapping(Integer)}
* {@link SSBaseComboBox#setSelectedMapping(java.lang.Object) setSelectedMapping(Integer)}
* and
* {@link SSBaseComboBox#setSelectedOption(java.lang.Object) setSelectedOption(String)}.
* Use the methods {@link SSBaseComboBox#hasItems() hasItems() } and
Expand Down Expand Up @@ -146,6 +146,7 @@ public class SSComboBox extends SSBaseComboBox<Integer, String, Object>
/** A convenience for variable declarations. Can not instantiate. */
private static class Model extends OptionMappingSwingModel<Integer,String,Object> {
/** Exception if invoked. */
@SuppressWarnings("unused")
public Model() { Objects.requireNonNull(null); }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
* not something that is based on {@code getSelectedIndex()}.
* Change the current combo box item with methods
* such as:
* {@link #setSelectedMapping(M) setSelectedMapping(Long)}
* {@link SSBaseComboBox#setSelectedMapping(java.lang.Object) setSelectedMapping(Long)}
* and
* {@link SSBaseComboBox#setSelectedOption(java.lang.Object) setSelectedOption(String)}.
* Use the methods {@link SSBaseComboBox#hasItems() hasItems() } and
Expand Down

0 comments on commit df7307e

Please sign in to comment.