Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 373711f

Browse files
refactor: cleanup maven tutorial project
1 parent c792bd9 commit 373711f

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

‎tutorials/java/maven/pom.xml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<project
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
6+
>
47
<modelVersion>4.0.0</modelVersion>
58

69
<groupId>com.github.CodeIntelligenceTesting.cifuzz</groupId>
@@ -14,16 +17,4 @@
1417
<maven.compiler.source>8</maven.compiler.source>
1518
<maven.compiler.target>8</maven.compiler.target>
1619
</properties>
17-
18-
<dependencies>
19-
</dependencies>
20-
21-
<build>
22-
<plugins>
23-
<plugin>
24-
<artifactId>maven-surefire-plugin</artifactId>
25-
<version>2.22.1</version>
26-
</plugin>
27-
</plugins>
28-
</build>
2920
</project>

‎tutorials/java/maven/src/main/java/com/example/App.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ public static void main(String[] args) {
55
ExploreMe.exploreMe(1, 1, "A");
66
ExploreMe.exploreMe(2147483647, 1, "A");
77
ExploreMe.exploreMe(2147483647, 2147483647, "A");
8-
ExploreMe.exploreMe(2000000000, 2000000123, "A");
98
ExploreMe.exploreMe(2000000000, 2000000123, "FUZZING");
10-
System.out.println("Hello World");
119
}
1210
}

‎tutorials/java/maven/src/main/java/com/example/ExploreMe.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ public static void exploreMe(int a, int b, String c) {
55
if (a >= 20000) {
66
if (b >= 2000000) {
77
if (b - a < 100000) {
8-
// Create reflective call
98
if (c.startsWith("@")) {
109
String className = c.substring(1);
1110
try {

‎tutorials/java/maven/src/test/java/com/example/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /