Skip to content

Commit 1942105

Browse files
committed
bumpversion 1.0.0
1 parent 002a6c6 commit 1942105

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>deoldsax</groupId>
44
<artifactId>Ilias</artifactId>
5-
<version>v0.6.0</version>
5+
<version>v1.0.0</version>
66

77
<properties>
88
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/control/VersionValidator.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
package control;
22

3-
import java.awt.Desktop;
4-
import java.io.IOException;
5-
import java.net.URI;
6-
import java.net.URISyntaxException;
3+
import java.awt.*;
4+
import java.io.*;
5+
import java.net.*;
76

8-
import javax.swing.JOptionPane;
7+
import javax.swing.*;
98

10-
import org.apache.http.HttpResponse;
11-
import org.apache.http.client.methods.HttpGet;
12-
import org.apache.http.impl.client.DefaultHttpClient;
13-
import org.apache.http.util.EntityUtils;
14-
import org.apache.log4j.Logger;
15-
import org.jsoup.Jsoup;
16-
import org.jsoup.nodes.Document;
17-
import org.jsoup.nodes.Element;
18-
import org.jsoup.select.Elements;
9+
import org.apache.http.*;
10+
import org.apache.http.client.methods.*;
11+
import org.apache.http.impl.client.*;
12+
import org.apache.http.util.*;
13+
import org.apache.log4j.*;
14+
import org.jsoup.*;
15+
import org.jsoup.nodes.*;
16+
import org.jsoup.select.*;
1917

2018
public class VersionValidator {
2119
private final int YES = 0;
22-
private final String VERSION = "v0.5.0";
20+
private final String VERSION = "v1.0.0";
2321
private String LATEST_VERSION;
2422
private Logger LOGGER = Logger.getLogger(getClass());
2523

2624
public boolean validate() {
2725

2826
DefaultHttpClient client = new DefaultHttpClient();
29-
final HttpGet request = new HttpGet("https://github.com/DeOldSax/iliasDownloaderTool/releases/latest");
27+
final HttpGet request = new HttpGet(
28+
"https://github.com/DeOldSax/iliasDownloaderTool/releases/latest");
3029
HttpResponse response = null;
3130
try {
3231
response = client.execute(request);
@@ -52,7 +51,8 @@ public boolean validate() {
5251
return false;
5352
}
5453

55-
int answer = JOptionPane.showOptionDialog(null, " Version Herunterladen?", "Neue Version Verfügbar!", JOptionPane.YES_NO_OPTION,
54+
int answer = JOptionPane.showOptionDialog(null, " Version Herunterladen?",
55+
"Neue Version Verfügbar!", JOptionPane.YES_NO_OPTION,
5656
JOptionPane.INFORMATION_MESSAGE, null, new Object[] { "Ja", "Später" }, null);
5757
if (answer == YES) {
5858
if (Desktop.isDesktopSupported()) {

0 commit comments

Comments
 (0)