[autocomplete] 78/143: RSTA: Fixed bug in LaTeX code folding. RSTA/AC/LangSupport: General improvements for custom language supports.

Benjamin Mesing ben at alioth.debian.org
Sat Oct 19 12:53:21 UTC 2013


This is an automated email from the git hooks/post-receive script.

ben pushed a commit to branch master
in repository autocomplete.

commit 752e770c97f37bcc3ea366a112dde752992d16e3
Author: bobbylight <robert at fifesoft.com>
Date:   Sat Apr 28 21:49:46 2012 +0000

    RSTA: Fixed bug in LaTeX code folding.
    RSTA/AC/LangSupport: General improvements for custom language supports.
---
 src/org/fife/ui/autocomplete/FunctionCompletion.java |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/org/fife/ui/autocomplete/FunctionCompletion.java b/src/org/fife/ui/autocomplete/FunctionCompletion.java
index 35b0b96..c0b5da4 100644
--- a/src/org/fife/ui/autocomplete/FunctionCompletion.java
+++ b/src/org/fife/ui/autocomplete/FunctionCompletion.java
@@ -227,8 +227,10 @@ public class FunctionCompletion extends VariableCompletion
 	 * @see #getParamCount()
 	 */
 	public void setParams(List params) {
-		// Deep copy so parsing can re-use its array.
-		this.params = new ArrayList(params);
+		if (params!=null) {
+			// Deep copy so parsing can re-use its array.
+			this.params = new ArrayList(params);
+		}
 	}
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/autocomplete.git



More information about the pkg-java-commits mailing list