File tree 5 files changed +44
-1
lines changed
src/main/java/com/ibrahimatay
5 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "java.compile.nullAnalysis.mode" : " automatic"
2
+ "java.compile.nullAnalysis.mode" : " automatic" ,
3
+ "java.configuration.updateBuildConfiguration" : " interactive"
3
4
}
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ This repository contains Java examples that are designed to track and document t
7
7
8
8
## Specifications & Practices
9
9
10
+ * [ Java 22] ( java-22 ) (March, 2024)
11
+
10
12
* [ Java 21] ( java-21 ) (September, 2023)
11
13
* [ JEP 430] ( java-21/src/main/java/com/ibrahimatay/JEP430StringTemplates.java ) : String Templates
12
14
* [ JEP 431] ( java-21/src/main/java/com/ibrahimatay/JEP431SequencedCollections.java ) : Sequenced Collections
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <parent >
8
+ <groupId >com.ibrahimatay</groupId >
9
+ <artifactId >Java-Features</artifactId >
10
+ <version >1.0-SNAPSHOT</version >
11
+ </parent >
12
+
13
+ <artifactId >java-22</artifactId >
14
+
15
+ <properties >
16
+ <maven .compiler.source>22</maven .compiler.source>
17
+ <maven .compiler.target>22</maven .compiler.target>
18
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
19
+ </properties >
20
+ <build >
21
+ <plugins >
22
+ <plugin >
23
+ <groupId >org.apache.maven.plugins</groupId >
24
+ <artifactId >maven-compiler-plugin</artifactId >
25
+ <configuration >
26
+ <compilerArgs >--enable-preview</compilerArgs >
27
+ </configuration >
28
+ </plugin >
29
+ </plugins >
30
+ </build >
31
+
32
+ </project >
Original file line number Diff line number Diff line change
1
+ package com .ibrahimatay ;
2
+
3
+ public class Main {
4
+ public static void main (String [] args ) {
5
+ System .out .println ("Hello world!" );
6
+ }
7
+ }
Original file line number Diff line number Diff line change 19
19
<module >java-16</module >
20
20
<module >java-21</module >
21
21
<module >java-17</module >
22
+ <module >java-22</module >
22
23
</modules >
23
24
24
25
<properties >
You can’t perform that action at this time.
0 commit comments