mirror of
https://github.com/DanilaFe/abacus
synced 2025-01-09 07:44:14 -08:00
Add a missing comment.
This commit is contained in:
parent
167e13cfe1
commit
0d7a416446
@ -236,6 +236,12 @@ public class Pattern<T> {
|
|||||||
return head;
|
return head;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Removes all characters that are considered "special" from
|
||||||
|
* the given string.
|
||||||
|
* @param from the string to sanitize.
|
||||||
|
* @return the resulting string.
|
||||||
|
*/
|
||||||
public static String sanitize(String from){
|
public static String sanitize(String from){
|
||||||
Pattern<Integer> pattern = new Pattern<>("", 0);
|
Pattern<Integer> pattern = new Pattern<>("", 0);
|
||||||
from = from.replace(".", "\\.");
|
from = from.replace(".", "\\.");
|
||||||
|
Loading…
Reference in New Issue
Block a user