Skip to content

Commit 175e9a3

Browse files
authored
Version 1.0.2
Merge pull request #3 from Samasaur1/hotfix-1.0.2
2 parents 1f24ab0 + 5edea8a commit 175e9a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group 'com.gauck.sam'
8-
version '1.0.1'
8+
version '1.0.2'
99

1010
sourceCompatibility = 1.8
1111

src/main/java/com/gauck/sam/Utilities/Utilities.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ private Utilities() throws Exception {
2020
* @return A capitalized version of the parameter.
2121
*/
2222
public static String capitalize(String original) {
23+
if (original.isEmpty()) return "";
2324
return original.substring(0, 1).toUpperCase() + original.substring(1).toLowerCase();
2425
}
2526

0 commit comments

Comments
 (0)