Skip to content

Commit 19637c4

Browse files
committed
Update some hyperlinks, and use HTTPS if possible
1 parent 497eff6 commit 19637c4

File tree

17 files changed

+24
-26
lines changed

17 files changed

+24
-26
lines changed

NOTICE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ both of which are licensed under the Apache 2.0 license, as follows:
55

66
Apache License
77
Version 2.0, January 2004
8-
http://www.apache.org/licenses/
8+
https://www.apache.org/licenses/
99

1010
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1111

@@ -197,7 +197,7 @@ both of which are licensed under the Apache 2.0 license, as follows:
197197
you may not use this file except in compliance with the License.
198198
You may obtain a copy of the License at
199199

200-
http://www.apache.org/licenses/LICENSE-2.0
200+
https://www.apache.org/licenses/LICENSE-2.0
201201

202202
Unless required by applicable law or agreed to in writing, software
203203
distributed under the License is distributed on an "AS IS" BASIS,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![](https://img.shields.io/maven-central/v/org.scijava/scijava-common.svg)](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.scijava%22%20AND%20a%3A%22scijava-common%22)
1+
[![](https://img.shields.io/maven-central/v/org.scijava/scijava-common.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.scijava%22%20AND%20a%3A%22scijava-common%22)
22
[![](https://github.com/scijava/scijava-common/actions/workflows/build-main.yml/badge.svg)](https://github.com/scijava/scijava-common/actions/workflows/build-main.yml)
33
[![developer chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://imagesc.zulipchat.com/#narrow/stream/327237-SciJava)
44

src/it/apt-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<project xmlns="http://maven.apache.org/POM/4.0.0"
3232
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3333
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
34-
http://maven.apache.org/xsd/maven-4.0.0.xsd">
34+
https://maven.apache.org/xsd/maven-4.0.0.xsd">
3535
<modelVersion>4.0.0</modelVersion>
3636

3737
<groupId>@project.groupId@</groupId>

src/main/java/org/scijava/app/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ default void quit() {
144144
/**
145145
* Gets the version of the application.
146146
* <p>
147-
* SciJava conforms to the <a href="http://semver.org/">Semantic
147+
* SciJava conforms to the <a href="https://semver.org/">Semantic
148148
* Versioning</a> specification.
149149
* </p>
150150
*

src/main/java/org/scijava/io/location/URILocation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private Map<String, String> decodeQuery(final String query) {
112112
* @see URLDecoder
113113
*/
114114
private String decode(final String s) {
115-
// http://stackoverflow.com/a/6926987
115+
// https://stackoverflow.com/a/6926987
116116
try {
117117
return URLDecoder.decode(s.replace("+", "%2B"), "UTF-8");
118118
}

src/main/java/org/scijava/io/nio/NIOService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public interface NIOService extends SciJavaService {
6060
* buffer.
6161
* @param newSize The buffer size.
6262
* @return A newly allocated or mapped NIO byte buffer.
63-
* @see "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092131"
64-
* @see "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6417205"
63+
* @see "https://bugs.java.com/bugdatabase/view_bug.do?bug_id=5092131"
64+
* @see "https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6417205"
6565
* @throws IOException If there is an issue mapping, aligning or allocating
6666
* the buffer.
6767
*/

src/main/java/org/scijava/plugin/Parameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
* </ul>
7272
*/
7373
// NB: We use the fully qualified name to work around a javac bug:
74-
// http://bugs.sun.com/view_bug.do?bug_id=6512707
74+
// https://bugs.java.com/view_bug.do?bug_id=6512707
7575
// See:
7676
// http://groups.google.com/group/project-lombok/browse_thread/thread/c5568eb659cab203
7777
ItemIO type() default org.scijava.ItemIO.INPUT;

src/main/java/org/scijava/plugin/PluginIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public PluginIndex() {
8888
*/
8989
@SuppressWarnings({ "rawtypes", "unchecked" })
9090
public PluginIndex(final PluginFinder pluginFinder) {
91-
// NB: See: http://stackoverflow.com/questions/4765520/
91+
// NB: See: https://stackoverflow.com/questions/4765520/
9292
super((Class) PluginInfo.class);
9393
this.pluginFinder = pluginFinder;
9494
}

src/main/java/org/scijava/script/DefaultScriptInterpreter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* The default implementation of a {@link ScriptInterpreter}.
4747
* <p>
4848
* Credit to Jason Sachs for the multi-line evaluation (see
49-
* <a href="http://stackoverflow.com/a/5598207">his post on StackOverflow</a>).
49+
* <a href="https://stackoverflow.com/a/5598207">his post on StackOverflow</a>).
5050
* </p>
5151
*
5252
* @author Johannes Schindelin
@@ -174,7 +174,7 @@ public Object eval(final String command) throws ScriptException {
174174
* fact that there was a syntax error in the 2nd line.</li>
175175
* </ul>
176176
* <p>
177-
* For further details, see <a href="http://stackoverflow.com/a/5598207">SO
177+
* For further details, see <a href="https://stackoverflow.com/a/5598207">SO
178178
* #5584674</a>.
179179
* </p>
180180
*/

src/main/java/org/scijava/text/DefaultTextService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public final class DefaultTextService extends
5959

6060
@Override
6161
public String open(final File file) throws IOException {
62-
// This routine is from: http://stackoverflow.com/a/326440
62+
// This routine is from: https://stackoverflow.com/a/326440
6363
try (final FileInputStream stream = new FileInputStream(file)) {
6464
final FileChannel fc = stream.getChannel();
6565
final MappedByteBuffer bb =

0 commit comments

Comments
 (0)