-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use a basic if statement instead of preconditions
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...Base/src/main/java/com/hubspot/singularity/runner/base/config/MissingConfigException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,7 @@ | |||
package com.hubspot.singularity.runner.base.config; | package com.hubspot.singularity.runner.base.config; | ||
|
|
||
public class MissingConfigException extends IllegalStateException { | public class MissingConfigException extends IllegalStateException { | ||
public MissingConfigException(Exception e) { | public MissingConfigException(String message) { | ||
super(e); | super(message); | ||
} | } | ||
} | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters