Drop unused interface method

There was the only usage and it's redundant.
JetClass' implementation name is refined.
This commit is contained in:
Denis Zharkov
2015-02-02 12:42:29 +03:00
parent 3ba94d7352
commit 8305d73682
4 changed files with 1 additions and 12 deletions
@@ -79,8 +79,6 @@ public abstract class DataClassMethodGenerator {
}
private void generateComponentFunctionsForDataClasses() {
if (!declaration.hasPrimaryConstructor()) return;
ConstructorDescriptor constructor = classDescriptor.getUnsubstitutedPrimaryConstructor();
assert constructor != null : "Data class should have primary constructor";