aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sandbox
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-07-23 11:31:13 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-01-06 10:09:11 +0100
commit8518fcf96e52edea67b862ade95b64f63607e605 (patch)
treebebd46a1f1204d1d3812853be83189ec2066a4c5 /docs/sandbox
parent9ddd317779717bdb8f4eb1d61b7bca596a1846e3 (diff)
downloadaspectj-8518fcf96e52edea67b862ade95b64f63607e605.tar.gz
aspectj-8518fcf96e52edea67b862ade95b64f63607e605.zip
Globally replace HTTP links to eclipse.org by HTTPS
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs/sandbox')
-rw-r--r--docs/sandbox/common/caching/WatchSetters.java34
-rw-r--r--docs/sandbox/inoculated/readme.txt6
-rw-r--r--docs/sandbox/trails/links.adoc2
-rw-r--r--docs/sandbox/trails/myeclipseide.adoc4
4 files changed, 23 insertions, 23 deletions
diff --git a/docs/sandbox/common/caching/WatchSetters.java b/docs/sandbox/common/caching/WatchSetters.java
index fa280f58f..4546977fe 100644
--- a/docs/sandbox/common/caching/WatchSetters.java
+++ b/docs/sandbox/common/caching/WatchSetters.java
@@ -20,15 +20,15 @@ import java.lang.reflect.Method;
* ...
* if (!foo.isDirtyValid() || foo.isDirty()) {
* foo.write();
- * }
+ * }
* </pre>
- *
+ *
* (Initial draft was sent to aspectj-users@eclipse.org by
- * Ricardo on 5/13/2003
- * (http://dev.eclipse.org/mhonarc/lists/aspectj-users/msg00482.html)
+ * Ricardo on 5/13/2003
+ * (https://dev.eclipse.org/mhonarc/lists/aspectj-users/msg00482.html)
* but his email fails now, so we
* did not get explicit authorization to post.)
- *
+ *
* @author Ricardo Giacomin, Wes Isberg
*/
public aspect WatchSetters {
@@ -59,7 +59,7 @@ public aspect WatchSetters {
public boolean IWatched.isDirtyValid() {
return dirtyValid;
}
-
+
/** Setters are instance methods returning void,
* prefixed "set..." and taking exactly 1 argument.
* Does not use args(id), since that requires the
@@ -75,7 +75,7 @@ public aspect WatchSetters {
* there wasn't a corresponding setter, we didn't
* have the right security permissions, etc.
*/
- void around(IWatched watched) : setters(watched)
+ void around(IWatched watched) : setters(watched)
&& if(watched.dirtyValid) {
// get value by invoking getter method
Object value = NONE;
@@ -86,7 +86,7 @@ public aspect WatchSetters {
.getMethod(getterName, GETTER_ARG_TYPES);
value = method.invoke(watched, GETTER_ARGS);
} catch (Throwable t) {
- // NoSuchMethodException, SecurityException,
+ // NoSuchMethodException, SecurityException,
// InvocationTargetException...
}
if (NONE == value) {
@@ -110,17 +110,17 @@ class Timer implements WatchSetters.IWatched {
private static int ID;
public final int id = ++ID;
private int counter;
- public int getCounter() {
+ public int getCounter() {
return counter;
}
- public void setCounter(int i) {
+ public void setCounter(int i) {
counter = i;
}
public void write() {
System.out.println("writing " + this);
}
public String toString() {
- return "Timer " + id + "==" + counter;
+ return "Timer " + id + "==" + counter;
}
}
@@ -137,14 +137,14 @@ class Client {
}
}
}
-
+
// ---- aspects use dirty to implement cache, etc.
// Volatile things are flushed when dirty
abstract aspect Volatile {
// subaspects declare targets using Volatile.ITag
protected interface ITag {}
declare precedence : Volatile+, WatchSetters;
- after(WatchSetters.IWatched watched) returning :
+ after(WatchSetters.IWatched watched) returning :
WatchSetters.setters(watched) {
if (!watched.isDirtyValid() || watched.isDirty()) {
flushCache(watched);
@@ -169,18 +169,18 @@ aspect Testing {
void signal(String s) {
org.aspectj.testing.Tester.event(s);
}
-
+
static {
org.aspectj.testing.Tester.expectEvent("client-write");
org.aspectj.testing.Tester.expectEvent("volatile-write");
}
- before() : withincode(void VolatileTimer.flushCache(Object))
+ before() : withincode(void VolatileTimer.flushCache(Object))
&& call(void Timer.write()) {
signal("volatile-write");
}
- before() : withincode(void Client.handleTimer(Timer))
+ before() : withincode(void Client.handleTimer(Timer))
&& call(void Timer.write()) {
signal("client-write");
}
@@ -188,4 +188,4 @@ aspect Testing {
after() returning : execution(void WatchSetters.main(String[])) {
org.aspectj.testing.Tester.checkAllEvents();
}
-} \ No newline at end of file
+}
diff --git a/docs/sandbox/inoculated/readme.txt b/docs/sandbox/inoculated/readme.txt
index 04f05e65a..90ced047b 100644
--- a/docs/sandbox/inoculated/readme.txt
+++ b/docs/sandbox/inoculated/readme.txt
@@ -1,10 +1,10 @@
This contains demonstration source code for the article
"Get Inoculated!" in the May 2002 issue of Software Development
-magazine.
+magazine.
To use it you will need the AspectJ tools available from
-http://eclipse.org/aspectj. We also recommend you download the
+https://eclipse.org/aspectj. We also recommend you download the
documentation bundle and support for the IDE of your choice.
Each file has a snippet for a section of the article. To find
@@ -28,7 +28,7 @@ Compile and run as usual:
> ajc -classpath "$AJ_HOME/lib/aspectjrt.jar" {file}
> java -classpath ".;$AJ_HOME/lib/aspectjrt.jar" {class}
-For email discussions and support, see http://eclipse.org/aspectj.
+For email discussions and support, see https://eclipse.org/aspectj.
Enjoy!
diff --git a/docs/sandbox/trails/links.adoc b/docs/sandbox/trails/links.adoc
index 2dd9d6945..0db3e202d 100644
--- a/docs/sandbox/trails/links.adoc
+++ b/docs/sandbox/trails/links.adoc
@@ -8,7 +8,7 @@ arguably it should.
For a list of publications about AspectJ that might contain sample code,
see the publications link off the AspectJ web site at
-http://eclipse.org/aspectj
+https://eclipse.org/aspectj
*"AspectJ in Action"* by Ramnivas Laddad has sample code including
four patterns: the worker object creation pattern, the exception
diff --git a/docs/sandbox/trails/myeclipseide.adoc b/docs/sandbox/trails/myeclipseide.adoc
index b2eee0321..de64c7e60 100644
--- a/docs/sandbox/trails/myeclipseide.adoc
+++ b/docs/sandbox/trails/myeclipseide.adoc
@@ -4,12 +4,12 @@ _Last updated: 2003-07-08 by wisberg_
MyEclipseIde (http://www.myeclipseide.com/[http://www.myeclipseide.com])
aims to make it easy to develop J2EE applications using Eclipse. AJDT
-(http://eclipse.org/ajdt) is an Eclipse plug-in that supports AspectJ.
+(https://eclipse.org/ajdt) is an Eclipse plug-in that supports AspectJ.
== Getting started
* To install AJDT with MyEclipseIDE, direct the Eclipse update manager
-to http://download.eclipse.org/technology/ajdt/dev/update, install the
+to https://download.eclipse.org/technology/ajdt/dev/update, install the
plug-in, and follow any post-install instructions.
* To enable a project to use aspects, first select
`Convert to AspectJ project` from the project's context menu (select