Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XWiki
xwiki-platform
Commits
434ceef2
Commit
434ceef2
authored
3 years ago
by
Thomas Mortagne
Browse files
Options
Downloads
Patches
Plain Diff
[misc]
* fix a mistake in the javadoc * improve javadoc format
parent
c355c4ae
Branches
lingohub_language_rocketchat_update_2024-09-02Z
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-merge/xwiki-platform-store-merge-api/src/main/java/org/xwiki/store/merge/MergeManager.java
+7
-2
7 additions, 2 deletions
...api/src/main/java/org/xwiki/store/merge/MergeManager.java
with
7 additions
and
2 deletions
xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-merge/xwiki-platform-store-merge-api/src/main/java/org/xwiki/store/merge/MergeManager.java
+
7
−
2
View file @
434ceef2
...
...
@@ -37,6 +37,7 @@ public interface MergeManager
{
/**
* Perform a 3-way merge between the given strings by first splitting them into lines.
* <p>
* The comparison is performed line by line.
*
* @param previousStr the previous string.
...
...
@@ -63,6 +64,7 @@ <T> MergeManagerResult<T, T> mergeObject(T previousObject, T newObject, T curren
/**
* Perform a 3-way merge between the given strings by first splitting them into arrays of characters.
* <p>
* The comparison is performed character by character.
*
* @param previousStr the previous string.
...
...
@@ -76,6 +78,7 @@ MergeManagerResult<String, Character> mergeCharacters(String previousStr, String
/**
* Perform a 3-way merge between the list of elements.
* <p>
* The current list is modified during the operation.
*
* @param commonAncestor the previous list.
...
...
@@ -90,8 +93,10 @@ <T> MergeManagerResult<List<T>, T> mergeList(List<T> commonAncestor, List<T> nex
/**
* Perform a 3-way merge between documents.
* Note that if {@link MergeConfiguration#isProvidedVersionsModifiables()} is {@code true} then the current document
* is cloned before the merge operation, else the given current document is directly modified for performance.
* <p>
* Note that if {@link MergeConfiguration#isProvidedVersionsModifiables()} is {@code false} then the current
* document is cloned before the merge operation, else the given current document is directly modified for
* performance.
*
* @param previousDoc the previous document.
* @param nextDoc the next document.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment