Mercurial > hg > testrepo
changeset 97:095881f1374a
Testing push access
author | Anirudhan Mukundan <amukunda@redhat.com> |
---|---|
date | Wed, 12 Aug 2015 11:17:43 -0400 |
parents | c3a1a0f6fcda |
children | 3c61a739e6f5 |
files | Hello.java |
diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Hello.java Thu Jul 16 10:13:41 2015 -0500 +++ b/Hello.java Wed Aug 12 11:17:43 2015 -0400 @@ -14,6 +14,7 @@ new Something().doit(); System.out.println(new Something().dontdoit()); System.out.println(new Something().dodoitanddontdoit()); + Something.yay(1); } private static class Something @@ -43,7 +44,18 @@ { doit(); return dontdoit(); - } + } + + public static void yay(int n) + { + if(n<=0) { + return; + } + System.out.println ("Yay! I can push :D"); + yay(n-1); + } + + } static void hello()