PROPOSAL: Auto-assignment Parameters (original) (raw)

Marek Kozieł develop4lasu at gmail.com
Thu Mar 26 14:10:11 PDT 2009


I just wander loudly: class Some{

 private String name;

 public Some setName (String name){
    this.name = name;
    return this;
 };

 public String getName(){
     return this.name;
 };

}

to: class Some{

 private String name;

 public this setName (String this.name){};

 public this.name getName(){};

}

-- Pozdrowionka. / Regards. Lasu aka Marek Kozieł

http://lasu2string.blogspot.com/



More information about the coin-dev mailing list