Sample polishing requested by Andrei and Jesse. In spite I do not agree it is important - but I do not have power to describe that it is not important. Maybe in a blog.
authorJaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 10:03:38 +0200
changeset 19278bf0774975d
parent 191 c8a7c6621b5f
child 193 2b944e0980c9
Sample polishing requested by Andrei and Jesse. In spite I do not agree it is important - but I do not have power to describe that it is not important. Maybe in a blog.
samples/growingparameters/src-api1.0/api/request/response/Compute.java
samples/growingparameters/src-api2.0/api/request/response/Compute.java
     1.1 --- a/samples/growingparameters/src-api1.0/api/request/response/Compute.java	Sat Jun 14 10:03:34 2008 +0200
     1.2 +++ b/samples/growingparameters/src-api1.0/api/request/response/Compute.java	Sat Jun 14 10:03:38 2008 +0200
     1.3 @@ -21,11 +21,11 @@
     1.4          }
     1.5          
     1.6          public void add(String s) {
     1.7 -            this.result.add(s);
     1.8 +            result.add(s);
     1.9          }
    1.10          
    1.11          public void addAll(List<String> all) {
    1.12 -            this.result.addAll(all);
    1.13 +            result.addAll(all);
    1.14          }
    1.15      }
    1.16  }
     2.1 --- a/samples/growingparameters/src-api2.0/api/request/response/Compute.java	Sat Jun 14 10:03:34 2008 +0200
     2.2 +++ b/samples/growingparameters/src-api2.0/api/request/response/Compute.java	Sat Jun 14 10:03:38 2008 +0200
     2.3 @@ -22,7 +22,7 @@
     2.4          }
     2.5          
     2.6          public void add(String s) {
     2.7 -            this.result.put(s, s);
     2.8 +            result.put(s, s);
     2.9          }
    2.10          
    2.11          public void addAll(List<String> all) {
    2.12 @@ -33,7 +33,7 @@
    2.13  
    2.14          /** @since 2.0 */
    2.15          public void add(String s, String description) {
    2.16 -            this.result.put(s, description);
    2.17 +            result.put(s, description);
    2.18          }
    2.19      }
    2.20  }