Remove assert that isn't valid in UpSource (UP-5742)
This commit is contained in:
@@ -100,7 +100,6 @@ object JarUserDataManager {
|
|||||||
|
|
||||||
private fun storeUserData(counter: JarBooleanPropertyCounter, localJarFile: VirtualFile,
|
private fun storeUserData(counter: JarBooleanPropertyCounter, localJarFile: VirtualFile,
|
||||||
hasFileWithProperty: Boolean?, timestamp: Long? = null) {
|
hasFileWithProperty: Boolean?, timestamp: Long? = null) {
|
||||||
assert(localJarFile.isInLocalFileSystem)
|
|
||||||
assert((timestamp == null) == (hasFileWithProperty == null)) { "Using empty timestamp is only allowed for storing not counted value" }
|
assert((timestamp == null) == (hasFileWithProperty == null)) { "Using empty timestamp is only allowed for storing not counted value" }
|
||||||
|
|
||||||
localJarFile.putUserData(counter.key,
|
localJarFile.putUserData(counter.key,
|
||||||
|
|||||||
Reference in New Issue
Block a user