ivicac/liferay-portal — comment on commit 144b4fa963a19f805424cc1351d99b8d5ff365f1
File: portal-impl/src/com/liferay/portlet/documentlibrary/service/impl/DLAppHelperLocalServiceImpl.java line 397
By caorongjin:

If you are following Liferay conventions, you want the "source" fileVersion to come in order before the "destination" one. Hence:

updateFileEntry(
long userId, FileEntry fileEntry, FileVersion copyFromVersion, FileVersion fileVersion, long assetClassPk)