Minor. fixed equals for TypeProjection.

Note: unclear where this equals is used.
This commit is contained in:
Stanislav Erokhin
2016-06-29 19:33:56 +03:00
parent 663752f086
commit d4d98c87ee
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,6 +36,7 @@ public abstract class TypeProjectionBase implements TypeProjection {
TypeProjection that = (TypeProjection) o;
if (isStarProjection() != that.isStarProjection()) return false;
if (getProjectionKind() != that.getProjectionKind()) return false;
if (!getType().equals(that.getType())) return false;