Issue 554 - rank formats *before* serializing them.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2482 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
b3f8ce83c1
commit
8d22ede1f8
@ -139,8 +139,8 @@ public class ImportingUtilities {
|
|||||||
bestFormat = ImportingUtilities.guessBetterFormat(job, bestFormat);
|
bestFormat = ImportingUtilities.guessBetterFormat(job, bestFormat);
|
||||||
|
|
||||||
JSONArray rankedFormats = new JSONArray();
|
JSONArray rankedFormats = new JSONArray();
|
||||||
JSONUtilities.safePut(config, "rankedFormats", rankedFormats);
|
|
||||||
ImportingUtilities.rankFormats(job, bestFormat, rankedFormats);
|
ImportingUtilities.rankFormats(job, bestFormat, rankedFormats);
|
||||||
|
JSONUtilities.safePut(config, "rankedFormats", rankedFormats);
|
||||||
|
|
||||||
JSONUtilities.safePut(config, "state", "ready");
|
JSONUtilities.safePut(config, "state", "ready");
|
||||||
JSONUtilities.safePut(config, "hasData", true);
|
JSONUtilities.safePut(config, "hasData", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user