Code cleanup: removed redundant semicolons

This commit is contained in:
Valentin Kipyatkov
2016-04-26 23:30:42 +03:00
parent e1d8c72aa7
commit b551886889
141 changed files with 2520 additions and 239 deletions
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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 {
@@ -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)
}
}
@@ -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