Check for null confidence string.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@259 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-03-09 20:57:46 +00:00
parent 3f7397e467
commit 6b3a20dc46

View File

@ -166,8 +166,10 @@ public class ProjectMetadata implements Jsonizable {
}
public void setEncodingConfidence(String confidence) {
if (confidence != null) {
this.setEncodingConfidence(Integer.parseInt(confidence));
}
}
public int getEncodingConfidence() {
return _encodingConfidence;