This commit is contained in:
dzj 2024-02-18 20:19:01 +08:00
commit bd92ee954c
4 changed files with 57 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

28
.gitignore vendored Normal file
View File

@ -0,0 +1,28 @@
# Build and Release Folders
target/
# Eclipse
.settings/
*.classpath
*.project
*.factorypath
# IntelliJ IDEA
.idea
*.iml
# vscode
.vscode
# JRebel
rebel.xml
# macOS
.DS_Store
# svn
.svn/
# vue
kernel-standard/
node_modules/

6
pom.xml Normal file
View File

@ -0,0 +1,6 @@
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>net.risesoft.demo</groupId>
<artifactId>demo-merceds</artifactId>
<version>1.0</version>
</project>

View File

@ -0,0 +1,22 @@
package net.risesoft.demo;
public class Car {
private static final String version = "E300L";
public String getVersion() {
return version;
}
public String getName() {
return "mercedes";
}
public Integer limitSpeed() {
return 135;
}
public String hasPerson() {
return "能舒服的坐 4";
}
}