diff scripts/java/javaclasspath.m @ 15750:05c781cca57e

use numel instead of length in newly imported java functions
author John W. Eaton <jwe@octave.org>
date Fri, 07 Dec 2012 18:03:01 -0500
parents 54e8c2527a9e
children 0f1a143e5002
line wrap: on
line diff
--- a/scripts/java/javaclasspath.m
+++ b/scripts/java/javaclasspath.m
@@ -104,7 +104,7 @@
 
 function disp_path_list ( which, path_list )
   printf ("   %s JAVA PATH\n\n", which);
-  if (length (path_list) > 0)
+  if (numel (path_list) > 0)
     printf ("      %s\n", path_list{:});
   else
     printf ("      - empty -\n");