buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
try {
attribute.validateOperation(operation);
InputStream is = getContentInputStream(context, operation);
try {
byte[] hash = contentRepository.addContent... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
try {
attribute.validateOperation(operation);
InputStream is = getContentInputStream(context, operation);
try {
byte[] hash = contentRepository.addContent... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final Resource resource = context.createResource(PathAddress.EMPTY_ADDRESS);
ModelNode newModel = resource.getModel();
if (!operation.hasDefined(PERSISTENT.getName())) {
operatio... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final Resource resource = context.createResource(PathAddress.EMPTY_ADDRESS);
ModelNode newModel = resource.getModel();
if (!operation.hasDefined(PERSISTENT.getName())) {
operatio... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
ModelNode model = context.readModelForUpdate(PathAddress.EMPTY_ADDRESS);
model.get(ENABLED.getName()).set(true);
final ModelNode opAddr = operation.get(OP_ADDR);
PathAddress address ... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
ModelNode model = context.readModelForUpdate(PathAddress.EMPTY_ADDRESS);
model.get(ENABLED.getName()).set(true);
final ModelNode opAddr = operation.get(OP_ADDR);
PathAddress address ... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
for (AttributeDefinition def : DeploymentAttributes.REPLACE_DEPLOYMENT_ATTRIBUTES.values()) {
def.validateOperation(operation);
}
String name = DeploymentAttributes.REPLACE_DEPLOY... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
for (AttributeDefinition def : DeploymentAttributes.REPLACE_DEPLOYMENT_ATTRIBUTES.values()) {
def.validateOperation(operation);
}
String name = DeploymentAttributes.REPLACE_DEPLOY... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final ModelNode model = context.readResource(PathAddress.EMPTY_ADDRESS).getModel();
if (model.hasDefined(INTERFACE.getName())
&& (model.hasDefined(Http... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final ModelNode model = context.readResource(PathAddress.EMPTY_ADDRESS).getModel();
if (model.hasDefined(INTERFACE.getName())
&& (model.hasDefined(Http... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
context.getResult().set(launchType.toString());
context.completeStep();
}
| public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
context.getResult().set(launchType.toString());
context.stepCompleted();
}
|
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final ModelNode model = context.readResource(PathAddress.EMPTY_ADDRESS).getModel();
if (model.hasDefined(NativeManagementResourceDefinition.INTERFACE.getName())
... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final ModelNode model = context.readResource(PathAddress.EMPTY_ADDRESS).getModel();
if (model.hasDefined(NativeManagementResourceDefinition.INTERFACE.getName())
... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
context.getResult().set("Server");
context.completeStep();
}
| public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
context.getResult().set("Server");
context.stepCompleted();
}
|
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
context.getResult().set(runningModeControl.getRunningMode().name());
context.completeStep(OperationContext.RollbackHandler.NOOP_ROLLBACK_HANDLER);
}
| public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
context.getResult().set(runningModeControl.getRunningMode().name());
context.stepCompleted();
}
|
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
Set<ResourceEntry> children = root.getChildren(SOCKET_BINDING_GROUP);
if (children.size() > 1) {
for (ResourceEntry entry : children) {
... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
Set<ResourceEntry> children = root.getChildren(SOCKET_BINDING_GROUP);
if (children.size() > 1) {
for (ResourceEntry entry : children) {
... |
public void testContent() throws OperationFailedException {
final DeploymentAddHandler handler = DeploymentAddHandler.create(contentRepository, null);
final OperationContext context = Mockito.mock(OperationContext.class);
Mockito.when(context.getResult()).thenReturn(new ModelNode());
... | public void testContent() throws OperationFailedException {
final DeploymentAddHandler handler = DeploymentAddHandler.create(contentRepository, null);
final OperationContext context = Mockito.mock(OperationContext.class);
Mockito.when(context.getResult()).thenReturn(new ModelNode());
... |
public void execute(final OperationContext context, final ModelNode operation) throws OperationFailedException {
final Resource resource = context.readResourceForUpdate(PathAddress.EMPTY_ADDRESS);
final ModelNode model = resource.getModel();
model.get("test-at... | public void execute(final OperationContext context, final ModelNode operation) throws OperationFailedException {
final Resource resource = context.readResourceForUpdate(PathAddress.EMPTY_ADDRESS);
final ModelNode model = resource.getModel();
model.get("test-at... |
protected ConvexHullGenerator2D createConvexHullGenerator() {
return new GrahamScan2D();
}
| protected ConvexHullGenerator2D createConvexHullGenerator() {
return new GrahamScan();
}
|
public Class<?> getBeanClass() {
return beanClass;
}
| public Class<?> getBeanClass() {
return this.beanClass;
}
|
public Annotation[] getAnnotations() {
return TypeDescriptor.nullSafeAnnotations(field.getAnnotations());
}
| public Annotation[] getAnnotations() {
return TypeDescriptor.nullSafeAnnotations(this.field.getAnnotations());
}
|
public static String constructUrl(final HttpServerExchange exchange, final String path) {
final HeaderMap headers = exchange.getRequestHeaders();
String host = headers.getFirst(HOST);
String protocol = exchange.getConnection().getSslSession() != null ? "https" : "http";
return proto... | public static String constructUrl(final HttpServerExchange exchange, final String path) {
final HeaderMap headers = exchange.getRequestHeaders();
String host = headers.getFirst(HOST);
String protocol = exchange.getConnection().getSslSessionInfo() != null ? "https" : "http";
return p... |
private char[] getValue(String vaultString) throws SecurityVaultException {
String[] tokens = tokens(vaultString);
return vault.retrieve(tokens[1], tokens[2], tokens[3].getBytes());
}
| private char[] getValue(String vaultString) throws SecurityVaultException {
String[] tokens = tokens(vaultString);
return vault.retrieve(tokens[1], tokens[2], tokens[3].getBytes(VaultSession.CHARSET));
}
|
public void testObjectReject() throws Exception {
final ModelNode object = new ModelNode();
object.get("0").set("zero");
object.get("1").set("one");
object.get("2").set("two");
object.get("3").set("two");
resourceModel.get("reject").set(object.clone());
final... | public void testObjectReject() throws Exception {
final ModelNode object = new ModelNode();
object.get("0").set("zero");
object.get("1").set("one");
object.get("2").set("two");
object.get("3").set("two");
resourceModel.get("reject").set(object.clone());
final... |
private OpenMBeanAttributeInfo[] getAttributes() {
List<OpenMBeanAttributeInfo> infos = new LinkedList<>();
if (providedDescription.hasDefined(ATTRIBUTES)) {
for (final String name : providedDescription.require(ATTRIBUTES).keys()) {
OpenMBeanAttributeInfo attributeInfo = ... | private OpenMBeanAttributeInfo[] getAttributes() {
List<OpenMBeanAttributeInfo> infos = new LinkedList<OpenMBeanAttributeInfo>();
if (providedDescription.hasDefined(ATTRIBUTES)) {
for (final String name : providedDescription.require(ATTRIBUTES).keys()) {
OpenMBeanAttribut... |
public boolean canReadEntryData(ArchiveEntry ae) {
if (ae instanceof ZipArchiveEntry) {
ZipArchiveEntry ze = (ZipArchiveEntry) ae;
return ZipUtil.canHandleEntryData(ze)
&& ze.getMethod() == ZipMethod.UNSHRINKING.getCode()
&& supportsDataDescriptorFor(z... | public boolean canReadEntryData(ArchiveEntry ae) {
if (ae instanceof ZipArchiveEntry) {
ZipArchiveEntry ze = (ZipArchiveEntry) ae;
return ZipUtil.canHandleEntryData(ze)
&& ze.getMethod() != ZipMethod.UNSHRINKING.getCode()
&& supportsDataDescriptorFor(z... |
public static WebArchive createDeployment() {
final WebArchive war = ShrinkWrap.create(WebArchive.class, "ws-endpoint-example.war");
war.addPackage(SimpleWebserviceEndpointImpl.class.getPackage());
war.addClass(SimpleWebserviceEndpointImpl.class);
war.addAsWebInfResource(WebXml.get("... | public static WebArchive createDeployment() {
final WebArchive war = ShrinkWrap.create(WebArchive.class, "ws-endpoint-example.war");
war.addPackage(SimpleWebserviceEndpointImpl.class.getPackage());
war.addClass(SimpleWebserviceEndpointImpl.class);
war.addAsWebInfResource(WebXml.get("... |
public static JavaArchive createDeployment() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, "stateless-ws-endpoint-example.jar");
jar.addPackage(SimpleStatelessWebserviceEndpointImpl.class.getPackage());
jar.addClass(SimpleStatelessWebserviceEndpointIface.class);
jar.... | public static JavaArchive createDeployment() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, "stateless-ws-endpoint-example.jar");
jar.addPackage(SimpleStatelessWebserviceEndpointImpl.class.getPackage());
jar.addClass(SimpleStatelessWebserviceEndpointIface.class);
jar.... |
public void testMDBLifecycle() throws Exception {
deployer.deploy("mdb");
SecurityClient client = this.login();
ITestResultsSingleton results = this.getResultsSingleton();
MessageProducer producer = null;
MessageConsumer consumer = null;
QueueConnection conn = null;
... | public void testMDBLifecycle() throws Exception {
deployer.deploy("mdb");
SecurityClient client = this.login();
ITestResultsSingleton results = this.getResultsSingleton();
MessageProducer producer = null;
MessageConsumer consumer = null;
QueueConnection conn = null;
... |
public Map<String, String> unwrap(final OperationContext context, final ModelNode model) throws OperationFailedException {
if (!model.hasDefined(getName())) {
return null;
}
ModelNode modelProps = model.get(getName());
Map<String, String> props = new HashMap<String, Strin... | public Map<String, String> unwrap(final OperationContext context, final ModelNode model) throws OperationFailedException {
if (!model.hasDefined(getName())) {
return new HashMap<String, String>();
}
ModelNode modelProps = model.get(getName());
Map<String, String> props = ... |
public void registerChildren(ManagementResourceRegistration resourceRegistration) {
super.registerChildren(resourceRegistration);
resourceRegistration.registerSubModel(new MappingModuleDefinition(Constants.PROVIDER));
}
| public void registerChildren(ManagementResourceRegistration resourceRegistration) {
super.registerChildren(resourceRegistration);
resourceRegistration.registerSubModel(new MappingProviderModuleDefinition(Constants.PROVIDER_MODULE));
}
|
public static WebArchive deployment() throws Exception {
WebArchive war = ShrinkWrap.create(WebArchive.class, "web-secure.war");
war.addClasses(SecuredServlet.class);
war.addAsWebResource(WebSecurityFORMTestCase.class.getPackage(), "login.jsp", "login.jsp");
war.addAsWebResource(We... | public static WebArchive deployment() throws Exception {
WebArchive war = ShrinkWrap.create(WebArchive.class, "web-secure.war");
war.addClasses(SecuredServlet.class);
war.addAsWebResource(WebSecurityFORMTestCase.class.getPackage(), "login.jsp", "login.jsp");
war.addAsWebResource(We... |
public void configure(final DeploymentPhaseContext context, final ComponentDescription description, final ComponentConfiguration configuration) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = context.getDeploymentUnit();
final DeploymentReflectionIndex deploymentRefl... | public void configure(final DeploymentPhaseContext context, final ComponentDescription description, final ComponentConfiguration configuration) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = context.getDeploymentUnit();
final DeploymentReflectionIndex deploymentRefl... |
public static NimbusClient getConfiguredClient(Map conf) {
try {
String nimbusHost = (String) conf.get(Config.NIMBUS_HOST);
int nimbusPort = Utils.getInt(conf.get(Config.NIMBUS_THRIFT_PORT));
Integer timeout = new Integer(Utils.getInt(conf.get(Config.NIMBUS_TASK_TIMEOUT_S... | public static NimbusClient getConfiguredClient(Map conf) {
try {
String nimbusHost = (String) conf.get(Config.NIMBUS_HOST);
int nimbusPort = Utils.getInt(conf.get(Config.NIMBUS_THRIFT_PORT));
Integer timeout = Utils.getInt(conf.get(Config.NIMBUS_TASK_TIMEOUT_SECS));
... |
private static final int MANAGEMENT_API_MICRO_VERSION = 0;
static ResourceDescriptionResolver getResourceDescriptionResolver(final String... keyPrefix) {
StringBuilder prefix = new StringBuilder(JdkORBExtension.SUBSYSTEM_NAME);
for (String kp : keyPrefix) {
prefix.append(kp);
... | private static final int MANAGEMENT_API_MICRO_VERSION = 0;
static ResourceDescriptionResolver getResourceDescriptionResolver(final String... keyPrefix) {
StringBuilder prefix = new StringBuilder(JdkORBExtension.SUBSYSTEM_NAME);
for (String kp : keyPrefix) {
prefix.append(".").append... |
public void finish() throws IOException {
ensureOpen();
if (finished) {
throw new IOException("This archive has already been finished");
}
if (this.entry != null) {
throw new IOException("This archives contains unclosed entries.");
}
t... | public void finish() throws IOException {
ensureOpen();
if (finished) {
throw new IOException("This archive has already been finished");
}
if (this.entry != null) {
throw new IOException("This archive contains unclosed entries.");
}
th... |
interface Constants {
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it a... | interface Constants {
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it a... |
public void parseMissing() throws Exception {
thrown.expect(IllegalArgumentException.class);
thrown.expectMessage("Unable to find test group 'missing' when parsing " +
"testGroups value: 'performance, missing'. Available groups include: " +
"[LONG_RUNNING,PERFORMANCE,JMXMP,CI]");
TestGroup.parse("perform... | public void parseMissing() throws Exception {
thrown.expect(IllegalArgumentException.class);
thrown.expectMessage("Unable to find test group 'missing' when parsing " +
"testGroups value: 'performance, missing'. Available groups include: " +
"[LONG_RUNNING,PERFORMANCE,JMXMP,CI,CUSTOM_COMPILATION]");
TestG... |
protected Object getEmptyValue(BindingImpl binding) {
Class<?> type = binding.getValueType();
if (boolean.class.equals(type) || Boolean.class.equals(type)) {
return Boolean.FALSE;
} else {
return null;
}
}
| protected Object getEmptyValue(BindingImpl binding) {
Class<?> type = binding.getType();
if (boolean.class.equals(type) || Boolean.class.equals(type)) {
return Boolean.FALSE;
} else {
return null;
}
}
|
public interface ValidationResults {
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | public interface ValidationResults {
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... |
ValidationResults validate(Object model, List<String> properties);
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | ValidationResults validate(Object model, List<String> properties);
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... |
public static NumberFormat getDefaultNumberFormat(final Locale locale) {
final NumberFormat nf = NumberFormat.getInstance(locale);
nf.setMaximumFractionDigits(2);
return nf;
}
| public static NumberFormat getDefaultNumberFormat(final Locale locale) {
final NumberFormat nf = NumberFormat.getInstance(locale);
nf.setMaximumFractionDigits(10);
return nf;
}
|
public void testCopy() {
final double[] d = { -1.2, 3.4, 5 };
final DiagonalMatrix m = new DiagonalMatrix(d, false);
final DiagonalMatrix p = m.copy();
for (int i = 0; i < m.getRowDimension(); ++i) {
Assert.assertEquals(m.getEntry(i, i), p.getEntry(i, i), 1.0e-20);
... | public void testCopy() {
final double[] d = { -1.2, 3.4, 5 };
final DiagonalMatrix m = new DiagonalMatrix(d, false);
final DiagonalMatrix p = (DiagonalMatrix) m.copy();
for (int i = 0; i < m.getRowDimension(); ++i) {
Assert.assertEquals(m.getEntry(i, i), p.getEntry(i, i),... |
public void testRemoveComposited() {
setUpMutatorTest();
one.add("1");
two.add("2");
two.add("1");
c.addComposited(one, two);
c.removeComposited(one);
assertTrue(c.contains("1"));
assertEquals(c.size(), 2);
}
| public void testRemoveComposited() {
setUpMutatorTest();
one.add("1");
two.add("2");
two.add("1");
c.addComposited(one, two);
c.removeComposited(one);
assertTrue(c.contains("1"));
assertEquals(2, c.size());
}
|
private void processEjbComponents(DeploymentUnit deploymentUnit, Map<ResourceRoot, BeanDeploymentArchiveImpl> bdaMap, BeanDeploymentArchiveImpl rootBda, Map<ResourceRoot, Index> indexes) {
final EEModuleDescription moduleDescription = deploymentUnit.getAttachment(org.jboss.as.ee.component.Attachments.EE_MOD... | private void processEjbComponents(DeploymentUnit deploymentUnit, Map<ResourceRoot, BeanDeploymentArchiveImpl> bdaMap, BeanDeploymentArchiveImpl rootBda, Map<ResourceRoot, Index> indexes) {
final EEModuleDescription moduleDescription = deploymentUnit.getAttachment(org.jboss.as.ee.component.Attachments.EE_MOD... |
.setAllowExpression(true)
package org.jboss.as.clustering.jgroups.subsystem;
import org.jboss.as.clustering.subsystem.ObjectListAttributeDefinition;
import org.jboss.as.clustering.subsystem.ObjectTypeAttributeDefinition;
import org.jboss.as.clustering.subsystem.SimpleListAttributeDefinition;
import org.jboss.as.contr... | .setAllowExpression(true)
package org.jboss.as.clustering.jgroups.subsystem;
import org.jboss.as.clustering.subsystem.ObjectListAttributeDefinition;
import org.jboss.as.clustering.subsystem.ObjectTypeAttributeDefinition;
import org.jboss.as.clustering.subsystem.SimpleListAttributeDefinition;
import org.jboss.as.contr... |
private boolean myOwnership(GlobalPartitionId id) {
int val = id.host.hashCode() + 23 * id.partition;
return val % _totalTasks == _taskIndex;
}
| private boolean myOwnership(GlobalPartitionId id) {
int val = Math.abs(id.host.hashCode() + 23 * id.partition);
return val % _totalTasks == _taskIndex;
}
|
public void sendMessageToController() throws Exception {
TextMessage message = create(StompCommand.SEND).headers("destination:/app/simple").build();
WebSocketSession session = doHandshake(new TestClientWebSocketHandler(0, message), "/ws").get();
SimpleController controller = this.wac.getBean(SimpleController.c... | public void sendMessageToController() throws Exception {
TextMessage message = create(StompCommand.SEND).headers("destination:/app/simple").build();
WebSocketSession session = doHandshake(new TestClientWebSocketHandler(0, message), "/ws").get();
SimpleController controller = this.wac.getBean(SimpleController.c... |
public static void submitTopology(String name, Map stormConf, StormTopology topology, SubmitOptions opts) throws AlreadyAliveException, InvalidTopologyException {
if(!Utils.isValidConf(stormConf)) {
throw new IllegalArgumentException("Storm conf is not valid. Must be json-serializable");
... | public static void submitTopology(String name, Map stormConf, StormTopology topology, SubmitOptions opts) throws AlreadyAliveException, InvalidTopologyException {
if(!Utils.isValidConf(stormConf)) {
throw new IllegalArgumentException("Storm conf is not valid. Must be json-serializable");
... |
LegacyKernelServicesInitializer addMavenResourceURL(String...artifactGav) throws ClassNotFoundException, IOException;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution ... | LegacyKernelServicesInitializer addMavenResourceURL(String...artifactGav) throws ClassNotFoundException, IOException;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution ... |
private void registerExtraHandlers() {
ServiceLoader<CommandHandlerProvider> loader = ServiceLoader.load(CommandHandlerProvider.class);
for (CommandHandlerProvider provider : loader) {
cmdRegistry.registerHandler(provider.createCommandHandler(this), provider.getNames());
}
}
| private void registerExtraHandlers() {
ServiceLoader<CommandHandlerProvider> loader = ServiceLoader.load(CommandHandlerProvider.class);
for (CommandHandlerProvider provider : loader) {
cmdRegistry.registerHandler(provider.createCommandHandler(this), provider.isTabComplete(), provider.get... |
public Object processInvocation(InterceptorContext context) throws Exception {
final Component component = context.getPrivateData(Component.class);
if (component instanceof EJBComponent == false) {
throw MESSAGES.unexpectedComponent(component,EJBComponent.class);
}
final ... | public Object processInvocation(InterceptorContext context) throws Exception {
final Component component = context.getPrivateData(Component.class);
if (component instanceof EJBComponent == false) {
throw MESSAGES.unexpectedComponent(component,EJBComponent.class);
}
final ... |
private CipherInputStream init() throws IOException {
if (isInitialized) {
return cipherInputStream;
}
final int byte0 = 0xff & coder.properties[0];
final int numCyclesPower = byte0 & 0x3f;
final int byte1 = ... | private CipherInputStream init() throws IOException {
if (isInitialized) {
return cipherInputStream;
}
final int byte0 = 0xff & coder.properties[0];
final int numCyclesPower = byte0 & 0x3f;
final int byte1 = ... |
public ContinuousDistribution makeDistribution() {
return DistributionFactory.newInstance().createCauchyDistribution(1.2, 2.1);
}
| public ContinuousDistribution makeDistribution() {
return new CauchyDistributionImpl(1.2, 2.1);
}
|
public ContinuousDistribution makeDistribution() {
return DistributionFactory.newInstance().createExponentialDistribution(5.0);
}
| public ContinuousDistribution makeDistribution() {
return new ExponentialDistributionImpl(5.0);
}
|
public ContinuousDistribution makeDistribution() {
return DistributionFactory.newInstance().createFDistribution(5.0, 6.0);
}
| public ContinuousDistribution makeDistribution() {
return new FDistributionImpl(5.0, 6.0);
}
|
public ContinuousDistribution makeDistribution() {
return DistributionFactory.newInstance().createWeibullDistribution(1.2, 2.1);
}
| public ContinuousDistribution makeDistribution() {
return new WeibullDistributionImpl(1.2, 2.1);
}
|
public DomainClient create(final InetAddress address, int port) {
return new DomainClientImpl(address, port);
}
}
} | public static DomainClient create(final InetAddress address, int port) {
return new DomainClientImpl(address, port);
}
}
} |
public interface ServerGroupDeploymentPlanBuilder extends DeploymentPlanBuilder {
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contribu... | public interface ServerGroupDeploymentPlanBuilder extends DeploymentPlanBuilder {
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contribu... |
RemoveDeploymentPlanBuilder andRemoveUndeployed();
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free softwa... | RemoveDeploymentPlanBuilder andRemoveUndeployed();
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free softwa... |
int RETURN_DOMAIN_MODEL = 0x13;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistr... | int RETURN_DOMAIN_MODEL = 0x13;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistr... |
boolean rollbackOnFailure, boolean modelOnly);
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; ... | boolean rollbackOnFailure, boolean modelOnly);
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; ... |
public void testMessageCodesResolver() {
loadBeanDefinitions("mvc-config-message-codes-resolver.xml");
RequestMappingHandlerAdapter adapter = appContext.getBean(RequestMappingHandlerAdapter.class);
assertNotNull(adapter);
Object initializer = adapter.getWebBindingInitializer();
assertNotNull(initializer);
... | public void testMessageCodesResolver() {
loadBeanDefinitions("mvc-config-message-codes-resolver.xml");
RequestMappingHandlerAdapter adapter = appContext.getBean(RequestMappingHandlerAdapter.class);
assertNotNull(adapter);
Object initializer = adapter.getWebBindingInitializer();
assertNotNull(initializer);
... |
public void requestMappingHandlerAdapter() throws Exception {
RequestMappingHandlerAdapter adapter = mvcConfiguration.requestMappingHandlerAdapter();
List<HttpMessageConverter<?>> expectedConverters = new ArrayList<HttpMessageConverter<?>>();
mvcConfiguration.addDefaultHttpMessageConverters(expectedConverters);... | public void requestMappingHandlerAdapter() throws Exception {
RequestMappingHandlerAdapter adapter = mvcConfiguration.requestMappingHandlerAdapter();
List<HttpMessageConverter<?>> expectedConverters = new ArrayList<HttpMessageConverter<?>>();
mvcConfiguration.addDefaultHttpMessageConverters(expectedConverters);... |
public ClassLoader getServerJAXRPCIntegrationClassLoader() {
throw new UnsupportedOperationException("JAXRPC not supported"); //TODO!!
}
| public ClassLoader getServerJAXRPCIntegrationClassLoader() {
throw new UnsupportedOperationException();
}
|
public void remove() throws UnsupportedOperationException {
if (iterator instanceof ListIterator) {
iterator.remove();
return;
}
int removeIndex = currentIndex;
if (currentIndex == wrappedIteratorIndex) {
--removeIndex;
}
if (!remov... | public void remove() throws UnsupportedOperationException {
if (iterator instanceof ListIterator) {
iterator.remove();
return;
}
int removeIndex = currentIndex;
if (currentIndex == wrappedIteratorIndex) {
--removeIndex;
}
if (!remov... |
public void start() throws Exception {
// TODO BootstrapListener
// The first default services are registered before the bootstrap operations are executed.
final ServiceTarget serviceTarget = serviceContainer;
// Install the process controller client
final NewProcessContro... | public void start() throws Exception {
// TODO BootstrapListener
// The first default services are registered before the bootstrap operations are executed.
final ServiceTarget serviceTarget = serviceContainer;
// Install the process controller client
final NewProcessContro... |
private NewServerInventory serverInventory;
private NewServerInventoryService(final NewDomainController domainController, final HostControllerEnvironment environment, final NetworkInterfaceBinding interfaceBinding, final int port) {
this.domainController = domainController;
this.environment = e... | private NewServerInventory serverInventory;
private NewServerInventoryService(final NewDomainController domainController, final HostControllerEnvironment environment, final NetworkInterfaceBinding interfaceBinding, final int port) {
this.domainController = domainController;
this.environment = e... |
public void registerChildren(ManagementResourceRegistration registration) {
registration.registerSubModel(new RemoteSiteResourceDefinition());
registration.registerSubModel(PropertyResourceDefinition.INSTANCE);
}
| public void registerChildren(ManagementResourceRegistration registration) {
registration.registerSubModel(new RemoteSiteResourceDefinition());
registration.registerSubModel(new PropertyResourceDefinition());
}
|
public void start(StartContext context) throws StartException {
BundleContext syscontext = injectedSystemContext.getValue();
Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put(Constants.SERVICE_RANKING, Integer.MAX_VALUE);
registration = syscontext.register... | public void start(StartContext context) throws StartException {
BundleContext syscontext = injectedSystemContext.getValue();
Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put(Constants.SERVICE_RANKING, Integer.MAX_VALUE);
registration = syscontext.register... |
private boolean addJmsQueue() throws Exception {
stdout.println("Enter the name for the new queue or [C] to cancel:");
String queueName = readStdIn();
if ("C".equals(queueName.toUpperCase())) {
return continuePrompt();
}
final ModelNode address = new ModelNode()... | private boolean addJmsQueue() throws Exception {
stdout.println("Enter the name for the new queue or [C] to cancel:");
String queueName = readStdIn();
if ("C".equals(queueName.toUpperCase())) {
return continuePrompt();
}
final ModelNode address = new ModelNode()... |
public OperationResult execute(final OperationContext context, final ModelNode operation, final ResultHandler resultHandler) {
final PathAddress rootAddress = PathAddress.pathAddress(PathAddress.pathAddress(operation.require(OP_ADDR)).getLastElement());
final ModelNode result = new ModelNode();
... | public OperationResult execute(final OperationContext context, final ModelNode operation, final ResultHandler resultHandler) {
final PathAddress rootAddress = PathAddress.pathAddress(PathAddress.pathAddress(operation.require(OP_ADDR)).getLastElement());
final ModelNode result = new ModelNode();
... |
public String toString() {
if (size() == 0) {
return "[]";
}
StringBuffer buf = new StringBuffer();
buf.append('[');
Iterator<E> it = uniqueSet().iterator();
while (it.hasNext()) {
Object current = it.next();
int count = getCount(cu... | public String toString() {
if (size() == 0) {
return "[]";
}
StringBuilder buf = new StringBuilder();
buf.append('[');
Iterator<E> it = uniqueSet().iterator();
while (it.hasNext()) {
Object current = it.next();
int count = getCount(... |
private String doToString(DataElement dataElement) {
if (nodeCount == 0) {
return "{}";
}
StringBuffer buf = new StringBuffer(nodeCount * 32);
buf.append('{');
MapIterator<?, ?> it = getMapIterator(dataElement);
boolean hasNext = it.hasNext();
whil... | private String doToString(DataElement dataElement) {
if (nodeCount == 0) {
return "{}";
}
StringBuilder buf = new StringBuilder(nodeCount * 32);
buf.append('{');
MapIterator<?, ?> it = getMapIterator(dataElement);
boolean hasNext = it.hasNext();
wh... |
public String toString() {
final StringBuffer sb = new StringBuffer();
sb.append("[ ");
for (int i = 1; i < size + 1; i++) {
if (i != 1) {
sb.append(", ");
}
sb.append(elements[i]);
}
sb.append(" ]");
return sb.t... | public String toString() {
final StringBuilder sb = new StringBuilder();
sb.append("[ ");
for (int i = 1; i < size + 1; i++) {
if (i != 1) {
sb.append(", ");
}
sb.append(elements[i]);
}
sb.append(" ]");
return sb... |
public String toString() {
return new StringBuffer()
.append(getKey())
.append('=')
.append(getValue())
.toString();
}
| public String toString() {
return new StringBuilder()
.append(getKey())
.append('=')
.append(getValue())
.toString();
}
|
public String toString() {
if (size() == 0) {
return "[]";
}
StringBuffer buf = new StringBuffer(16 * size());
buf.append("[");
Iterator<E> it = iterator();
boolean hasNext = it.hasNext();
while (hasNext) {
Object value = it.next();
... | public String toString() {
if (size() == 0) {
return "[]";
}
StringBuilder buf = new StringBuilder(16 * size());
buf.append("[");
Iterator<E> it = iterator();
boolean hasNext = it.hasNext();
while (hasNext) {
Object value = it.next();
... |
public String toString() {
if (delegateMap != null) {
return delegateMap.toString();
}
if (size == 0) {
return "{}";
}
StringBuffer buf = new StringBuffer(128);
buf.append('{');
switch (size) { // drop through
case 3:
... | public String toString() {
if (delegateMap != null) {
return delegateMap.toString();
}
if (size == 0) {
return "{}";
}
StringBuilder buf = new StringBuilder(128);
buf.append('{');
switch (size) { // drop through
case 3:
... |
public String toString() {
if (isEmpty()) {
return "{}";
}
StringBuffer buf = new StringBuffer();
buf.append('{');
boolean first = true;
for (Map.Entry<K, V> entry : entrySet()) {
K key = entry.getKey();
V value = entry.getValue();
... | public String toString() {
if (isEmpty()) {
return "{}";
}
StringBuilder buf = new StringBuilder();
buf.append('{');
boolean first = true;
for (Map.Entry<K, V> entry : entrySet()) {
K key = entry.getKey();
V value = entry.getValue()... |
public String toString() {
return new StringBuffer(128)
.append('{')
.append((getKey() == this ? "(this Map)" : getKey()))
.append('=')
.append((getValue() == this ? "(this Map)" : getValue()))
.append('}')
.toString();
}
| public String toString() {
return new StringBuilder(128)
.append('{')
.append((getKey() == this ? "(this Map)" : getKey()))
.append('=')
.append((getValue() == this ? "(this Map)" : getValue()))
.append('}')
.toString();
}
|
public String getCanonicalComparatorName(Object object) {
StringBuffer retval = new StringBuffer();
retval.append("data/test/");
String colName = object.getClass().getName();
colName = colName.substring(colName.lastIndexOf(".")+1,colName.length());
retval.append(colName);
... | public String getCanonicalComparatorName(Object object) {
StringBuilder retval = new StringBuilder();
retval.append("data/test/");
String colName = object.getClass().getName();
colName = colName.substring(colName.lastIndexOf(".")+1,colName.length());
retval.append(colName);
... |
private <E> void walkLists(List<E> list, ListIterator<E> testing) {
ListIterator<E> expected = list.listIterator();
// walk all the way forward
walkForward(expected,testing);
// walk all the way back
walkBackward(expected,testing);
// forward,back,forward
w... | private <E> void walkLists(List<E> list, ListIterator<E> testing) {
ListIterator<E> expected = list.listIterator();
// walk all the way forward
walkForward(expected,testing);
// walk all the way back
walkBackward(expected,testing);
// forward,back,forward
w... |
private static String normalizeFileName(String fileName,
boolean preserveLeadingSlashes) {
String osname = System.getProperty("os.name").toLowerCase(Locale.US);
if (osname != null) {
// Strip off drive letters!
// REVIEW Would a b... | private static String normalizeFileName(String fileName,
boolean preserveLeadingSlashes) {
String osname = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
if (osname != null) {
// Strip off drive letters!
// REVIEW Woul... |
private int queueCount;
HashMap<Integer, Integer> taskToQueueId = null;
int roundRobinQueueId;
boolean closing = false;
List<TaskMessage> closeMessage = Arrays.asList(new TaskMessage(-1, null));
@SuppressWarnings("rawtypes")
Server(Map storm_conf, int port) {
this.storm_c... | private int queueCount;
HashMap<Integer, Integer> taskToQueueId = null;
int roundRobinQueueId;
boolean closing = false;
List<TaskMessage> closeMessage = Arrays.asList(new TaskMessage(-1, null));
@SuppressWarnings("rawtypes")
Server(Map storm_conf, int port) {
this.storm_c... |
private void testRejectExpressions1_0_0(String mavenGAV) throws Exception {
// create builder for current subsystem version
KernelServicesBuilder builder = createKernelServicesBuilder(createAdditionalInitialization());
// create builder for legacy subsystem version
ModelVersion vers... | private void testRejectExpressions1_0_0(String mavenGAV) throws Exception {
// create builder for current subsystem version
KernelServicesBuilder builder = createKernelServicesBuilder(createAdditionalInitialization());
// create builder for legacy subsystem version
ModelVersion vers... |
static final String SETTXQUERYTIMEOUT = "set-tx-query-timeout";
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This i... | static final String SETTXQUERYTIMEOUT = "set-tx-query-timeout";
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This i... |
public interface ConfigurationClassAnnotation extends Annotation {
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | public interface ConfigurationClassAnnotation extends Annotation {
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... |
public void testSLSB() throws Exception {
Context ctx = new InitialContext();
SimpleStatelessSessionLocal localBean = (SimpleStatelessSessionLocal) ctx.lookup("java:global/ejb3-slsb-example/" + SimpleStatelessSessionBean.class.getSimpleName() + "!" + SimpleStatelessSessionLocal.class.getName());
... | public void testSLSB() throws Exception {
Context ctx = new InitialContext();
SimpleStatelessSessionLocal localBean = (SimpleStatelessSessionLocal) ctx.lookup("java:global/ejb3-slsb-example/" + SimpleStatelessSessionBean.class.getSimpleName() + "!" + SimpleStatelessSessionLocal.class.getName());
... |
public static void main(String[] args) {
SecurityActions.setSystemProperty("log4j.defaultInitOverride", "true");
new BridgeRepositorySelector().start();
// Install JBoss Stdio to avoid any nasty crosstalk.
StdioContext.install();
final StdioContext context = StdioContext.cre... | public static void main(String[] args) {
SecurityActions.setSystemProperty("log4j.defaultInitOverride", "true");
new BridgeRepositorySelector().start();
// Install JBoss Stdio to avoid any nasty crosstalk.
StdioContext.install();
final StdioContext context = StdioContext.cre... |
public static void initOperations(final ManagementResourceRegistration root, final ContentRepository contentRepository,
final ExtensibleConfigurationPersister extensibleConfigurationPersister,
final ServerEnvironment serverEnvironment,
... | public static void initOperations(final ManagementResourceRegistration root, final ContentRepository contentRepository,
final ExtensibleConfigurationPersister extensibleConfigurationPersister,
final ServerEnvironment serverEnvironment,
... |
public static enum LaunchType {
DOMAIN,
STANADALONE,
EMBEDDED
}
| public static enum LaunchType {
DOMAIN,
STANDALONE,
EMBEDDED
}
|
public static ModelNode getDescription(final Locale locale) {
final ResourceBundle bundle = getResourceBundle(locale);
final ModelNode root = new ModelNode();
root.get(DESCRIPTION).set(bundle.getString("server"));
root.get(HEAD_COMMENT_ALLOWED).set(true);
root.get(TAIL_COMME... | public static ModelNode getDescription(final Locale locale) {
final ResourceBundle bundle = getResourceBundle(locale);
final ModelNode root = new ModelNode();
root.get(DESCRIPTION).set(bundle.getString("server"));
root.get(HEAD_COMMENT_ALLOWED).set(true);
root.get(TAIL_COMME... |
public void registerAttributes(final ManagementResourceRegistration rootResourceRegistration) {
for (AttributeDefinition attr : ATTRIBUTES) {
rootResourceRegistration.registerReadWriteAttribute(attr, null, ReloadRequiredRemoveStepHandler.INSTANCE);
}
}
| public void registerAttributes(final ManagementResourceRegistration rootResourceRegistration) {
for (AttributeDefinition attr : ATTRIBUTES) {
rootResourceRegistration.registerReadWriteAttribute(attr, null, SessionAttributeWriteHandler.INSTANCE);
}
}
|
private void activate(final String deploymentName, String runtimeName, final byte[] deploymentHash, final ServiceName deploymentServiceName, final ServiceActivatorContext context, final ServiceContainer serviceContainer) {
log.infof("Activating deployment: %s", deploymentName);
Closeable handle = n... | private void activate(final String deploymentName, String runtimeName, final byte[] deploymentHash, final ServiceName deploymentServiceName, final ServiceActivatorContext context, final ServiceContainer serviceContainer) {
log.infof("Activating deployment: %s", deploymentName);
Closeable handle = n... |
protected void deployComponent(final DeploymentPhaseContext phaseContext, final ComponentConfiguration configuration) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
final ServiceTarget serviceTarget = phaseContext.getServiceTarget(... | protected void deployComponent(final DeploymentPhaseContext phaseContext, final ComponentConfiguration configuration) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
final ServiceTarget serviceTarget = phaseContext.getServiceTarget(... |
private ModelNode[] modelNodeAttributesInfo(MBeanAttributeInfo[] attributeInfos, ObjectName objectName) throws IOException, JMException {
MBeanServerConnection connection = getConnection();
ModelNode attributes = new ModelNode();
ModelNode filtered = new ModelNode().setEmptyList();
M... | private ModelNode[] modelNodeAttributesInfo(MBeanAttributeInfo[] attributeInfos, ObjectName objectName) throws IOException, JMException {
MBeanServerConnection connection = getConnection();
ModelNode attributes = new ModelNode();
ModelNode filtered = new ModelNode().setEmptyList();
M... |
public void ack(Object msgId) {
TransactionAttempt tx = (TransactionAttempt) msgId;
TransactionStatus status = _activeTx.get(tx.getTransactionId());
if(!tx.equals(status.attempt)) {
throw new IllegalStateException("Coordinator got into a bad state: acked transaction " +
... | public void ack(Object msgId) {
TransactionAttempt tx = (TransactionAttempt) msgId;
TransactionStatus status = _activeTx.get(tx.getTransactionId());
if(!tx.equals(status.attempt)) {
throw new IllegalStateException("Coordinator got into a bad state: acked transaction " +
... |
public boolean isCompatibleWith(DistributionStructure other) {
return (getClass().equals(other.getClass()));
}
static DistributionContentItem createMiscItem(final DistributionContentItem parent, final String path) {
DistributionContentItem result = parent;
final String[] s = path.sp... | public boolean isCompatibleWith(DistributionStructure other) {
return (getClass().equals(other.getClass()));
}
static DistributionContentItem createMiscItem(final DistributionContentItem parent, final String path) {
DistributionContentItem result = parent;
final String[] s = path.sp... |
public int read(char[] array, int offset, int length) {
if (idx >= charSequence.length()) {
return -1;
}
if (array == null) {
throw new NullPointerException("Character array is missing");
}
if (length < 0 || (offset + length) > array.length) {
... | public int read(char[] array, int offset, int length) {
if (idx >= charSequence.length()) {
return -1;
}
if (array == null) {
throw new NullPointerException("Character array is missing");
}
if (length < 0 || offset < 0 || (offset + length) > array.leng... |
public Object getValueAndReset() {
List<PartitionManager> pms = _coordinator.getMyManagedPartitions();
Set<GlobalPartitionId> latestPartitions = new HashSet();
for(PartitionManager pm : pms) { latestPartitions.add(pm.getPartition()); }
_kafkaOf... | public Object getValueAndReset() {
List<PartitionManager> pms = _coordinator.getMyManagedPartitions();
Set<Partition> latestPartitions = new HashSet();
for(PartitionManager pm : pms) { latestPartitions.add(pm.getPartition()); }
_kafkaOffsetMetr... |
PartitionManager getManager(Partition partition);
package storm.kafka;
import java.util.List;
public interface PartitionCoordinator {
List<PartitionManager> getMyManagedPartitions();
PartitionManager getManager(GlobalPartitionId id);
} | PartitionManager getManager(Partition partition);
package storm.kafka;
import java.util.List;
public interface PartitionCoordinator {
List<PartitionManager> getMyManagedPartitions();
PartitionManager getManager(Partition partition);
} |
protected abstract AbstractDataSourceService createDataSourceService(final String jndiName, final ModelNode operation)
throws OperationFailedException;
static void populateAddModel(final ModelNode existingModel, final ModelNode newModel,
final String connectionPropertiesProp, final Attr... | protected abstract AbstractDataSourceService createDataSourceService(final String jndiName, final ModelNode operation)
throws OperationFailedException;
static void populateAddModel(final ModelNode existingModel, final ModelNode newModel,
final String connectionPropertiesProp, final Attr... |
protected AbstractDataSourceService createDataSourceService(final String jndiName, final ModelNode operation)
throws OperationFailedException {
final DataSource dataSource;
try {
dataSource = from(operation);
} catch (ValidateException e) {
e.printStackTra... | protected AbstractDataSourceService createDataSourceService(final String jndiName, final ModelNode operation)
throws OperationFailedException {
final DataSource dataSource;
try {
dataSource = from(operation);
} catch (ValidateException e) {
e.printStackTra... |
public interface ConfigurationPersister {
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you c... | public interface ConfigurationPersister {
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you c... |
public interface ExtensibleConfigurationPersister extends ConfigurationPersister, SubsystemXmlWriterRegistry {
/*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in ... | public interface ExtensibleConfigurationPersister extends ConfigurationPersister, SubsystemXmlWriterRegistry {
/*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in ... |
private ServerDeploymentPlanResult getResultFromNode(ModelNode planResultNode) {
UUID planId = plan.getId();
Map<UUID, ServerDeploymentActionResult> actionResults = new HashMap<UUID, ServerDeploymentActionResult>();
List<DeploymentActionImpl> actions = plan.getDeploymentActionImpls();
... | private ServerDeploymentPlanResult getResultFromNode(ModelNode planResultNode) {
UUID planId = plan.getId();
Map<UUID, ServerDeploymentActionResult> actionResults = new HashMap<UUID, ServerDeploymentActionResult>();
List<DeploymentActionImpl> actions = plan.getDeploymentActionImpls();
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.