File tree Expand file tree Collapse file tree 5 files changed +144
-20
lines changed
toolkits/advanced/serialization/json/fastjson/model Expand file tree Collapse file tree 5 files changed +144
-20
lines changed Original file line number Diff line number Diff line change
1
+ # ## Rust template
2
+ # Compiled files
3
+ * .o
4
+ * .so
5
+ * .rlib
6
+ * .dll
7
+
8
+ # Executables
9
+ * .exe
10
+
11
+ # Generated by Cargo
12
+ /target /
13
+ # ## Example user template template
14
+ # ## Example user template
15
+
16
+ # IntelliJ project files
17
+ .idea
18
+ * .iml
19
+ out
20
+ gen ### Java template
21
+ * .class
22
+
23
+ # Mobile Tools for Java (J2ME)
24
+ .mtj.tmp /
25
+
26
+ # Package Files #
27
+ * .jar
28
+ * .war
29
+ * .ear
30
+
31
+ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
32
+ hs_err_pid *
33
+ # ## C template
34
+ # Object files
35
+ * .o
36
+ * .ko
37
+ * .obj
38
+ * .elf
39
+
40
+ # Precompiled Headers
41
+ * .gch
42
+ * .pch
43
+
44
+ # Libraries
45
+ * .lib
46
+ * .a
47
+ * .la
48
+ * .lo
49
+
50
+ # Shared objects (inc. Windows DLLs)
51
+ * .dll
52
+ * .so
53
+ * .so. *
54
+ * .dylib
55
+
56
+ # Executables
57
+ * .exe
58
+ * .out
59
+ * .app
60
+ * .i * 86
61
+ * .x86_64
62
+ * .hex
63
+
64
+ # Debug files
65
+ * .dSYM /
66
+
67
+ # Created by .ignore support plugin (hsz.mobi)
Original file line number Diff line number Diff line change 2
2
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
3
3
<modelVersion >4.0.0</modelVersion >
4
4
<groupId >wx</groupId >
5
- <artifactId >javacs </artifactId >
5
+ <artifactId >toolkits </artifactId >
6
6
<packaging >jar</packaging >
7
- <version >1.0-SNAPSHOT </version >
8
- <name >javacs </name >
7
+ <version >0.0.1 </version >
8
+ <name >WXJavaToolkits </name >
9
9
<url >http://maven.apache.org</url >
10
+
11
+ <!-- 编译控制-->
12
+ <build >
13
+ <!-- 通用插件-->
14
+ <plugins >
15
+ <plugin >
16
+ <groupId >org.apache.maven.plugins</groupId >
17
+ <artifactId >maven-compiler-plugin</artifactId >
18
+ <version >3.0</version >
19
+ <configuration >
20
+ <source >1.8</source >
21
+ <target >1.8</target >
22
+ <testSource >1.8</testSource >
23
+ <testTarget >1.8</testTarget >
24
+ </configuration >
25
+ </plugin >
26
+ </plugins >
27
+
28
+ <!-- 資源-->
29
+ <resources >
30
+ <resource >
31
+ <directory >src/main/resources</directory >
32
+ </resource >
33
+ </resources >
34
+
35
+ </build >
36
+
37
+ <!-- 全局变量定义-->
38
+ <properties >
39
+ <spring .version>4.2.2.RELEASE</spring .version>
40
+ </properties >
41
+
42
+ <repositories >
43
+ <repository >
44
+ <id >jitpack.io</id >
45
+ <url >https://jitpack.io</url >
46
+ </repository >
47
+ </repositories >
48
+
49
+ <!-- 依赖-->
10
50
<dependencies >
11
51
12
52
<!-- TestRelease-->
47
87
<version >2.2.4</version >
48
88
</dependency >
49
89
90
+ <!-- Advanced-->
91
+ <dependency >
92
+ <groupId >com.alibaba</groupId >
93
+ <artifactId >fastjson</artifactId >
94
+ <version >1.2.7</version >
95
+ </dependency >
96
+
97
+
50
98
</dependencies >
51
99
52
- <build >
53
- <plugins >
54
- <plugin >
55
- <groupId >org.apache.maven.plugins</groupId >
56
- <artifactId >maven-compiler-plugin</artifactId >
57
- <version >3.0</version >
58
- <configuration >
59
- <source >1.8</source >
60
- <target >1.8</target >
61
- <testSource >1.8</testSource >
62
- <testTarget >1.8</testTarget >
63
- </configuration >
64
- </plugin >
65
- </plugins >
66
- </build >
100
+
67
101
</project >
Original file line number Diff line number Diff line change 4
4
* Hello world!
5
5
*
6
6
*/
7
- public class App
7
+ public class App
8
8
{
9
+ private String appName = "appName" ;
10
+
11
+ public void set (){
12
+ InnerClass innerClass = new InnerClass ();
13
+ innerClass .print ();
14
+ }
15
+
16
+ public class InnerClass {
17
+
18
+ public void print (){
19
+ System .out .print (appName );
20
+ }
21
+ }
22
+
9
23
public static void main ( String [] args )
10
24
{
11
- System .out .println ( "Hello World!" );
25
+
26
+ App app = new App ();
27
+ app .set ();
28
+
12
29
}
13
30
}
You can’t perform that action at this time.
0 commit comments