Permalink
Browse files

Boolean -> boolean

  • Loading branch information...
1 parent a20ebd6 commit 7d9c107f2a60b1dcc5e4372f0f9117e653af19d8 @garthy committed Mar 9, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/org/metawatch/manager/Protocol.java
@@ -151,7 +151,7 @@ public static synchronized void stopProtocolSender() {
}
}
- public static Boolean sendLcdBitmap(Bitmap bitmap, int bufferType) {
+ public static boolean sendLcdBitmap(Bitmap bitmap, int bufferType) {
if (bitmap==null)
return false;
@@ -162,7 +162,7 @@ public static Boolean sendLcdBitmap(Bitmap bitmap, int bufferType) {
return sendLcdArray(pixelArray, bufferType);
}
- static Boolean sendLcdArray(int[] pixelArray, int bufferType) {
+ static boolean sendLcdArray(int[] pixelArray, int bufferType) {
byte send[] = new byte[1152];
for (int i = 0; i < 1152; i++) {
@@ -186,7 +186,7 @@ static Boolean sendLcdArray(int[] pixelArray, int bufferType) {
return sendLcdBuffer(send, bufferType);
}
- static Boolean sendLcdBuffer(byte[] buffer, int bufferType) {
+ static boolean sendLcdBuffer(byte[] buffer, int bufferType) {
if (MetaWatchService.connectionState != MetaWatchService.ConnectionState.CONNECTED)
return false;
@@ -703,7 +703,7 @@ public static void setNvalTime(boolean militaryTime) {
enqueue(bytes);
}
- public static void ledChange(Boolean ledOn) {
+ public static void ledChange(boolean ledOn) {
if (Preferences.logging) Log.d(MetaWatch.TAG, "Protocol.ledChange()");
byte[] bytes = new byte[4];

0 comments on commit 7d9c107

Please sign in to comment.