Changed 'depreciated' to the more correct 'deprecated'

This commit is contained in:
Geraldine Van der Auwera 2013-08-16 13:06:41 -04:00
parent 1a5e4cc4e7
commit 3841635fcb
2 changed files with 4 additions and 4 deletions

View File

@ -197,7 +197,7 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
if (argumentSource.isRequired()) return "required"; if (argumentSource.isRequired()) return "required";
else if (argumentSource.isAdvanced()) return "advanced"; else if (argumentSource.isAdvanced()) return "advanced";
else if (argumentSource.isHidden()) return "hidden"; else if (argumentSource.isHidden()) return "hidden";
else if (argumentSource.isDeprecated()) return "depreciated"; else if (argumentSource.isDeprecated()) return "deprecated";
else return "optional"; else return "optional";
} }
@ -242,7 +242,7 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
args.put("optional", new ArrayList<Map<String, Object>>()); args.put("optional", new ArrayList<Map<String, Object>>());
args.put("advanced", new ArrayList<Map<String, Object>>()); args.put("advanced", new ArrayList<Map<String, Object>>());
args.put("hidden", new ArrayList<Map<String, Object>>()); args.put("hidden", new ArrayList<Map<String, Object>>());
args.put("depreciated", new ArrayList<Map<String, Object>>()); args.put("deprecated", new ArrayList<Map<String, Object>>());
return args; return args;
} }
@ -843,7 +843,7 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
// general attributes // general attributes
List<String> attributes = new ArrayList<String>(); List<String> attributes = new ArrayList<String>();
if (def.required) attributes.add("required"); if (def.required) attributes.add("required");
if (source.isDeprecated()) attributes.add("depreciated"); if (source.isDeprecated()) attributes.add("deprecated");
if (attributes.size() > 0) if (attributes.size() > 0)
root.put("attributes", Utils.join(", ", attributes)); root.put("attributes", Utils.join(", ", attributes));

View File

@ -239,7 +239,7 @@
<@argumentlist name="Optional" myargs=arguments.optional/> <@argumentlist name="Optional" myargs=arguments.optional/>
<@argumentlist name="Advanced" myargs=arguments.advanced/> <@argumentlist name="Advanced" myargs=arguments.advanced/>
<@argumentlist name="Hidden" myargs=arguments.hidden/> <@argumentlist name="Hidden" myargs=arguments.hidden/>
<@argumentlist name="Depreciated" myargs=arguments.depreciated/> <@argumentlist name="Deprecated" myargs=arguments.deprecated/>
</tbody> </tbody>
</table> </table>
</#if> </#if>