Mercurial > hg > testrepo
changeset 93:41f840f89b0e
Quick Push Access Test
author | Lukasz Dracz <ldracz@redhat.com> |
---|---|
date | Fri, 18 Jul 2014 15:21:14 -0400 |
parents | ad25c480fa5e |
children | ade357fe9dda |
files | Hello.java |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Hello.java Fri Jul 12 15:37:48 2013 -0400 +++ b/Hello.java Fri Jul 18 15:21:14 2014 -0400 @@ -13,11 +13,12 @@ System.out.println("nw task 2"); new Something().doit(); System.out.println(new Something().dontdoit()); + System.out.println(new Something().dodoitanddontdoit()); } private static class Something { - int x = 3; + int x = 4; public Something() { @@ -37,6 +38,12 @@ x--; return x; } + + public int dodoitanddontdoit() + { + doit(); + return dontdoit(); + } } static void hello()