From 15c5bd748d3fdcf99fefca8af677f0dbaabd3c0e Mon Sep 17 00:00:00 2001 From: bernarto4ecap Date: Wed, 15 Dec 2021 22:32:25 +0800 Subject: [PATCH] * project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java Fixed: compilation error: int can not be converted to long --- project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java b/project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java index fdb5876..2ae5884 100644 --- a/project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java +++ b/project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java @@ -340,12 +340,12 @@ private Logger log = LogManager.getLogger(SVNSync4RFunction.class.getName()); public Long firstRevision(String function_name) throws Exception { TreeSet rev=revisions(function_name); - return rev.size()>0?rev.first():0; + return rev.size()>0?rev.first():0L; } public Long lastRevision(String function_name) throws Exception { TreeSet rev=revisions(function_name); - return rev.size()>0?rev.last():0; + return rev.size()>0?rev.last():0L; } public String getWhatChanged(String function_name, Long c_rev) throws Exception {