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

Support for inlined properties, by displaying them as links. #209

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

jad-elkhoury
Copy link
Contributor

Description

Support for inlined properties, by displaying them as links.

Checklist

  • This PR adds an entry to the CHANGELOG. See https://keepachangelog.com/en/1.0.0/ for instructions. Minor edits are exempt.
  • This PR was tested on at least one Lyo OSLC server or adds unit/integration tests.
  • This PR does NOT break the API

Comment on lines +77 to +80
List<org.eclipse.lyo.server.ui.model.Link> l = new ArrayList<>();
for (AbstractResource r: rs) {
l.add(constructLink(r.getAbout().toString(), r.toString()));
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be rewritten with Java 8 stream in 1 line, eg https://mkyong.com/java8/java-8-streams-map-examples/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of course.

@berezovskyi berezovskyi merged commit 812945d into eclipse:master Nov 11, 2021
@jad-elkhoury jad-elkhoury deleted the oslcUiInlineSupport branch November 11, 2021 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants