Browse Source

* project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java

Fixed: compilation error: int can not be converted to long
master^2
Bernarto P Tjahjono 3 years ago
parent
commit
15c5bd748d
  1. 4
      project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java

4
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 { public Long firstRevision(String function_name) throws Exception {
TreeSet<Long> rev=revisions(function_name); TreeSet<Long> 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 { public Long lastRevision(String function_name) throws Exception {
TreeSet<Long> rev=revisions(function_name); TreeSet<Long> 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 { public String getWhatChanged(String function_name, Long c_rev) throws Exception {

Loading…
Cancel
Save