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:
parent
3f7397e467
commit
6b3a20dc46
@ -166,7 +166,9 @@ public class ProjectMetadata implements Jsonizable {
|
||||
}
|
||||
|
||||
public void setEncodingConfidence(String confidence) {
|
||||
this.setEncodingConfidence(Integer.parseInt(confidence));
|
||||
if (confidence != null) {
|
||||
this.setEncodingConfidence(Integer.parseInt(confidence));
|
||||
}
|
||||
}
|
||||
|
||||
public int getEncodingConfidence() {
|
||||
|
Loading…
Reference in New Issue
Block a user