From 0aa50ce2fb75bfc2e815a0c33adf9b049561923b Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 10 Mar 2015 11:03:29 +0000 Subject: Remove ThrowLocation. Note that this is a cleanup change, and has no functionality change. The ThrowLocation had no use anymore. Change-Id: I3d2126af1dc673cec3a0453ff3d56a172663a5f6 --- runtime/native/java_lang_String.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/native/java_lang_String.cc') diff --git a/runtime/native/java_lang_String.cc b/runtime/native/java_lang_String.cc index 4ea2546e30..6afe83bbb0 100644 --- a/runtime/native/java_lang_String.cc +++ b/runtime/native/java_lang_String.cc @@ -29,7 +29,7 @@ namespace art { static jint String_compareTo(JNIEnv* env, jobject javaThis, jobject javaRhs) { ScopedFastNativeObjectAccess soa(env); if (UNLIKELY(javaRhs == NULL)) { - ThrowNullPointerException(NULL, "rhs == null"); + ThrowNullPointerException("rhs == null"); return -1; } else { return soa.Decode(javaThis)->CompareTo(soa.Decode(javaRhs)); -- cgit v1.2.3-59-g8ed1b