mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-02 11:36:05 +01:00
add -Xfuture option. fix warnings
view bounds and procedure syntax are deprecated
This commit is contained in:
@@ -18,7 +18,7 @@ object Checksums {
|
||||
val buf = new Array[Byte](bufferSize)
|
||||
md.reset()
|
||||
@tailrec
|
||||
def loop() {
|
||||
def loop(): Unit = {
|
||||
val len = is read buf
|
||||
if (len != -1) {
|
||||
md update (buf, 0, len)
|
||||
|
||||
Reference in New Issue
Block a user