From cbdbba0ab06898cd7ab6d69e33d2db990d8b8799 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Thu, 15 Feb 2024 09:36:18 +0700 Subject: Globally replace "http:" by "https:" in non-XML files Maybe, the XML files and Maven wrapper files will follow. First, let us find out if this breaks the build, maybe some tests are asserting on "http:". But there, the replacement would also have taken place, so probably it just works. Signed-off-by: Alexander Kriegisch --- testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCase.java | 2 +- testing/src/test/java/org/aspectj/testing/util/LinkCheck.java | 2 +- testing/src/test/java/org/aspectj/testing/util/WebInstall.java | 2 +- testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReader.java | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'testing/src/test/java/org') diff --git a/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCase.java b/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCase.java index 6af8ced47..440bd9821 100644 --- a/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCase.java +++ b/testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCase.java @@ -229,7 +229,7 @@ public abstract class XMLBasedAjcTestCase extends AjcTestCase { * properties in the associated classes, so this simple implementation should be very easy to maintain and extend should you * ever need to. * - * See also + * See also * this introduction (archived for version 2.1). AspectJ uses version 1.3, though. * * @return a newly created XML digester diff --git a/testing/src/test/java/org/aspectj/testing/util/LinkCheck.java b/testing/src/test/java/org/aspectj/testing/util/LinkCheck.java index 8004c3f67..aa6cba3c1 100644 --- a/testing/src/test/java/org/aspectj/testing/util/LinkCheck.java +++ b/testing/src/test/java/org/aspectj/testing/util/LinkCheck.java @@ -40,7 +40,7 @@ import org.aspectj.util.LangUtil; /** * Quick and dirty link checker. - * This checks that links into file: and http: targets work, + * This checks that links into file: and https: targets work, * and that links out of file: targets work. */ public class LinkCheck { diff --git a/testing/src/test/java/org/aspectj/testing/util/WebInstall.java b/testing/src/test/java/org/aspectj/testing/util/WebInstall.java index 1dab56ee9..0afcf62b5 100644 --- a/testing/src/test/java/org/aspectj/testing/util/WebInstall.java +++ b/testing/src/test/java/org/aspectj/testing/util/WebInstall.java @@ -25,7 +25,7 @@ import java.net.URLClassLoader; * * Example: *

java -classpath aj-testing.jar org.aspectj.testing.util.WebInstall - * http://aspectj.org/download/distribution/aspectj10-tools.jar -text + * https://aspectj.org/download/distribution/aspectj10-tools.jar -text * install.properties * *

You can omit the -text install.properties if there is diff --git a/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReader.java b/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReader.java index 9cdf4239b..af822c478 100644 --- a/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReader.java +++ b/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReader.java @@ -220,7 +220,7 @@ public class AjcSpecXmlReader { // try { // // this is the correct approach, but the commons parser // // fails to accept a second, overriding registration - see -// // http://lists.xml.org/archives/xml-dev/200111/msg00959.html +// // https://lists.xml.org/archives/xml-dev/200111/msg00959.html // digester.getXMLReader().setEntityResolver(new SuiteResolver(suiteFile)); // } catch (SAXException e) { // System.err.println("unable to set entity resolver"); @@ -534,4 +534,3 @@ public class AjcSpecXmlReader { // } // return null; //} - -- cgit v1.2.3