Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 612493 Details for
Bug 856833
[as7] CLI invocation for a DomainDeployment Proxy deployToServerGroup fails
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch
0001-Bug-856833-use-getName-instead-of-deriving-propertyD.patch (text/plain), 1.96 KB, created by
Libor Zoubek
on 2012-09-13 15:32:28 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Libor Zoubek
Created:
2012-09-13 15:32:28 UTC
Size:
1.96 KB
patch
obsolete
>From e477150f56d315d5488104b8e94e53ef9a094274 Mon Sep 17 00:00:00 2001 >From: Libor Zoubek <lzoubek@jezzovo.net> >Date: Thu, 13 Sep 2012 16:24:50 +0200 >Subject: [PATCH] Bug 856833 - use getName() instead of deriving > propertyDefinition name from getDisplayName() > >--- > .../java/org/rhq/bindings/util/ConfigurationClassBuilder.java | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) > >diff --git a/modules/enterprise/binding/src/main/java/org/rhq/bindings/util/ConfigurationClassBuilder.java b/modules/enterprise/binding/src/main/java/org/rhq/bindings/util/ConfigurationClassBuilder.java >index 29bd4a6..00eb831 100644 >--- a/modules/enterprise/binding/src/main/java/org/rhq/bindings/util/ConfigurationClassBuilder.java >+++ b/modules/enterprise/binding/src/main/java/org/rhq/bindings/util/ConfigurationClassBuilder.java >@@ -45,7 +45,7 @@ public class ConfigurationClassBuilder { > for (PropertyDefinition pd : def.getPropertyDefinitions().values()) { > if (pd instanceof PropertyDefinitionSimple) { > PropertyDefinitionSimple simple = (PropertyDefinitionSimple) pd; >- String name = simpleName(simple.getDisplayName()); >+ String name = simple.getName(); > CtClass paramType = getSimpleTypeClass(simple); > result.put(name, paramType); > } >@@ -95,14 +95,6 @@ public class ConfigurationClassBuilder { > } > } > >- private static String simpleName(String name) { >- return decapitalize(name.replaceAll("\\W", "")); >- } >- >- private static String decapitalize(String name) { >- return Character.toLowerCase(name.charAt(0)) + name.substring(1, name.length()); >- } >- > public static Configuration translateParametersToConfig(ConfigurationDefinition parametersConfigurationDefinition, > Object[] args) throws NotFoundException { > LinkedHashMap<String, CtClass> translateParameters = translateParameters(parametersConfigurationDefinition); >-- >1.7.12 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 856833
: 612493