diff options
Diffstat (limited to 'org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/opt/ObjectIdHandler.java')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/opt/ObjectIdHandler.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/opt/ObjectIdHandler.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/opt/ObjectIdHandler.java index 74bab2d2ed..0e5b0f5b16 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/opt/ObjectIdHandler.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/opt/ObjectIdHandler.java @@ -56,7 +56,8 @@ import org.kohsuke.args4j.spi.Parameters; import org.kohsuke.args4j.spi.Setter; /** - * Custom argument handler {@link ObjectId} from string values. + * Custom argument handler {@link org.eclipse.jgit.lib.ObjectId} from string + * values. * <p> * Assumes the parser has been initialized with a Repository. */ @@ -69,8 +70,11 @@ public class ObjectIdHandler extends OptionHandler<ObjectId> { * This constructor is used only by args4j. * * @param parser + * a {@link org.kohsuke.args4j.CmdLineParser} object. * @param option + * a {@link org.kohsuke.args4j.OptionDef} object. * @param setter + * a {@link org.kohsuke.args4j.spi.Setter} object. */ public ObjectIdHandler(final CmdLineParser parser, final OptionDef option, final Setter<? super ObjectId> setter) { @@ -78,6 +82,7 @@ public class ObjectIdHandler extends OptionHandler<ObjectId> { clp = (org.eclipse.jgit.pgm.opt.CmdLineParser) parser; } + /** {@inheritDoc} */ @Override public int parseArguments(final Parameters params) throws CmdLineException { final String name = params.getParameter(0); @@ -96,6 +101,7 @@ public class ObjectIdHandler extends OptionHandler<ObjectId> { CLIText.format(CLIText.get().notAnObject), name); } + /** {@inheritDoc} */ @Override public String getDefaultMetaVariable() { return CLIText.get().metaVar_object; |