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 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+ <parent >
7+ <groupId >com.ibrahimatay</groupId >
8+ <artifactId >Java-Features</artifactId >
9+ <version >1.0-SNAPSHOT</version >
10+ </parent >
11+
12+ <artifactId >java-14</artifactId >
13+
14+ <properties >
15+ <maven .compiler.source>14</maven .compiler.source>
16+ <maven .compiler.target>14</maven .compiler.target>
17+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18+ </properties >
19+ <build >
20+ <plugins >
21+ <plugin >
22+ <groupId >org.apache.maven.plugins</groupId >
23+ <artifactId >maven-compiler-plugin</artifactId >
24+ <configuration >
25+ <compilerArgs >--enable-preview</compilerArgs >
26+ </configuration >
27+ </plugin >
28+ </plugins >
29+ </build >
30+
31+ </project >
Original file line number Diff line number Diff line change 1+ package com .ibrahimatay ;
2+
3+ //TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
4+ // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
5+ public class Main {
6+ public static void main (String [] args ) {
7+ //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
8+ // to see how IntelliJ IDEA suggests fixing it.
9+ System .out .printf ("Hello and welcome!" );
10+
11+ for (int i = 1 ; i <= 5 ; i ++) {
12+ //TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
13+ // for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
14+ System .out .println ("i = " + i );
15+ }
16+ }
17+ }
Original file line number Diff line number Diff line change 2222 <module >java-22</module >
2323 <module >java-12</module >
2424 <module >java-23</module >
25+ <module >java-14</module >
2526 </modules >
2627
2728 <properties >
You can’t perform that action at this time.
0 commit comments