Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed some obsolete methods, fixed an issue with the log level not … #47

Merged
merged 1 commit into from
Sep 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/codedead/opal/OpalApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public static void main(final String[] args) {
final Level level = switch (prop.getProperty("loglevel", "ERROR")) {
case "OFF" -> Level.OFF;
case "FATAL" -> Level.FATAL;
case "ERROR" -> Level.ERROR;
case "WARN" -> Level.WARN;
case "DEBUG" -> Level.DEBUG;
case "TRACE" -> Level.TRACE;
case "INFO" -> Level.INFO;
case "ALL" -> Level.ALL;
default -> Level.ERROR;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,6 @@ public void run() {
}
}

/**
* Get the {@link UpdateController} object
*
* @return The {@link UpdateController} object
*/
public UpdateController getUpdateController() {
return updateController;
}

/**
* Method that is invoked to initialize the FXML object
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,6 @@ public void setUpdateUrl(final String updateUrl) {
this.updateUrl = updateUrl;
}

/**
* Get the current version
*
* @return The current version
*/
public String getCurrentVersion() {
return currentVersion;
}

/**
* Set the current version
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

public final class InvalidHttpResponseCodeException extends Exception {

/**
* Initialize a new InvalidHttpResponseCodeException
*/
public InvalidHttpResponseCodeException() {
super();
}

/**
* Initialize a new InvalidHttpResponseCodeException
*
Expand Down