Skip to content

Commit 6b5482b

Browse files
committed
happy linter
1 parent 210c15d commit 6b5482b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎entity-store/src/main/kotlin/jetbrains/exodus/entitystore/orientdb/ODatabaseConfig.kt‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright ${inceptionYear} - ${year} ${owner}
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package jetbrains.exodus.entitystore.orientdb
218

319
import com.orientechnologies.orient.core.db.ODatabaseType
@@ -18,6 +34,7 @@ class ODatabaseConfig private constructor(
1834
return Builder()
1935
}
2036
}
37+
2138
@Suppress("unused")
2239
class Builder internal constructor() {
2340
var databaseName: String = ""
@@ -42,6 +59,7 @@ class ODatabaseConfig private constructor(
4259
require(cipherKey == null) { "Cipher is already initialized" }
4360
cipherKey = hexStringToByteArray(key) + longToByteArray(IV)
4461
}
62+
4563
fun tweakConfig(tweakConfig: OrientDBConfigBuilder.() -> Unit) = apply { this.tweakConfig = tweakConfig }
4664

4765
fun build() = ODatabaseConfig(

0 commit comments

Comments
 (0)