Code cleanup: removed redundant semicolons
This commit is contained in:
+1
-1
@@ -550,7 +550,7 @@ class LazyJavaClassMemberScope(
|
||||
constructorDescriptor.initialize(valueParameters, getConstructorVisibility(classDescriptor))
|
||||
constructorDescriptor.setHasStableParameterNames(true)
|
||||
constructorDescriptor.returnType = classDescriptor.defaultType
|
||||
c.components.javaResolverCache.recordConstructor(jClass, constructorDescriptor);
|
||||
c.components.javaResolverCache.recordConstructor(jClass, constructorDescriptor)
|
||||
return constructorDescriptor
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -258,7 +258,7 @@ abstract class LazyJavaScope(protected val c: LazyJavaResolverContext) : MemberS
|
||||
})
|
||||
}
|
||||
|
||||
c.components.javaResolverCache.recordField(field, propertyDescriptor);
|
||||
c.components.javaResolverCache.recordField(field, propertyDescriptor)
|
||||
|
||||
return propertyDescriptor
|
||||
}
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@ fun <T : Any> mapType(
|
||||
descriptor is TypeParameterDescriptor -> {
|
||||
val type = mapType(getRepresentativeUpperBound(descriptor),
|
||||
factory, mode, typeMappingConfiguration, writeGenericType = DO_NOTHING_3, descriptorTypeWriter = null)
|
||||
descriptorTypeWriter?.writeTypeVariable(descriptor.getName(), type);
|
||||
descriptorTypeWriter?.writeTypeVariable(descriptor.getName(), type)
|
||||
return type
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ abstract class PackageFragmentDescriptorImpl(
|
||||
visitor.visitPackageFragmentDescriptor(this, data)
|
||||
|
||||
override fun getContainingDeclaration(): ModuleDescriptor {
|
||||
return super<DeclarationDescriptorNonRootImpl>.getContainingDeclaration() as ModuleDescriptor
|
||||
return super.getContainingDeclaration() as ModuleDescriptor
|
||||
}
|
||||
|
||||
override fun getSource(): SourceElement {
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.types;
|
||||
package org.jetbrains.kotlin.types
|
||||
|
||||
import org.jetbrains.kotlin.descriptors.annotations.Annotations
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ abstract class DelegatingFlexibleType protected constructor(
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
return when(capabilityClass) {
|
||||
Flexibility::class.java, SubtypingRepresentatives::class.java -> this as T
|
||||
else -> super<DelegatingType>.getCapability(capabilityClass)
|
||||
else -> super.getCapability(capabilityClass)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.serialization;
|
||||
package org.jetbrains.kotlin.serialization
|
||||
|
||||
import com.google.protobuf.ExtensionRegistryLite
|
||||
import com.google.protobuf.GeneratedMessageLite.GeneratedExtension
|
||||
|
||||
Reference in New Issue
Block a user