Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeStamp to TimeStampTree #328

Merged
merged 192 commits into from
Jul 10, 2024
Merged

TimeStamp to TimeStampTree #328

merged 192 commits into from
Jul 10, 2024

Conversation

blidhpxc
Copy link
Contributor

Description

Change from using the TimeStamp to TimeStampTree in PageRetriever and Query.

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

Comment on lines +380 to +382
(sme.TValue == string.Empty || sme.TValue == null) &&
(!withSME || (sme.SemanticId != null && sme.SemanticId.Equals(semanticId))) &&
(!withDiff || sme.TimeStampTree.CompareTo(diff) > 0))

Check notice

Code scanning / CodeQL

Complex condition Note

Complex condition: too many logical operations in this expression.
@@ -326,7 +326,7 @@
{
smId = identifier,
url = $"{ExternalBlazor}/submodels/{Base64UrlEncoder.Encode(identifier)}",
timeStamp = TimeStamp.TimeStamp.DateTimeToString(sm.TimeStamp)
timeStampTree = TimeStamp.TimeStamp.DateTimeToString(sm.TimeStampTree)

Check warning

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
sm
may be null at this access as suggested by
this
null check.
@Freezor Freezor added the enhancement New feature or request label Jul 10, 2024
@Freezor Freezor merged commit e0b20b7 into eclipse-aaspe:main Jul 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants