revert to java 8

This commit is contained in:
sirjonasxx 2020-04-28 23:54:27 +02:00
parent 338a20688d
commit bb1bd567b3
4 changed files with 19 additions and 20 deletions

View File

@ -11,7 +11,7 @@
<version>1.0</version>
<properties>
<javafx.version>11</javafx.version>
<javafx.version>1.8</javafx.version>
</properties>
<parent>
@ -124,21 +124,21 @@
</build>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-web</artifactId>
<version>${javafx.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.openjfx</groupId>-->
<!-- <artifactId>javafx-fxml</artifactId>-->
<!-- <version>${javafx.version}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.openjfx</groupId>-->
<!-- <artifactId>javafx-graphics</artifactId>-->
<!-- <version>${javafx.version}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.openjfx</groupId>-->
<!-- <artifactId>javafx-web</artifactId>-->
<!-- <version>${javafx.version}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>

View File

@ -20,7 +20,7 @@ public class ExtensionHandler {
private final List<GEarthExtension> gEarthExtensions = new ArrayList<>();
private final HConnection hConnection;
private List<ExtensionProducer> extensionProducers;
private Observable<ExtensionConnectedListener> observable = new Observable<>() {
private Observable<ExtensionConnectedListener> observable = new Observable<ExtensionConnectedListener>() {
@Override
public void addListener(ExtensionConnectedListener extensionConnectedListener) {
super.addListener(extensionConnectedListener);

View File

@ -69,7 +69,6 @@ public class UiLoggerController implements Initializable {
appendLater.clear();
}
}
}
private static String cleanTextContent(String text) {

View File

@ -29,8 +29,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>11</source>
<target>11</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>