Skip to content

Commit

Permalink
Minor code syntax improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
antononcube committed Oct 24, 2019
1 parent 5caa9a6 commit 7acc695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JavaTriesWithFrequencies.m
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ Mathematica is (C) Copyright 1988-2017 Wolfram Research, Inc.
Map[{"key", "value"} /. # &,
ImportString[TrieFunctions`pathsToJSON[TrieFunctions`rootToLeafPaths[jTr]], "JSON"], {2}];

Clear[JavaTrieRootToLeafPaths]
Clear[JavaTrieRootToLeafPaths];
JavaTrieRootToLeafPaths[jTr_?JavaObjectQ] :=
Block[{pathsObj, keyPaths, valuePaths},
pathsObj = JLink`ReturnAsJavaObject[ TrieFunctions`rootToLeafPaths[ jTr ] ];
Expand Down

0 comments on commit 7acc695

Please sign in to comment.