mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 02:45:36 +01:00
get rid of warnings
This commit is contained in:
@@ -97,7 +97,7 @@ public class CompletionPanel {
|
||||
* @param dedit
|
||||
*/
|
||||
public CompletionPanel(final JEditTextArea textarea, int position, String subWord,
|
||||
DefaultListModel items, final Point location, DebugEditor dedit) {
|
||||
DefaultListModel<CompletionCandidate> items, final Point location, DebugEditor dedit) {
|
||||
this.textarea = (TextArea) textarea;
|
||||
editor = dedit;
|
||||
this.insertionPosition = position;
|
||||
|
||||
@@ -774,7 +774,7 @@ public class TextArea extends JEditTextArea {
|
||||
* @param defListModel
|
||||
* @param subWord
|
||||
*/
|
||||
protected void showSuggestion(DefaultListModel defListModel,String subWord) {
|
||||
protected void showSuggestion(DefaultListModel<CompletionCandidate> defListModel,String subWord) {
|
||||
hideSuggestion();
|
||||
if (defListModel.size() == 0) {
|
||||
log("TextArea: No suggestions to show.");
|
||||
|
||||
Reference in New Issue
Block a user