Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-peter committed Aug 18, 2021
1 parent df5b050 commit 9f7f2f5
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,14 @@ private static HashMap<String, EvcsLocationType> initMap() {
return map;
}

/**
* This is a static utility class. Do not instantiate!
*/
/** This is a static utility class. Do not instantiate! */
private EvcsLocationTypeUtils() {
throw new IllegalStateException("This is a factory class. Don't try to instantiate it.");
}

/**
* Parsing a location type string into one {@link EvcsLocationType}.
* Matching the string is case-insensitive and all - and _ are removed.
* Throws exception, if type does not exist.
* Parsing a location type string into one {@link EvcsLocationType}. Matching the string is
* case-insensitive and all - and _ are removed. Throws exception, if type does not exist.
*
* @param parsableString string to parse
* @return corresponding EvcsLocationType
Expand All @@ -46,6 +43,7 @@ public static EvcsLocationType parse(String parsableString) throws ParsingExcept

/**
* Turns string to lower case and removes underscores and minuses.
*
* @param name name to turn into key
* @return key
*/
Expand Down

0 comments on commit 9f7f2f5

Please sign in to comment.