Small changes and warning cleanup

Этот коммит содержится в:
Anton Tananaev
2012-12-25 18:09:26 +13:00
родитель 5b6adad79b
Коммит 9a646bb0f2
5 изменённых файлов: 118 добавлений и 103 удалений
+5 -2
Просмотреть файл
@@ -17,11 +17,12 @@ package org.traccar.client;
import java.util.Formatter;
import java.util.Locale;
import android.location.Location;
/**
* Protocol formatting
*/
* Protocol formatting
*/
public class Protocol {
/**
@@ -38,6 +39,7 @@ public class Protocol {
checksum ^= b;
}
f.format("*%02x\r\n", (int) checksum);
f.close();
return s.toString();
}
@@ -64,6 +66,7 @@ public class Protocol {
checksum ^= b;
}
f.format("*%02x\r\n", (int) checksum);
f.close();
return s.toString();
}