Skip to content

Commit

Permalink
1. Change variable names in getPropertyGroups
Browse files Browse the repository at this point in the history
2. Use strings instead of cellstrs/chars
  • Loading branch information
sgilmore10 committed Jul 26, 2023
1 parent 438e97f commit b5d1c2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions matlab/src/matlab/+arrow/+type/TimestampType.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
end

methods (Access=protected)
function propgrp = getPropertyGroups(~)
proplist = {'ID', 'TimeUnit', 'TimeZone'};
propgrp = matlab.mixin.util.PropertyGroup(proplist);
function group = getPropertyGroups(~)
targets = ["ID" "TimeUnit" "TimeZone"];
group = matlab.mixin.util.PropertyGroup(targets);
end
end
end
2 changes: 1 addition & 1 deletion matlab/test/arrow/type/tTimestampType.m
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function Display(testCase)
% TimeZone: "America/Anchorage"
%
type = arrow.timestamp(TimeUnit="Second", TimeZone="America/Anchorage"); %#ok<NASGU>
classnameLink = '<a href="matlab:helpPopup arrow.type.TimestampType" style="font-weight:bold">TimestampType</a>';
classnameLink = "<a href=""matlab:helpPopup arrow.type.TimestampType"" style=""font-weight:bold"">TimestampType</a>";
header = " " + classnameLink + " with properties:" + newline;
body = strjust(pad(["ID:"; "TimeUnit:"; "TimeZone:"]));
body = body + " " + ["Timestamp"; "Second"; """America/Anchorage"""];
Expand Down

0 comments on commit b5d1c2a

Please sign in to comment.