mirror of
https://github.com/revanced/jadb.git
synced 2024-06-02 03:16:08 +02:00
12 lines
245 B
Java
12 lines
245 B
Java
package se.vidstige.jadb.managers;
|
|
|
|
public class Bash {
|
|
private Bash() {
|
|
throw new IllegalStateException("Utility class");
|
|
}
|
|
|
|
public static String quote(String s) {
|
|
return "'" + s.replace("'", "'\\''") + "'";
|
|
}
|
|
}
|