Skip to content

Commit 1512041

Browse files
authored
style: use https where possible
1 parent 3a109d2 commit 1512041

File tree

16 files changed

+36
-36
lines changed

16 files changed

+36
-36
lines changed

Dangerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is written on Ruby language.
2-
# Here is a quick Ruby overview: http://danger.systems/guides/a_quick_ruby_overview.html
3-
# See also Danger specific methods: http://danger.systems/reference.html
2+
# Here is a quick Ruby overview: https://danger.systems/guides/a_quick_ruby_overview.html
3+
# See also Danger specific methods: https://danger.systems/reference.html
44

55
# We we'll use nokogiri for parsing XML
66
# Here is a good introduction: https://blog.engineyard.com/2010/getting-started-with-nokogiri

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# My Stamps
22

33
[![Build Status](https://travis-ci.org/php-coder/mystamps.svg?branch=master)](https://travis-ci.org/php-coder/mystamps)
4-
[![PDD Status](http://www.0pdd.com/svg?name=php-coder/mystamps)](http://www.0pdd.com/p?name=php-coder/mystamps)
4+
[![PDD Status](https://www.0pdd.com/svg?name=php-coder/mystamps)](https://www.0pdd.com/p?name=php-coder/mystamps)
55
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ru.mystamps%3Amystamps&metric=alert_status)](https://sonarcloud.io/dashboard?id=ru.mystamps%3Amystamps)
66
[![Uptime Statistic](https://badgen.net/uptime-robot/month/ur243278-551fbb732949dbdee27c7552)](https://stats.uptimerobot.com/1jXAjFpgP)
77

infra/vagrant/provisioning/roles/mystamps-backup/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
admin_email: coder
33
user_db_password: p@ssword
44
# Target urls should be in a format that is supported by duplicity(1):
5-
# http://www.nongnu.org/duplicity/duplicity.1.html#sect7
5+
# https://www.nongnu.org/duplicity/vers8/duplicity.1.html#sect7
66
uploads_target_url: file:///tmp/uploads
77
mysql_backups_target_url: file:///tmp/mysql-backups
88
# Passphrase for GPG to encrypt archives

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1082,9 +1082,9 @@
10821082
<testCasesDirectory>${basedir}/src/test/robotframework</testCasesDirectory>
10831083
<xunitFile>NONE</xunitFile>
10841084
<randomize>suite</randomize>
1085-
<!-- See http://robotframework.org/robotframework/3.1.2/RobotFrameworkUserGuide.html#controlling-console-output -->
1085+
<!-- See https://robotframework.org/robotframework/3.1.2/RobotFrameworkUserGuide.html#controlling-console-output -->
10861086
<console>dotted</console>
1087-
<!-- See http://robotframework.org/robotframework/3.1.2/RobotFrameworkUserGuide.html#removing-keywords -->
1087+
<!-- See https://robotframework.org/robotframework/3.1.2/RobotFrameworkUserGuide.html#removing-keywords -->
10881088
<removeKeywords>PASSED</removeKeywords>
10891089
<!-- Handy for debugging. Log file will be created in target/ directory -->
10901090
<!--
@@ -1207,7 +1207,7 @@
12071207
<licenses>
12081208
<license>
12091209
<name>GNU GPL v2</name>
1210-
<url>http://www.gnu.org/licenses/gpl-2.0.html</url>
1210+
<url>https://www.gnu.org/licenses/old-licenses/gpl-2.0.html</url>
12111211
<distribution>repo</distribution>
12121212
</license>
12131213
</licenses>

src/main/config/checkstyle.xml

+17-17
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- some best practices
2121
2222
Checkstyle is very configurable. Be sure to read the documentation at
23-
http://checkstyle.sourceforge.net (or in your downloaded distribution).
23+
https://checkstyle.sourceforge.io (or in your downloaded distribution).
2424
2525
Most Checks are configurable, be sure to consult the documentation.
2626
@@ -34,17 +34,17 @@
3434
<!--
3535
If you set the basedir property below, then all reported file
3636
names will be relative to the specified directory. See
37-
http://checkstyle.sourceforge.net/config.html#Checker
37+
https://checkstyle.sourceforge.io/config.html#Checker
3838
3939
<property name="basedir" value="${basedir}"/>
4040
-->
4141

4242
<!-- Checks that each Java package has a Javadoc file used for commenting. -->
43-
<!-- See http://checkstyle.sourceforge.net/config_javadoc.html#JavadocPackage -->
43+
<!-- See https://checkstyle.sourceforge.io/config_javadoc.html#JavadocPackage -->
4444
<module name="JavadocPackage" />
4545

4646
<!-- Checks whether files end with a new line. -->
47-
<!-- See http://checkstyle.sourceforge.net/config_misc.html#NewlineAtEndOfFile -->
47+
<!-- See https://checkstyle.sourceforge.io/config_misc.html#NewlineAtEndOfFile -->
4848
<module name="NewlineAtEndOfFile">
4949
<property name="severity" value="warning"/>
5050
<!--
@@ -55,7 +55,7 @@
5555
</module>
5656

5757
<!-- Checks that property files contain the same keys. -->
58-
<!-- See http://checkstyle.sourceforge.net/config_misc.html#Translation -->
58+
<!-- See https://checkstyle.sourceforge.io/config_misc.html#Translation -->
5959
<module name="Translation"/>
6060

6161
<module name="FileLength"/>
@@ -98,7 +98,7 @@
9898
<module name="SuppressWarningsHolder"/>
9999

100100
<!-- Checks for Javadoc comments. -->
101-
<!-- See http://checkstyle.sourceforge.net/config_javadoc.html -->
101+
<!-- See https://checkstyle.sourceforge.io/config_javadoc.html -->
102102
<!--
103103
<module name="JavadocMethod"/>
104104
<module name="JavadocType"/>
@@ -108,7 +108,7 @@
108108

109109

110110
<!-- Checks for Naming Conventions. -->
111-
<!-- See http://checkstyle.sourceforge.net/config_naming.html -->
111+
<!-- See https://checkstyle.sourceforge.io/config_naming.html -->
112112
<module name="AbstractClassName"/>
113113
<module name="ConstantName"/>
114114
<module name="LocalFinalVariableName"/>
@@ -122,22 +122,22 @@
122122

123123

124124
<!-- Checks for Headers -->
125-
<!-- See http://checkstyle.sourceforge.net/config_header.html -->
125+
<!-- See https://checkstyle.sourceforge.io/config_header.html -->
126126
<!-- <module name="Header"> -->
127127
<!-- The follow property value demonstrates the ability -->
128128
<!-- to have access to ANT properties. In this case it uses -->
129129
<!-- the ${basedir} property to allow Checkstyle to be run -->
130130
<!-- from any directory within a project. See property -->
131131
<!-- expansion, -->
132-
<!-- http://checkstyle.sourceforge.net/config.html#Properties -->
132+
<!-- https://checkstyle.sourceforge.io/config.html#Properties -->
133133
<!-- <property -->
134134
<!-- name="headerFile" -->
135135
<!-- value="${basedir}/java.header"/> -->
136136
<!-- </module> -->
137137

138138

139139
<!-- Checks for imports -->
140-
<!-- See http://checkstyle.sourceforge.net/config_imports.html -->
140+
<!-- See https://checkstyle.sourceforge.io/config_imports.html -->
141141
<module name="AvoidStarImport"/>
142142
<module name="IllegalImport"> <!-- defaults to sun.* packages -->
143143
<property name="illegalPkgs" value="org.apache.log4j, org.apache.commons.lang"/>
@@ -153,7 +153,7 @@
153153

154154

155155
<!-- Checks for Size Violations. -->
156-
<!-- See http://checkstyle.sourceforge.net/config_sizes.html -->
156+
<!-- See https://checkstyle.sourceforge.io/config_sizes.html -->
157157
<module name="LineLength">
158158
<property name="severity" value="warning"/>
159159
<property name="max" value="100"/>
@@ -164,7 +164,7 @@
164164

165165

166166
<!-- Checks for whitespace -->
167-
<!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
167+
<!-- See https://checkstyle.sourceforge.io/config_whitespace.html -->
168168
<module name="EmptyForIteratorPad"/>
169169
<module name="MethodParamPad"/>
170170
<module name="NoWhitespaceAfter">
@@ -186,13 +186,13 @@
186186

187187

188188
<!-- Modifier Checks -->
189-
<!-- See http://checkstyle.sourceforge.net/config_modifier.html -->
189+
<!-- See https://checkstyle.sourceforge.io/config_modifier.html -->
190190
<module name="ModifierOrder"/>
191191
<module name="RedundantModifier"/>
192192

193193

194194
<!-- Checks for blocks. You know, those {}'s -->
195-
<!-- See http://checkstyle.sourceforge.net/config_blocks.html -->
195+
<!-- See https://checkstyle.sourceforge.io/config_blocks.html -->
196196
<module name="AvoidNestedBlocks"/>
197197
<module name="EmptyBlock"/>
198198
<module name="LeftCurly"/>
@@ -201,7 +201,7 @@
201201

202202

203203
<!-- Checks for common coding problems -->
204-
<!-- See http://checkstyle.sourceforge.net/config_coding.html -->
204+
<!-- See https://checkstyle.sourceforge.io/config_coding.html -->
205205
<!--
206206
<module name="AvoidInlineConditionals"/>
207207
-->
@@ -233,7 +233,7 @@
233233
-->
234234

235235
<!-- Checks for class design -->
236-
<!-- See http://checkstyle.sourceforge.net/config_design.html -->
236+
<!-- See https://checkstyle.sourceforge.io/config_design.html -->
237237
<!--
238238
<module name="DesignForExtension"/>
239239
-->
@@ -246,7 +246,7 @@
246246

247247

248248
<!-- Miscellaneous other checks. -->
249-
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
249+
<!-- See https://checkstyle.sourceforge.io/config_misc.html -->
250250
<module name="ArrayTypeStyle"/>
251251
<!--
252252
<module name="FinalParameters">

src/main/config/pmd.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@
110110
<rule ref="category/java/codestyle.xml/ShortMethodName" />
111111
<!--
112112
See also:
113-
- http://sourceforge.net/p/pmd/bugs/951/
114-
- http://sourceforge.net/p/pmd/feature-requests/546/
113+
- https://sourceforge.net/p/pmd/bugs/951/
114+
- https://sourceforge.net/p/pmd/bugs/1361/
115115
-->
116116
<!--<rule ref="category/java/codestyle.xml/ShortVariable" />-->
117117
<rule ref="category/java/codestyle.xml/SuspiciousConstantFieldName" />

src/main/java/ru/mystamps/web/common/JdbcUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public final class JdbcUtils {
2727
private JdbcUtils() {
2828
}
2929

30-
// @see http://stackoverflow.com/q/2920364/checking-for-a-null-int-value-from-a-java-resultset
30+
// @see https://stackoverflow.com/q/2920364/checking-for-a-null-int-value-from-a-java-resultset
3131
@SuppressWarnings("PMD.PrematureDeclaration")
3232
public static Integer getInteger(ResultSet resultSet, String fieldName) throws SQLException {
3333
int value = resultSet.getInt(fieldName);

src/main/java/ru/mystamps/web/feature/account/AccountValidation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public final class AccountValidation {
3535

3636
static final int PASSWORD_MIN_LENGTH = 4;
3737
// We limit max length because bcrypt has a maximum password length.
38-
// See also: http://www.mscharhag.com/software-development/bcrypt-maximum-password-length
38+
// See also: https://www.mscharhag.com/software-development/bcrypt-maximum-password-length
3939
static final int PASSWORD_MAX_LENGTH = 72;
4040

4141
static final int EMAIL_MAX_LENGTH = UsersActivation.EMAIL_LENGTH;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Implementations of the custom <a href="http://beanvalidation.org/1.0/spec/"
2+
* Implementations of the custom <a href="https://beanvalidation.org/1.0/spec/"
33
* target="_blank">JSR-303</a> compatible validators.
44
*/
55
package ru.mystamps.web.support.beanvalidation;

src/main/java/ru/mystamps/web/support/togglz/TogglzConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public FeatureManager getFeatureManager() {
6161
*
6262
* Access it via http://127.0.0.1:8080/togglz after authentication as "admin" user.
6363
*
64-
* @see http://www.togglz.org/documentation/admin-console.html
64+
* @see https://www.togglz.org/documentation/admin-console.html
6565
*/
6666
@Bean
6767
public ServletRegistrationBean getTogglzConsole() {

src/main/resources/liquibase/version/0.4.3/2020-03-07--site_parser_params_value_length.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<!--
1515
modifyDataType loses NOT NULL property on MySQL:
16-
http://forum.liquibase.org/topic/warning-of-losing-primary-key-autoincrement-for-mysql
16+
https://forum.liquibase.org/topic/warning-of-losing-primary-key-autoincrement-for-mysql
1717
In order to fix that, we patch the SQL query to specify NOT NULL again.
1818
-->
1919
<modifySql dbms="mysql">

src/main/resources/liquibase/version/0.4.3/2020-03-12--michel_catalog_code_length.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<!--
1515
modifyDataType loses NOT NULL property on MySQL:
16-
http://forum.liquibase.org/topic/warning-of-losing-primary-key-autoincrement-for-mysql
16+
https://forum.liquibase.org/topic/warning-of-losing-primary-key-autoincrement-for-mysql
1717
In order to fix that, we patch the SQL query to specify NOT NULL again.
1818
-->
1919
<modifySql dbms="mysql">

src/main/resources/liquibase/version/0.4/2015-07-07--salt_and_hash.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<!--
1919
We can't use modifyDataType because it looses not null setting:
20-
http://forum.liquibase.org/topic/warning-of-losing-primary-key-autoincrement-for-mysql
20+
https://forum.liquibase.org/topic/warning-of-losing-primary-key-autoincrement-for-mysql
2121
-->
2222
<sql>
2323
ALTER TABLE users

src/main/resources/liquibase/version/0.4/2016-01-02--non_unique_catalog_numbers.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
66
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd">
77

8-
<!-- Workaround for http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/ -->
8+
<!-- Workaround for https://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/ -->
99
<changeSet id="temporary-drop-catalog-numbers-foreign-keys" author="php-coder" context="scheme">
1010

1111
<dropForeignKeyConstraint

src/main/scripts/ci/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cleanup() {
2222
trap 'cleanup' EXIT SIGHUP SIGINT SIGTERM
2323

2424
# Disable host key checking to suppress interactive prompt.
25-
# See: http://docs.ansible.com/ansible/intro_getting_started.html#host-key-checking
25+
# See: https://docs.ansible.com/ansible/2.9/user_guide/connection_details.html#host-key-checking
2626
export ANSIBLE_HOST_KEY_CHECKING=False
2727

2828
if [ -z "${encrypted_bf07cb25089f_key:-}" ] || [ -z "${encrypted_bf07cb25089f_iv:-}" ] ; then

src/main/webapp/WEB-INF/static/styles/main.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ label {
9191
margin-bottom: 10px;
9292
}
9393

94-
/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
94+
/* https://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
9595
.vcenter {
9696
display: inline-block;
9797
vertical-align: middle;

0 commit comments

Comments
 (0)