File tree Expand file tree Collapse file tree
src/main/java/com/ibrahimatay Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "java.compile.nullAnalysis.mode" : " automatic"
2+ "java.compile.nullAnalysis.mode" : " automatic" ,
3+ "java.configuration.updateBuildConfiguration" : " interactive"
34}
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
77
88## Specifications & Practices
99
10+ * [ Java 22] ( java-22 ) (March, 2024)
11+
1012* [ Java 21] ( java-21 ) (September, 2023)
1113 * [ JEP 430] ( java-21/src/main/java/com/ibrahimatay/JEP430StringTemplates.java ) : String Templates
1214 * [ 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 1919 <module >java-16</module >
2020 <module >java-21</module >
2121 <module >java-17</module >
22+ <module >java-22</module >
2223 </modules >
2324
2425 <properties >
You can’t perform that action at this time.
0 commit comments