eclipse plugin: Fix a NullPointerException

This commit is contained in:
Timotei Dolean 2011-07-26 15:30:48 +00:00
parent 90e2a794eb
commit e311df23b7

View file

@ -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 @@ public class WMLVariable implements Serializable
name_ = name;
location_ = location;
offset_ = offset;
scopes_ = new ArrayList<Pair<Integer,Integer>>();
}
public String getName()