From d2a94b6ecdbde3264ecf6633eba31fa550b2cac7 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 24 Sep 2007 19:12:29 +0000
Subject: [PATCH] Cosmetic changes to visitor argument names to align them with naming conventions used elsewhere in the admin framework.
---
opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandlerFactory.java | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandlerFactory.java b/opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandlerFactory.java
index d96eac6..d9b00e1 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandlerFactory.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandlerFactory.java
@@ -62,19 +62,19 @@
/**
* {@inheritDoc}
*/
- public Void visitInstantiable(InstantiableRelationDefinition<?, ?> r,
+ public Void visitInstantiable(InstantiableRelationDefinition<?, ?> rd,
ManagedObjectPath<?, ?> p) {
try {
// Create the sub-commands.
- createHandlers.add(CreateSubCommandHandler.create(parser, p, r));
- deleteHandlers.add(DeleteSubCommandHandler.create(parser, p, r));
- listHandlers.add(ListSubCommandHandler.create(parser, p, r));
- getPropHandlers.add(GetPropSubCommandHandler.create(parser, p, r));
- setPropHandlers.add(SetPropSubCommandHandler.create(parser, p, r));
+ createHandlers.add(CreateSubCommandHandler.create(parser, p, rd));
+ deleteHandlers.add(DeleteSubCommandHandler.create(parser, p, rd));
+ listHandlers.add(ListSubCommandHandler.create(parser, p, rd));
+ getPropHandlers.add(GetPropSubCommandHandler.create(parser, p, rd));
+ setPropHandlers.add(SetPropSubCommandHandler.create(parser, p, rd));
// Process the referenced managed object definition and its
// sub-types.
- processRelation(p, r);
+ processRelation(p, rd);
} catch (ArgumentException e) {
exception = e;
}
@@ -87,19 +87,19 @@
/**
* {@inheritDoc}
*/
- public Void visitOptional(OptionalRelationDefinition<?, ?> r,
+ public Void visitOptional(OptionalRelationDefinition<?, ?> rd,
ManagedObjectPath<?, ?> p) {
try {
// Create the sub-commands.
- createHandlers.add(CreateSubCommandHandler.create(parser, p, r));
- deleteHandlers.add(DeleteSubCommandHandler.create(parser, p, r));
- listHandlers.add(ListSubCommandHandler.create(parser, p, r));
- getPropHandlers.add(GetPropSubCommandHandler.create(parser, p, r));
- setPropHandlers.add(SetPropSubCommandHandler.create(parser, p, r));
+ createHandlers.add(CreateSubCommandHandler.create(parser, p, rd));
+ deleteHandlers.add(DeleteSubCommandHandler.create(parser, p, rd));
+ listHandlers.add(ListSubCommandHandler.create(parser, p, rd));
+ getPropHandlers.add(GetPropSubCommandHandler.create(parser, p, rd));
+ setPropHandlers.add(SetPropSubCommandHandler.create(parser, p, rd));
// Process the referenced managed object definition and its
// sub-types.
- processRelation(p, r);
+ processRelation(p, rd);
} catch (ArgumentException e) {
exception = e;
}
@@ -112,16 +112,16 @@
/**
* {@inheritDoc}
*/
- public Void visitSingleton(SingletonRelationDefinition<?, ?> r,
+ public Void visitSingleton(SingletonRelationDefinition<?, ?> rd,
ManagedObjectPath<?, ?> p) {
try {
// Create the sub-commands.
- getPropHandlers.add(GetPropSubCommandHandler.create(parser, p, r));
- setPropHandlers.add(SetPropSubCommandHandler.create(parser, p, r));
+ getPropHandlers.add(GetPropSubCommandHandler.create(parser, p, rd));
+ setPropHandlers.add(SetPropSubCommandHandler.create(parser, p, rd));
// Process the referenced managed object definition and its
// sub-types.
- processRelation(p, r);
+ processRelation(p, rd);
} catch (ArgumentException e) {
exception = e;
}
--
Gitblit v1.10.0