Skip to content

Commit b8501d9

Browse files
java doc
replaced an unwanted character
1 parent 9d9a32c commit b8501d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/openmainframeproject/cobolcheck/services/StringHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static String changeFileExtension(String path, String extension){
9090

9191
/**
9292
* Trims only the end of the string.
93-
* Ex.: " Hey \n" => " Hey"
93+
* Ex.: " Hey \n" ~ " Hey"
9494
*
9595
* @param line - original string
9696
* @return - string trimmed at the end.
@@ -123,7 +123,7 @@ public static boolean occursFirst (String text, char expectedFirst, char expecte
123123

124124
/**
125125
* Swaps two characters in a given string.
126-
* Example: swapChars("1.000.000,00", '.', ',') => "1,000,000.00"
126+
* Example: swapChars("1.000.000,00", '.', ',') ~ "1,000,000.00"
127127
* @param c1 - One of the chars to swap
128128
* @param c2 - One of the chars to swap
129129
* @return - The given string with the given char values swapped

0 commit comments

Comments
 (0)