test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/hs103t002.cpp
changeset 52284 1f402d1f630f
parent 52184 672bc2213cef
child 52495 52be2c714a2f
--- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/hs103t002.cpp	Thu Oct 25 12:09:41 2018 +0100
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/hs103t002.cpp	Thu Oct 25 08:18:42 2018 -0700
@@ -73,7 +73,7 @@
   nsk_jvmti_getFileName(redefineNumber, FILE_NAME, fileName, sizeof(fileName)/sizeof(char));
   for(i = 0; i < 30; i++) {
     nsk_printf(" Inside the redefine method..\n");
-    if ( nsk_jvmti_redefineClass(jvmti, cla,fileName) == NSK_TRUE) {
+    if (nsk_jvmti_redefineClass(jvmti, cla,fileName) == NSK_TRUE) {
       nsk_printf("\nMyClass :: Successfully redefined..\n");
     } else {
       nsk_printf("\nMyClass :: Failed to redefine ..\n");
@@ -112,12 +112,12 @@
   nsk_printf("Agent:: VM.. Started..\n");
 
   rc = vm->GetEnv((void **)&jvmti, JVMTI_VERSION_1_1);
-  if (rc != JNI_OK ) {
+  if (rc != JNI_OK) {
     nsk_printf("Agent:: Could not load JVMTI interface \n");
     return JNI_ERR;
   } else {
     jvmtiCapabilities caps;
-    if (nsk_jvmti_parseOptions(options) == NSK_FALSE ) {
+    if (nsk_jvmti_parseOptions(options) == NSK_FALSE) {
       nsk_printf("# error agent Failed to parse options \n");
       return JNI_ERR;
     }
@@ -154,7 +154,7 @@
   if (err == JVMTI_ERROR_INVALID_PRIORITY) {
     nsk_printf(" JVMTI_ERROR_INVALID_PRIORITY ..\n");
     return JNI_ERR;
-  } else if ( err == JVMTI_ERROR_INVALID_THREAD) {
+  } else if (err == JVMTI_ERROR_INVALID_THREAD) {
     nsk_printf(" JVMTI_ERROR_INVALID_THREAD ..\n");
     return JNI_ERR;
   } else if (err == JVMTI_ERROR_NULL_POINTER) {