aboutsummaryrefslogtreecommitdiffstats
path: root/docs/dist/doc/examples/tjp/Demo.java
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-01-04 10:12:59 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-01-06 10:09:11 +0100
commit61ceb8a58ea72d4c07ff0b2f669d5f84b75700ec (patch)
tree857d468f6c8cc4d83370ed9d526e79f3abdb3f2a /docs/dist/doc/examples/tjp/Demo.java
parentf7962810eca3ddda75d64b85caab2449eeff480e (diff)
downloadaspectj-61ceb8a58ea72d4c07ff0b2f669d5f84b75700ec.tar.gz
aspectj-61ceb8a58ea72d4c07ff0b2f669d5f84b75700ec.zip
Move docs examples directory two levels up
Now, the location more closely resembles where it is on the website. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs/dist/doc/examples/tjp/Demo.java')
-rw-r--r--docs/dist/doc/examples/tjp/Demo.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/dist/doc/examples/tjp/Demo.java b/docs/dist/doc/examples/tjp/Demo.java
deleted file mode 100644
index 64d249c82..000000000
--- a/docs/dist/doc/examples/tjp/Demo.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-
-Copyright (c) Xerox Corporation 1998-2002. All rights reserved.
-
-Use and copying of this software and preparation of derivative works based
-upon this software are permitted. Any distribution of this software or
-derivative works must comply with all applicable United States export control
-laws.
-
-This software is made available AS IS, and Xerox Corporation makes no warranty
-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();
- }
-
- void go(){
- 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");
- }
-
- String bar (Integer j){
- System.out.println("Demo.bar(" + j + ")\n");
- return "Demo.bar(" + j + ")";
- }
-}