From d34af5d7896e3662bade41889b39ee9a2bd36088 Mon Sep 17 00:00:00 2001 From: Kanstantsin Shautsou Date: Wed, 19 Nov 2014 01:16:23 +0300 Subject: [PATCH] Small fixes during reading code. --- .../parameterizedtrigger/FileBuildParameters.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java b/src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java index 6c21a98d..2c614809 100644 --- a/src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java +++ b/src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java @@ -81,9 +81,9 @@ public FileBuildParameters(String propertiesFile) { /** * This function returns the Action that should be passed to the triggered build - * to not trigger the build it can throw the DontTriggerException + * to not trigger the build it can throw the {@link DontTriggerException} * - * @returns Action to be passed to the triggered build, can be Null if no parameters. + * @return Action to be passed to the triggered build, can be Null if no parameters. */ public Action getAction(AbstractBuild build, TaskListener listener) throws IOException, InterruptedException, DontTriggerException{ @@ -117,7 +117,7 @@ private List extractAllValues(AbstractBuild build, TaskList if (!f.exists()) { listener.getLogger().println("[parameterizedtrigger] Properties file " + file + " did not exist."); - if(getFailTriggerOnMissing() == true) { + if(getFailTriggerOnMissing()) { listener.getLogger().println("Not triggering due to missing file"); throw new DontTriggerException(); } @@ -214,9 +214,9 @@ public FormValidation doCheckEncoding(@QueryParameter String encoding) { * * Note: Caller should pass it for the model is not bound to * {@link StaplerRequest#findAncestorObject(Class)} - * when called via hetelo-list. + * when called via hetero-list. * - * @param it + * @param it Object to check * @return true if the target model is {@link MatrixProject} */ public boolean isMatrixProject(Object it) {