fix bridge util todos
[nikiroo-utils.git] / src / be / nikiroo / utils / serial / SerialUtils.java
index 43aafb2f47d3ecf3edff03f5b4b2347618019b85..c4b7cf9db8539c569d172fd9104a639b10b37823 100644 (file)
@@ -670,7 +670,6 @@ public class SerialUtils {
        static void encodeString(OutputStream out, String raw) throws IOException {
                // TODO: not. efficient.
                out.write('\"');
-               // TODO !! utf-8 required
                for (char car : raw.toCharArray()) {
                        encodeString(out, car);
                }
@@ -691,7 +690,7 @@ public class SerialUtils {
                out.write('\"');
        }
 
-       // for encode string, NOT to encode a char by itself!
+       // for encoding string, NOT to encode a char by itself!
        static void encodeString(OutputStream out, char raw) throws IOException {
                switch (raw) {
                case '\\':