Drop throws usages that looks redundant
Probably appeared after j2k-conversion
This commit is contained in:
-1
@@ -48,7 +48,6 @@ public open class KotlinClsStubBuilder : ClsStubBuilder() {
|
||||
return doBuildFileStub(file)
|
||||
}
|
||||
|
||||
throws(javaClass<ClsFormatException>())
|
||||
fun doBuildFileStub(file: VirtualFile): PsiFileStub<JetFile>? {
|
||||
val kotlinBinaryClass = KotlinBinaryClassCache.getKotlinBinaryClass(file)
|
||||
val header = kotlinBinaryClass.getClassHeader()
|
||||
|
||||
-1
@@ -32,7 +32,6 @@ public abstract class JetFixtureCompletionBaseTestCase : JetLightCodeInsightFixt
|
||||
|
||||
protected open fun defaultInvocationCount(): Int = 0
|
||||
|
||||
throws(javaClass<Exception>())
|
||||
public open fun doTest(testPath: String) {
|
||||
setUpFixture(testPath)
|
||||
|
||||
|
||||
@@ -77,7 +77,6 @@ public class InplaceRenameTest : LightPlatformCodeInsightTestCase() {
|
||||
templateManager.setTemplateTesting(true)
|
||||
|
||||
object : WriteCommandAction.Simple<Any>(project) {
|
||||
throws(javaClass<Throwable>())
|
||||
override fun run() {
|
||||
handler.invoke(project, editor, file, dataContext)
|
||||
}
|
||||
@@ -88,7 +87,6 @@ public class InplaceRenameTest : LightPlatformCodeInsightTestCase() {
|
||||
val range = state!!.getCurrentVariableRange()
|
||||
assert(range != null)
|
||||
object : WriteCommandAction.Simple<Any>(project) {
|
||||
throws(javaClass<Throwable>())
|
||||
override fun run() {
|
||||
editor.getDocument().replaceString(range!!.getStartOffset(), range!!.getEndOffset(), newName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user