Make constructor parameter a property: message shortened a bit

(cherry picked from commit 1938909)
This commit is contained in:
Mikhail Glukhikh
2016-07-26 18:46:53 +03:00
committed by Mikhail Glukhikh
parent e51f2457bf
commit 0278a6c8a4
7 changed files with 10 additions and 8 deletions
@@ -1,4 +1,4 @@
// "Make primary constructor parameter 'bar' a property in class 'B'" "true"
// "Make constructor parameter a property in class 'B'" "true"
class B(bar: String) {
@@ -1,4 +1,4 @@
// "Make primary constructor parameter 'bar' a property in class 'B'" "true"
// "Make constructor parameter a property in class 'B'" "true"
class B(private val bar: String) {
@@ -1,4 +1,4 @@
// "Make primary constructor parameter 'foo' a property" "true"
// "Make constructor parameter a property" "true"
class A(foo: String) {
fun bar() {
@@ -1,4 +1,4 @@
// "Make primary constructor parameter 'foo' a property" "true"
// "Make constructor parameter a property" "true"
class A(private val foo: String) {
fun bar() {
@@ -1,4 +1,4 @@
// "Make primary constructor parameter 'foo' a property" "true"
// "Make constructor parameter a property" "true"
class A(foo: String) {
fun bar() {
@@ -1,4 +1,4 @@
// "Make primary constructor parameter 'foo' a property" "true"
// "Make constructor parameter a property" "true"
class A(private var foo: String) {
fun bar() {