This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: jni.cc formatting fixlet


Just a minor formatting fix.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.

Index: jni.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni.cc,v
retrieving revision 1.86
diff -u -r1.86 jni.cc
--- jni.cc 12 Aug 2004 06:53:40 -0000 1.86
+++ jni.cc 28 Sep 2004 21:54:32 -0000
@@ -1883,8 +1883,7 @@
 	  if (! strcmp (self->name->chars (), methods[j].name)
 	      && ! strcmp (self->signature->chars (), methods[j].signature))
 	    {
-	      if (! (self->accflags
-		     & java::lang::reflect::Modifier::NATIVE))
+	      if (! (self->accflags & java::lang::reflect::Modifier::NATIVE))
 		break;
 
 	      // Found a match that is native.
@@ -1900,7 +1899,7 @@
 	  jstring m = JvNewStringUTF (methods[j].name);
 	  try
 	    {
-	      env->ex =new java::lang::NoSuchMethodError (m);
+	      env->ex = new java::lang::NoSuchMethodError (m);
 	    }
 	  catch (jthrowable t)
 	    {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]