Author: timotei
Date: Tue Jul 26 17:30:48 2011
New Revision: 50423
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50423&view=rev
Log:
eclipse plugin: Fix a NullPointerException
Modified:
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/core/WMLVariable.java
Modified:
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/core/WMLVariable.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/core/WMLVariable.java?rev=50423&r1=50422&r2=50423&view=diff
==============================================================================
--- trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/core/WMLVariable.java
(original)
+++ trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/core/WMLVariable.java
Tue Jul 26 17:30:48 2011
@@ -9,6 +9,7 @@
package org.wesnoth.wml.core;
import java.io.Serializable;
+import java.util.ArrayList;
import java.util.List;
import org.wesnoth.utils.Pair;
@@ -37,6 +38,7 @@
name_ = name;
location_ = location;
offset_ = offset;
+ scopes_ = new ArrayList<Pair<Integer,Integer>>();
}
public String getName()
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits