Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Commit e0a806c

Browse files
Лабараторная работа №1
1 parent 66fe665 commit e0a806c

File tree

77 files changed

+516
-426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+516
-426
lines changed

.github/workflows/checkstyle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: reviewdog
2-
on: [pull_request]
2+
on: [ pull_request ]
33
jobs:
44
checkstyle:
55
name: runner / checkstyle

.github/workflows/codeql-analysis.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ jobs:
2626
language: [ java ]
2727

2828
steps:
29-
- name: Checkout repository
30-
uses: actions/checkout@v3
29+
- name: Checkout repository
30+
uses: actions/checkout@v3
3131

32-
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v2
34-
with:
35-
languages: ${{ matrix.language }}
32+
- name: Initialize CodeQL
33+
uses: github/codeql-action/init@v2
34+
with:
35+
languages: ${{ matrix.language }}
3636

37-
- name: Autobuild
38-
uses: github/codeql-action/autobuild@v2
37+
- name: Autobuild
38+
uses: github/codeql-action/autobuild@v2
3939

40-
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@v2
42-
with:
43-
category: "/language:${{matrix.language}}"
40+
- name: Perform CodeQL Analysis
41+
uses: github/codeql-action/analyze@v2
42+
with:
43+
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Source repository: https://github.com/actions/dependency-review-action
66
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
77
name: 'Dependency Review'
8-
on: [pull_request]
8+
on: [ pull_request ]
99

1010
permissions:
1111
contents: read

.github/workflows/maven.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Set up JDK 11
17-
uses: actions/setup-java@v3
18-
with:
19-
java-version: '11'
20-
distribution: 'temurin'
21-
cache: maven
22-
- name: Build with Maven
23-
run: mvn clean package
15+
- uses: actions/checkout@v3
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: '11'
20+
distribution: 'temurin'
21+
cache: maven
22+
- name: Build with Maven
23+
run: mvn clean package

checkstyle.xml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
44
"https://checkstyle.org/dtds/configuration_1_3.dtd">
55

6-
<module name = "Checker">
6+
<module name="Checker">
77
<property name="charset" value="UTF-8"/>
88

99
<property name="severity" value="error"/>
@@ -17,7 +17,7 @@
1717
<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
1818
<module name="SuppressionFilter">
1919
<property name="file" value="${org.checkstyle.google.suppressionfilter.config}"
20-
default="checkstyle-suppressions.xml" />
20+
default="checkstyle-suppressions.xml"/>
2121
<property name="optional" value="true"/>
2222
</module>
2323

@@ -217,12 +217,12 @@
217217
</module>
218218
<module name="OverloadMethodsDeclarationOrder"/>
219219
<module name="VariableDeclarationUsageDistance"/>
220-
<!-- <module name="CustomImportOrder">-->
221-
<!-- <property name="sortImportsInGroupAlphabetically" value="false"/>-->
222-
<!-- <property name="separateLineBetweenGroups" value="false"/>-->
223-
<!-- <property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>-->
224-
<!-- <property name="tokens" value="IMPORT, STATIC_IMPORT, PACKAGE_DEF"/>-->
225-
<!-- </module>-->
220+
<!-- <module name="CustomImportOrder">-->
221+
<!-- <property name="sortImportsInGroupAlphabetically" value="false"/>-->
222+
<!-- <property name="separateLineBetweenGroups" value="false"/>-->
223+
<!-- <property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>-->
224+
<!-- <property name="tokens" value="IMPORT, STATIC_IMPORT, PACKAGE_DEF"/>-->
225+
<!-- </module>-->
226226
<module name="MethodParamPad">
227227
<property name="tokens"
228228
value="CTOR_DEF, LITERAL_NEW, METHOD_CALL, METHOD_DEF,
@@ -257,37 +257,37 @@
257257
<property name="allowSamelineMultipleAnnotations" value="true"/>
258258
</module>
259259
<module name="NonEmptyAtclauseDescription"/>
260-
<!-- <module name="InvalidJavadocPosition"/>-->
261-
<!-- <module name="JavadocTagContinuationIndentation"/>-->
262-
<!-- <module name="SummaryJavadoc">-->
263-
<!-- <property name="forbiddenSummaryFragments"-->
264-
<!-- value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>-->
265-
<!-- </module>-->
266-
<!-- <module name="JavadocParagraph"/>-->
260+
<!-- <module name="InvalidJavadocPosition"/>-->
261+
<!-- <module name="JavadocTagContinuationIndentation"/>-->
262+
<!-- <module name="SummaryJavadoc">-->
263+
<!-- <property name="forbiddenSummaryFragments"-->
264+
<!-- value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>-->
265+
<!-- </module>-->
266+
<!-- <module name="JavadocParagraph"/>-->
267267
<module name="AtclauseOrder">
268268
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
269269
<property name="target"
270270
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
271271
</module>
272-
<!-- <module name="JavadocMethod">-->
273-
<!-- <property name="allowMissingParamTags" value="true"/>-->
274-
<!-- <property name="allowMissingReturnTag" value="true"/>-->
275-
<!-- <property name="allowedAnnotations" value="Override, Test"/>-->
276-
<!-- <property name="tokens" value="METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF"/>-->
277-
<!-- </module>-->
278-
<!-- <module name="MissingJavadocMethod">-->
279-
<!-- <property name="minLineCount" value="2"/>-->
280-
<!-- <property name="allowedAnnotations" value="Override, Test"/>-->
281-
<!-- <property name="tokens" value="METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF"/>-->
282-
<!-- </module>-->
272+
<!-- <module name="JavadocMethod">-->
273+
<!-- <property name="allowMissingParamTags" value="true"/>-->
274+
<!-- <property name="allowMissingReturnTag" value="true"/>-->
275+
<!-- <property name="allowedAnnotations" value="Override, Test"/>-->
276+
<!-- <property name="tokens" value="METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF"/>-->
277+
<!-- </module>-->
278+
<!-- <module name="MissingJavadocMethod">-->
279+
<!-- <property name="minLineCount" value="2"/>-->
280+
<!-- <property name="allowedAnnotations" value="Override, Test"/>-->
281+
<!-- <property name="tokens" value="METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF"/>-->
282+
<!-- </module>-->
283283
<module name="MethodName">
284284
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
285285
<message key="name.invalidPattern"
286286
value="Method name ''{0}'' must match pattern ''{1}''."/>
287287
</module>
288-
<!-- <module name="SingleLineJavadoc">-->
289-
<!-- <property name="ignoreInlineTags" value="false"/>-->
290-
<!-- </module>-->
288+
<!-- <module name="SingleLineJavadoc">-->
289+
<!-- <property name="ignoreInlineTags" value="false"/>-->
290+
<!-- </module>-->
291291
<module name="EmptyCatchBlock">
292292
<property name="exceptionVariableName" value="expected"/>
293293
</module>
@@ -297,7 +297,7 @@
297297
<!-- https://checkstyle.org/config_filters.html#SuppressionXpathFilter -->
298298
<module name="SuppressionXpathFilter">
299299
<property name="file" value="${org.checkstyle.google.suppressionxpathfilter.config}"
300-
default="checkstyle-xpath-suppressions.xml" />
300+
default="checkstyle-xpath-suppressions.xml"/>
301301
<property name="optional" value="true"/>
302302
</module>
303303

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>ru.mirea.practice</groupId>

students/0000001/0000001-p01/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<parent>

students/0000001/0000001-p02/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<parent>

students/0000001/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<parent>

students/23K0120/23K0120-p01/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<parent>

0 commit comments

Comments
 (0)