* project/bldb/src/main/java/com/fe/svn/SVNSyncFile.java
Fixed: compilation error: int can not be converted to long
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user