diff options
author | Samuel Tan <samueltan@google.com> | 2016-02-16 15:17:10 -0800 |
---|---|---|
committer | Samuel Tan <samueltan@google.com> | 2016-02-16 15:21:34 -0800 |
commit | f9d16ef1065bc2bb6162d3e4cdd40f47f9961edf (patch) | |
tree | 842738a20cf892950e6fbe9bbcf06908a46ba7d4 /libutils | |
parent | 361b14777616a2d667d55eddeabfca24d816df0b (diff) | |
download | system_core-f9d16ef1065bc2bb6162d3e4cdd40f47f9961edf.tar.gz system_core-f9d16ef1065bc2bb6162d3e4cdd40f47f9961edf.tar.bz2 system_core-f9d16ef1065bc2bb6162d3e4cdd40f47f9961edf.zip |
libutils: remove whitespaces in String16.cpp and String16.h
Remove trailing whitespaces in both these files.
BUG: None
Change-Id: I18eca5162871b5b2bf7757a7ef36a4e80073798c
Diffstat (limited to 'libutils')
-rw-r--r-- | libutils/String16.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libutils/String16.cpp b/libutils/String16.cpp index 6a5273ff2..449fb205c 100644 --- a/libutils/String16.cpp +++ b/libutils/String16.cpp @@ -77,7 +77,7 @@ static char16_t* allocFromUTF8(const char* u8str, size_t u8len) //printf("Created UTF-16 string from UTF-8 \"%s\":", in); //printHexData(1, str, buf->size(), 16, 1); //printf("\n"); - + return u16str; } @@ -127,7 +127,7 @@ String16::String16(const char16_t* o) mString = str; return; } - + mString = getEmptyString(); } @@ -142,7 +142,7 @@ String16::String16(const char16_t* o, size_t len) mString = str; return; } - + mString = getEmptyString(); } @@ -228,7 +228,7 @@ status_t String16::append(const String16& other) } else if (otherLen == 0) { return NO_ERROR; } - + SharedBuffer* buf = SharedBuffer::bufferFromData(mString) ->editResize((myLen+otherLen+1)*sizeof(char16_t)); if (buf) { @@ -249,7 +249,7 @@ status_t String16::append(const char16_t* chrs, size_t otherLen) } else if (otherLen == 0) { return NO_ERROR; } - + SharedBuffer* buf = SharedBuffer::bufferFromData(mString) ->editResize((myLen+otherLen+1)*sizeof(char16_t)); if (buf) { |