Remove trailing whitespace.
Change-Id: I95534bb2b88eaf48f2329282041118cd034c812b
diff --git a/vm/oo/Array.c b/vm/oo/Array.c
index 84e74aa..94911b5 100644
--- a/vm/oo/Array.c
+++ b/vm/oo/Array.c
@@ -222,7 +222,7 @@
* The dimension we're creating is in dimensions[0], so when we recurse
* we advance the pointer.
*/
-ArrayObject* dvmAllocMultiArray(ClassObject* arrayClass, int curDim,
+ArrayObject* dvmAllocMultiArray(ClassObject* arrayClass, int curDim,
const int* dimensions)
{
ArrayObject* newArray;
diff --git a/vm/oo/Class.h b/vm/oo/Class.h
index d81aaea..7457a60 100644
--- a/vm/oo/Class.h
+++ b/vm/oo/Class.h
@@ -71,7 +71,7 @@
/*
* Find the class with the given descriptor. Load it if it hasn't already
* been.
- *
+ *
* "loader" is the initiating class loader.
*/
ClassObject* dvmFindClass(const char* descriptor, Object* loader);
@@ -213,7 +213,7 @@
const Method* method2)
{
return dexProtoCompare(&method1->prototype, &method2->prototype);
-}
+}
/*
* Compare the two method prototypes, considering only the parameters
@@ -224,7 +224,7 @@
const Method* method2)
{
return dexProtoCompareParameters(&method1->prototype, &method2->prototype);
-}
+}
/*
* Compare the two method names and prototypes, a la strcmp(). The
diff --git a/vm/oo/Object.c b/vm/oo/Object.c
index 0d2da1f..3fa86e3 100644
--- a/vm/oo/Object.c
+++ b/vm/oo/Object.c
@@ -216,7 +216,7 @@
}
proto = &method->prototype;
-
+
if (strcmp(returnType, dexProtoGetReturnType(proto)) != 0) {
return 1;
}
@@ -256,7 +256,7 @@
* and also find a pointer to the return type.
*/
static inline size_t countArgsAndFindReturnType(const char* descriptor,
- const char** pReturnType)
+ const char** pReturnType)
{
size_t count = 0;
bool bogus = false;
@@ -264,7 +264,7 @@
assert(*descriptor == '(');
descriptor++;
-
+
while (!done) {
switch (*descriptor) {
case 'B': case 'C': case 'D': case 'F':
@@ -297,7 +297,7 @@
break;
}
case ')': {
- /*
+ /*
* Note: The loop will exit after incrementing descriptor
* one more time, so it then points at the return type.
*/
@@ -336,7 +336,7 @@
/* Skip the '('. */
descriptor++;
-
+
for (i = 0; i < argCount; i++) {
argTypes[i] = buffer;
@@ -353,9 +353,9 @@
*(buffer++) = c;
} while (c != ';');
}
-
+
*(buffer++) = '\0';
- }
+ }
}
/*
@@ -395,7 +395,7 @@
methods = clazz->directMethods;
methodCount = clazz->directMethodCount;
}
-
+
for (i = 0; i < methodCount; i++) {
Method* method = &methods[i];
if (compareMethodHelper(method, name, returnType, argCount,
@@ -424,7 +424,7 @@
*/
static Method* findMethodInListByProto(const ClassObject* clazz,
MethodType wantedType, bool isHier, const char* name, const DexProto* proto)
-{
+{
while (clazz != NULL) {
int i;
diff --git a/vm/oo/Object.h b/vm/oo/Object.h
index 07daa89..4afc82c 100644
--- a/vm/oo/Object.h
+++ b/vm/oo/Object.h
@@ -892,8 +892,8 @@
INLINE bool dvmIsAbstractClass(const ClassObject* clazz) {
return (clazz->accessFlags & ACC_ABSTRACT) != 0;
}
-INLINE bool dvmIsAnnotationClass(const ClassObject* clazz) {
- return (clazz->accessFlags & ACC_ANNOTATION) != 0;
+INLINE bool dvmIsAnnotationClass(const ClassObject* clazz) {
+ return (clazz->accessFlags & ACC_ANNOTATION) != 0;
}
INLINE bool dvmIsPrimitiveClass(const ClassObject* clazz) {
return clazz->primitiveType != PRIM_NOT;