diff libinterp/octave-value/ov-java.cc @ 20955:77f5591878bf

maint: Use '! expr' rather than '!expr' to conform to coding guidelines. * dialog.h, documentation-dock-widget.cc, files-dock-widget.cc, find-files-dialog.cc, file-editor-tab.cc, file-editor.cc, find-dialog.cc, octave-qscintilla.cc, main-window.cc, parser.cc, resource-manager.cc, workspace-view.cc, data.cc, dlmread.cc, gl-render.cc, gl2ps-renderer.cc, graphics.cc, graphics.in.h, ls-hdf5.cc, ls-mat5.cc, ls-oct-binary.cc, lsode.cc, mappers.cc, pt-jit.cc, regexp.cc, spparms.cc, symtab.h, utils.cc, zfstream.cc, __eigs__.cc, __glpk__.cc, __init_fltk__.cc, ccolamd.cc, colamd.cc, ov-base-diag.cc, ov-base-int.cc, ov-base-sparse.cc, ov-bool-mat.cc, ov-bool-sparse.cc, ov-bool.cc, ov-class.cc, ov-cx-sparse.cc, ov-fcn-handle.cc, ov-fcn-inline.cc, ov-java.cc, ov-perm.cc, ov-re-sparse.cc, ov-str-mat.cc, ov-struct.cc, ov.cc, pt-mat.cc, Array.cc, Array.h, CMatrix.cc, CSparse.cc, MatrixType.cc, PermMatrix.cc, Sparse.h, dMatrix.cc, dSparse.cc, fCMatrix.cc, fMatrix.cc, idx-vector.cc, CollocWt.h, SparseCmplxLU.cc, SparseCmplxQR.cc, SparseQR.cc, SparsedbleLU.cc, base-qr.cc, eigs-base.cc, oct-fftw.cc, randmtzig.c, sparse-dmsolve.cc, kpse.cc, lo-regexp.cc, oct-locbuf.h, url-transfer.cc, url-transfer.h, bitset.m, interp2.m, __isequal__.m, inpolygon.m, questdlg.m, help.m, compare_versions.m, substruct.m, configure_make.m, whitebg.m, __marching_cube__.m, struct2hdl.m, polyfit.m, spline.m, unique.m, svds.m, ellipke.m, binoinv.m, hygepdf.m, nbininv.m, poissinv.m, tcdf.m, unidcdf.m, unidpdf.m, dec2base.m, assert.m, weekday.m, mkoctfile.in.cc: maint: Use '! expr' rather than '!expr' to conform to coding guidelines.
author Rik <rik@octave.org>
date Sun, 20 Dec 2015 10:15:02 -0800
parents 6eff66fb8a02
children 9db35d2042be
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.cc	Sun Dec 20 08:19:58 2015 -0800
+++ b/libinterp/octave-value/ov-java.cc	Sun Dec 20 10:15:02 2015 -0800
@@ -508,11 +508,11 @@
 
   jsize nVMs = 0;
 
-# if !defined (__APPLE__) && !defined (__MACH__)
+# if ! defined (__APPLE__) && ! defined (__MACH__)
 
   octave_shlib lib (jvm_lib_path);
 
-  if (!lib)
+  if (! lib)
     throw std::string ("unable to load Java Runtime Environment from ")
           + jvm_lib_path;
 
@@ -530,10 +530,10 @@
   JNI_GetCreatedJavaVMs_t get_vm =
     reinterpret_cast<JNI_GetCreatedJavaVMs_t> (lib.search ("JNI_GetCreatedJavaVMs"));
 
-  if (!create_vm)
+  if (! create_vm)
     throw std::string ("unable to find JNI_CreateJavaVM in ") + jvm_lib_path;
 
-  if (!get_vm)
+  if (! get_vm)
     throw std::string ("unable to find JNI_GetCreatedJavaVMs in ")
           + jvm_lib_path;
 
@@ -590,7 +590,7 @@
       vm_args.read_java_opts (initial_java_dir () + file_ops::dir_sep_str () +
                               "java.opts");
 
-# if !defined (__APPLE__) && !defined (__MACH__)
+# if ! defined (__APPLE__) && ! defined (__MACH__)
 
       if (create_vm (&jvm, &current_env, vm_args.to_args ()) != JNI_OK)
         throw std::string ("unable to start Java VM in ")+jvm_lib_path;
@@ -1356,7 +1356,7 @@
       jcls = 0;
       //jcls = jni_env->FindClass ("java/lang/Object");
     }
-  else if (!Vjava_matrix_autoconversion
+  else if (! Vjava_matrix_autoconversion
            && ((val.is_real_matrix ()
                 && (val.rows () == 1 || val.columns () == 1))
                || val.is_range ()))