Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Member

Choose a reason for hiding this comment

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

Should we also add an overloaded method which takes in destination / fragment name as a param?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm personally I feel the logic is simple enough to not add more public API, but no strong opinion

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good to me

Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,13 @@ public enum CrossLevelScope

private final String identifier;

/**
* Return the suffix to be appended to e.g. a destination or fragment name.
*
* @return The suffix including the leading '@' character.
*/
@Nonnull
String getSuffix()
public String getSuffix()
Copy link
Member Author

Choose a reason for hiding this comment

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

Since its not obvious from this diff: The enum is already @Beta

{
return "@" + identifier;
}
Expand Down