aboutsummaryrefslogtreecommitdiffstats
path: root/docs/dist/doc/examples/tjp/Demo.java
diff options
context:
space:
mode:
authorehilsdal <ehilsdal>2003-04-08 21:59:39 +0000
committerehilsdal <ehilsdal>2003-04-08 21:59:39 +0000
commite2af842ae7dbf3b0315a5f73d3d5ec9b7f041556 (patch)
treea4e993a588298b0d6babdf643de8d35991a2ebd6 /docs/dist/doc/examples/tjp/Demo.java
parentf11709f8bc26a053ff573039cc0b5ee887c005ff (diff)
downloadaspectj-e2af842ae7dbf3b0315a5f73d3d5ec9b7f041556.tar.gz
aspectj-e2af842ae7dbf3b0315a5f73d3d5ec9b7f041556.zip
folded in material from README-11.html
finally totally and completely stomped out "introduction" minor formatting changes generating better filenames for the progguide added A4 version of quick reference
Diffstat (limited to 'docs/dist/doc/examples/tjp/Demo.java')
-rw-r--r--docs/dist/doc/examples/tjp/Demo.java17
1 files changed, 7 insertions, 10 deletions
diff --git a/docs/dist/doc/examples/tjp/Demo.java b/docs/dist/doc/examples/tjp/Demo.java
index 8b90a7a49..64d249c82 100644
--- a/docs/dist/doc/examples/tjp/Demo.java
+++ b/docs/dist/doc/examples/tjp/Demo.java
@@ -14,27 +14,24 @@ about the software, its performance or its conformity to any specification.
package tjp;
public class Demo {
-
static Demo d;
public static void main(String[] args){
- new Demo().go();
+ new Demo().go();
}
void go(){
- d = new Demo();
- d.foo(1,d);
- System.out.println(d.bar(new Integer(3)));
+ d = new Demo();
+ d.foo(1,d);
+ System.out.println(d.bar(new Integer(3)));
}
void foo(int i, Object o){
- System.out.println("Demo.foo(" + i + ", " + o + ")\n");
+ System.out.println("Demo.foo(" + i + ", " + o + ")\n");
}
-
String bar (Integer j){
- System.out.println("Demo.bar(" + j + ")\n");
- return "Demo.bar(" + j + ")";
+ System.out.println("Demo.bar(" + j + ")\n");
+ return "Demo.bar(" + j + ")";
}
-
}