Skip to content

Commit

Permalink
Merge branch 'master' into encoded-object-map
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Sep 23, 2023
2 parents 3a04405 + eb6893a commit cd14ab0
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public GearsLibraryInfo build(Object data) {

String apiVersion = null;
List<String> clusterFunctions = Collections.emptyList();
String code = "";
String code = null;
String configuration = null;
String engine = null;
List<FunctionInfo> functions = Collections.emptyList();
Expand Down Expand Up @@ -156,7 +156,7 @@ public GearsLibraryInfo build(Object data) {
int offset = withCode ? 2 : 0;
apiVersion = STRING.build(list.get(1));
clusterFunctions = STRING_LIST.build(list.get(3));
code = withCode ? STRING.build(list.get(5)) : "";
code = withCode ? STRING.build(list.get(5)) : null;
configuration = STRING.build(list.get(5 + offset));
engine = STRING.build(list.get(7 + offset));
functions = FUNCTION_INFO_LIST.build(list.get(9 + offset));
Expand Down
Loading

0 comments on commit cd14ab0

Please sign in to comment.