Fix code style

This commit is contained in:
Naoki Takezoe
2014-06-02 16:10:03 +09:00
parent 6d6f529d40
commit 1edff41690

View File

@@ -43,9 +43,8 @@ trait SystemSettingsService {
ldap.keystore.foreach(x => props.setProperty(LdapKeystore, x))
}
}
using(new java.io.FileOutputStream(GitBucketConf)) {
out =>
props.store(out, null)
using(new java.io.FileOutputStream(GitBucketConf)){ out =>
props.store(out, null)
}
}
}
@@ -54,9 +53,8 @@ trait SystemSettingsService {
def loadSystemSettings(): SystemSettings = {
defining(new java.util.Properties()){ props =>
if(GitBucketConf.exists){
using(new java.io.FileInputStream(GitBucketConf)) {
in =>
props.load(in)
using(new java.io.FileInputStream(GitBucketConf)){ in =>
props.load(in)
}
}
SystemSettings(