diff --git a/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs b/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs index 7ab4416..90f52ad 100644 --- a/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs +++ b/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs @@ -1,4 +1,5 @@ #org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences -#Sat Aug 02 14:31:00 EDT 2014 +#Fri Apr 24 23:25:02 EDT 2015 +build.family.org.gradle.tooling.model.eclipse.HierarchicalEclipseProject=; org.springsource.ide.eclipse.gradle.linkedresources= org.springsource.ide.eclipse.gradle.rootprojectloc= diff --git a/build.gradle b/build.gradle index 601a6d8..8a0e330 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ group = 'com.fifesoft' archivesBaseName = 'autocomplete' dependencies { - testCompile group: 'junit', name: 'junit', version: '4.11' + testCompile( [ 'junit:junit:4.11' ] ) } // Regenerate local gradlew diff --git a/src/main/java/org/fife/ui/autocomplete/AutoCompletion.java b/src/main/java/org/fife/ui/autocomplete/AutoCompletion.java index 8a68e78..7a0cc1d 100644 --- a/src/main/java/org/fife/ui/autocomplete/AutoCompletion.java +++ b/src/main/java/org/fife/ui/autocomplete/AutoCompletion.java @@ -724,6 +724,8 @@ public boolean isAutoCompleteEnabled() { * changes. If set to false, caller has to ensure refresh of the popup * content. * + * @return Whether the popup should be hidden when the completion provider + * changes. * @see #setHideOnCompletionProviderChange(boolean) */ protected boolean isHideOnCompletionProviderChange() { @@ -735,6 +737,8 @@ protected boolean isHideOnCompletionProviderChange() { * Whether or not the popup should be hidden when user types a space (or * any character that resets the completion list to "all completions"). * + * @return Whether the popup should be hidden when the completion list is + * reset to show all completions. * @see #setHideOnNoText(boolean) */ protected boolean isHideOnNoText() { @@ -1003,6 +1007,8 @@ public void setExternalURLHandler(ExternalURLHandler handler) { * CompletionProvider changes. If set to false, caller has to ensure refresh * of the popup content. * + * @param hideOnCompletionProviderChange Whether the popup should be hidden + * when the completion provider changes. * @see #isHideOnCompletionProviderChange() */ protected void setHideOnCompletionProviderChange( @@ -1015,6 +1021,8 @@ protected void setHideOnCompletionProviderChange( * Sets whether or not the popup should be hidden when user types a space * (or any character that resets the completion list to "all completions"). * + * @param hideOnNoText Whether the popup sh ould be hidden when the + * completion list is reset to show all completions. * @see #isHideOnNoText() */ protected void setHideOnNoText(boolean hideOnNoText) { diff --git a/src/main/java/org/fife/ui/autocomplete/AutoCompletionEvent.java b/src/main/java/org/fife/ui/autocomplete/AutoCompletionEvent.java index 9174a4c..877be67 100644 --- a/src/main/java/org/fife/ui/autocomplete/AutoCompletionEvent.java +++ b/src/main/java/org/fife/ui/autocomplete/AutoCompletionEvent.java @@ -28,7 +28,7 @@ public class AutoCompletionEvent extends EventObject { /** * Constructor. * - * @param source The AutoCompletion instance that fired + * @param source The AutoCompletion instance that fired * this event. * @param type The event type. */