Mercurial > octave-nkf
diff scripts/deprecated/javamethods.m @ 19628:fe689210525c gui-release
maint: Periodic merge of stable to gui-release.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:05:42 -0500 |
parents | e124ae274013 446c46af4b42 |
children |
line wrap: on
line diff
--- a/scripts/deprecated/javamethods.m Mon Jan 19 07:04:12 2015 +0100 +++ b/scripts/deprecated/javamethods.m Tue Jan 20 10:05:42 2015 -0500 @@ -20,7 +20,7 @@ ## @deftypefn {Function File} {} javamethods (@var{javaobj}) ## @deftypefnx {Function File} {} javamethods ("@var{classname}") ## @deftypefnx {Function File} {@var{mtd_names} =} javamethods (@dots{}) -## Return the methods of a Java object or Java class in the form of a cell +## Return the methods of a Java object or Java class in the form of a cell ## array of strings. If no output is requested, print the result to the ## standard output. ## @seealso{methods, fieldnames, javaMethod, javaObject} @@ -34,7 +34,7 @@ warning ("Octave:deprecated-function", "javamethods is obsolete and will be removed from a future version of Octave, please use methods instead"); endif - + if (nargin != 1) print_usage (); endif