conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertTrue;
=======
import ch.qos.logback.core.Context;
import ch.qos.logback.core.ContextBase;
import ch.qos.logback.core.encoder.EchoEncoder;
import ch.qos.logback.core.rolling.helper.FileFilterUtil;
import ch.qos.logbac... |
<<<<<<<
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertTrue;
import java.util.HashMap;
import java.util.Map;
import org.junit.Before;
import org.junit.Test;
=======
>>>>>>>
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assert... |
<<<<<<<
import ch.qos.logback.classic.net.SSLSocketRemote;
=======
import ch.qos.logback.classic.net.server.SSLServerSocketAppender;
>>>>>>>
import ch.qos.logback.classic.net.SSLSocketRemote;
import ch.qos.logback.classic.net.server.SSLServerSocketAppender;
<<<<<<<
registry.add(SSLSocketRemote.class, "ssl", SSL... |
<<<<<<<
import static junit.framework.Assert.assertFalse;
import static junit.framework.Assert.assertTrue;
import static junit.framework.Assert.fail;
import java.io.*;
import java.net.MalformedURLException;
import java.util.concurrent.ThreadPoolExecutor;
import ch.qos.logback.core.contention.AbstractMultiThreadedHarn... |
<<<<<<<
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertFalse;
import static junit.framework.Assert.assertNull;
import static junit.framework.Assert.assertTrue;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
=======
>>>>>>>
import static junit.... |
<<<<<<<
=======
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.DetachedCriteria;
>>>>>>>
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.DetachedCriteria;
<<<<<<<
=======
import org.n52.sos.exception.CodedException;
import org.n52.sos.exception.ows.NoApplicableCo... |
<<<<<<<
import static com.nearinfinity.blur.utils.BlurConstants.*;
import static com.nearinfinity.blur.utils.BlurConstants.BLUR_CONTROLLER_BIND_PORT;
import static com.nearinfinity.blur.utils.BlurConstants.BLUR_GUI_CONTROLLER_PORT;
import static com.nearinfinity.blur.utils.BlurConstants.BLUR_GUI_SHARD_PORT;
import stat... |
<<<<<<<
/*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
=======
/**
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
>>>>>>>
/*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
<<<<<<<
import java.util.Set;
=======
import java.util.Co... |
<<<<<<<
=======
IntegrationFrameNode integrationFrameNode = new IntegrationFrameNode();
integrationFrameNode.setToolTip(rs.getString("node4.tooltip"));
NODE_PROTOTYPES.add(integrationFrameNode);
>>>>>>>
IntegrationFrameNode integrationFrameNode = new IntegrationFrameNode();
... |
<<<<<<<
// enum singleton
EnumIvoryTower enumIvoryTower1 = EnumIvoryTower.INSTANCE;
EnumIvoryTower enumIvoryTower2 = EnumIvoryTower.INSTANCE;
System.out.println("enumIvoryTower1=" + enumIvoryTower1);
System.out.println("enumIvoryTower2=" + enumIvoryTower2);
=======
InitializingOnDemandHolderIdiom dema... |
<<<<<<<
LOGGER.info("# {} has been updated! Removing older version from cache...", userId);
Node toBeRemoved = cache.get(userId);
remove(toBeRemoved);
cache.remove(userId);
=======
Node toBeRemoved = cache.remove(userId);
if (toBeRemoved != null) {
System.out.println("# " + userId + " ha... |
<<<<<<<
=======
import net.anotheria.moskito.webui.dashboards.api.DashboardChartAO;
import net.anotheria.moskito.webui.dashboards.bean.DashboardChartBean;
import net.anotheria.moskito.webui.gauges.api.GaugeAO;
import net.anotheria.moskito.webui.gauges.bean.GaugeBean;
import net.anotheria.moskito.webui.threshold.api.T... |
<<<<<<<
/**
* If true and the session exists the session id is automatically assigned to a tag.
*/
=======
@Configure
>>>>>>>
/**
* If true and the session exists the session id is automatically assigned to a tag.
*/
@Configure
<<<<<<<
/**
* Add remote id to the tag.
*/
=======
@Configure
>>>>>... |
<<<<<<<
@SpringBootTest(
properties = { "management.endpoints.web.exposure.include=*",
"spring.cloud.gateway.actuator.verbose.enabled=true" },
webEnvironment = RANDOM_PORT)
=======
@SpringBootTest(properties = {"management.endpoints.web.exposure.include=*",
"spring.cloud.gateway.actuator.verbose.enabled=tru... |
<<<<<<<
public ReactiveLoadBalancerClientFilter gatewayLoadBalancerClientFilter(LoadBalancerClientFactory clientFactory,
LoadBalancerProperties properties) {
=======
@Conditional(OnNoRibbonDefaultCondition.class)
@ConditionalOnEnabledGlobalFilter
public ReactiveLoadBalancerClientFilter gatewayLoadBalancerClien... |
<<<<<<<
.publishOn(Schedulers.boundedElastic()).map(id -> {
routeDefinition.setId(id);
if (log.isDebugEnabled()) {
log.debug(
"Id set on route definition: " + routeDefinition);
=======
.publishOn(Schedulers.elastic()).map(id -> {
if (routeDefinition.getId() == null) ... |
<<<<<<<
Flux<HttpClientResponse> responseFlux = this.httpClient
.chunkedTransfer(chunkedTransfer)
.request(method)
.uri(url)
.send((req, nettyOutbound) -> {
req.headers(httpHeaders);
if (preserveHost) {
String host = request.getHeaders().getFirst(HttpHeaders.HOST);
req.header(Ht... |
<<<<<<<
@Test
public void tokenRelayBeansAreCreated() {
new ReactiveWebApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(ReactiveSecurityAutoConfiguration.class,
ReactiveOAuth2ClientAutoConfiguration.class, GatewayReactiveOAuth2AutoConfiguration.class,
GatewayAutoConfiguration.Toke... |
<<<<<<<
=======
import java.util.Map;
import java.util.function.Function;
>>>>>>>
import java.util.function.Function; |
<<<<<<<
public String getMetadata() {
return metadata;
}
public void setMetadata(String metadata) {
this.metadata = metadata;
}
=======
@Override
public void refresh() {
super.refresh();
appendEnvironmentProperties();
}
/**
* 1. OS Environment: DU... |
<<<<<<<
String tag = StringUtils.isEmpty(invocation.getAttachment(Constants.TAG_KEY)) ? url.getParameter(Constants.TAG_KEY) :
invocation.getAttachment(Constants.TAG_KEY);
=======
String tag = StringUtils.isEmpty((String) invocation.getAttachment(TAG_KEY)) ? url.getParameter(TAG_KEY) :
... |
<<<<<<<
class CompatibleInvocation implements Invocation {
=======
@Override
default String getServiceName() {
return null;
}
class CompatibleInvocation implements Invocation, org.apache.dubbo.rpc.Invocation {
>>>>>>>
@Override
default String getServiceName() {
return nul... |
<<<<<<<
import org.apache.dubbo.rpc.FutureContext;
=======
import org.apache.dubbo.rpc.FutureAdapter;
>>>>>>>
import org.apache.dubbo.rpc.FutureAdapter;
import org.apache.dubbo.rpc.FutureContext;
<<<<<<<
AsyncRpcResult asyncRpcResult = new AsyncRpcResult(invocation);
CompletableFuture<Object... |
<<<<<<<
import org.apache.dubbo.common.utils.CollectionUtils;
=======
import org.apache.dubbo.common.config.ConfigurationUtils;
>>>>>>>
import org.apache.dubbo.common.utils.CollectionUtils;
import org.apache.dubbo.common.config.ConfigurationUtils;
<<<<<<<
if ((getRegistry() == null)) {
List<Reg... |
<<<<<<<
String DUBBO_VERSION_KEY = "dubbo";
int DEFAULT_BACKLOG = 1024;
=======
String SSL_ENABLED_KEY = "ssl-enabled";
String SSL_SERVER_CERT_PATH_KEY = "ssl.server.cert.path";
String SSL_SERVER_KEY_PATH_KEY = "ssl.server.key.path";
String SSL_SERVER_TRUST_CERT_PATH_KEY = "ssl.server.trust... |
<<<<<<<
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.n52.iceland.exception.ows.OwsExceptionReport;
import org.n52.iceland.i18n.I18NDAO;
import org.n52.iceland.i18n.I18NDAORepository;
import org.n52.iceland.i18n.metadata.AbstractI18NMetadata;
import org.n52.iceland.i18n.metadata.I18NFeatureMetada... |
<<<<<<<
import org.apache.dubbo.common.utils.StringUtils;
=======
import org.apache.dubbo.rpc.Filter;
>>>>>>>
import org.apache.dubbo.rpc.Filter;
org.apache.dubbo.common.utils.StringUtils; |
<<<<<<<
ConfigManager configManager = ConfigManager.getInstance();
configManager.getDefaultRegistries().ifPresent(registryConfigs -> {
for (RegistryConfig registryConfig : registryConfigs) {
// we use the loading status of DynamicConfiguration to decide whether ConfigCenter h... |
<<<<<<<
import org.apache.dubbo.common.utils.StringUtils;
=======
import org.apache.dubbo.common.Version;
>>>>>>>
import org.apache.dubbo.common.utils.StringUtils;
import org.apache.dubbo.common.Version; |
<<<<<<<
import java.util.Set;
=======
import java.util.Optional;
>>>>>>>
import java.util.Optional;
import java.util.Set; |
<<<<<<<
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
=======
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
>>>>>>>
import org.junit.jupiter.api.Assertions;
im... |
<<<<<<<
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
=======
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
>>>>>>>
import org.junit.After;
import org.junit.Assert;
import org.junit.jupiter.api.A... |
<<<<<<<
import static org.apache.dubbo.remoting.Constants.CLIENT_KEY;
=======
import static org.apache.dubbo.registry.support.AbstractRegistryFactory.getRegistries;
>>>>>>>
import static org.apache.dubbo.remoting.Constants.CLIENT_KEY;
<<<<<<<
configManager.getDefaultRegistries().stream()
.fi... |
<<<<<<<
=======
if (provider != null) {
inheritIfAbsentFromProvider();
}
if (module != null) {
inheritIfAbsentFromModule();
}
if (application != null) {
inheritIfAbsentFromApplication();
}
>>>>>>> |
<<<<<<<
String value = invocation.getAttachments().get(INVOCATION_NEED_MOCK);
=======
String value = (String) invocation.getAttachments().get(Constants.INVOCATION_NEED_MOCK);
>>>>>>>
String value = (String) invocation.getAttachments().get(INVOCATION_NEED_MOCK); |
<<<<<<<
WritableMetadataService writableMetadataService = WritableMetadataService.getExtension(
serviceInstance.getMetadata().get(METADATA_KEY)
);
List<String> exportedURLs = writableMetadataService.getExportedURLs();
=======
WritableMetadataService writableMetadataServ... |
<<<<<<<
import static org.hamcrest.CoreMatchers.equalTo;
=======
import static org.apache.dubbo.rpc.protocol.rest.Constants.EXTENSION_KEY;
>>>>>>>
import static org.apache.dubbo.rpc.protocol.rest.Constants.EXTENSION_KEY;
import static org.hamcrest.CoreMatchers.equalTo;
<<<<<<<
ProviderModel providerModel = ... |
<<<<<<<
import com.alibaba.dubbo.common.serialize.support.SerializableClassRegistry;
import com.alibaba.dubbo.common.serialize.support.SerializationOptimizer;
import com.alibaba.dubbo.common.utils.ConcurrentHashSet;
=======
import com.alibaba.dubbo.common.utils.ConfigUtils;
>>>>>>>
import com.alibaba.dubbo.common.se... |
<<<<<<<
import org.n52.iceland.ds.ConnectionProvider;
import org.n52.iceland.exception.ows.NoApplicableCodeException;
import org.n52.iceland.exception.ows.OwsExceptionReport;
import org.n52.iceland.ogc.ows.OwsServiceProvider;
import org.n52.iceland.util.LocalizedProducer;
import org.n52.iceland.util.http.HTTPStatus;
i... |
<<<<<<<
=======
import org.apache.dubbo.common.Version;
import org.apache.dubbo.common.config.configcenter.DynamicConfiguration;
>>>>>>>
import org.apache.dubbo.common.Version;
import org.apache.dubbo.common.config.configcenter.DynamicConfiguration;
<<<<<<<
import org.apache.dubbo.configcenter.DynamicConfiguration;... |
<<<<<<<
//private PublicBAOS timeSizeOut;
private int timeSize;
=======
// size
private PublicBAOS timeSizeOut;
>>>>>>>
<<<<<<<
public ByteBuffer getBytes() throws IOException {
=======
public ListByteArrayOutputStream getUncompressedBytes() throws IOException {
// flush all data ... |
<<<<<<<
public SeriesReaderFromSingleFileByTimestampImpl(TsFileSequenceReader tsFileReader, Path path) throws IOException {
super(tsFileReader, path);
=======
public SeriesReaderFromSingleFileByTimestampImpl(ITsRandomAccessFileReader randomAccessFileReader, Path path) throws IOException {
supe... |
<<<<<<<
/**
* init this.fields
*/
public RowRecord() {
=======
private RowRecord() {
>>>>>>>
/**
* init this.fields
*/
private RowRecord() { |
<<<<<<<
=======
// initialize TSDataType. e.g. set data values for enum type
// if type is ENUMS, init typeConverter
if (type == TSDataType.ENUMS) {
typeConverter = TSDataTypeConverter.getConverter(type);
typeConverter.initFromProps(props);
}
>>>>>>>
<<<<<<<
encodingConverter = TSEnc... |
<<<<<<<
import cn.edu.tsinghua.tsfile.file.header.ChunkHeader;
=======
import cn.edu.tsinghua.tsfile.timeseries.write.page.IChunkWriter;
>>>>>>>
import cn.edu.tsinghua.tsfile.file.header.ChunkHeader;
import cn.edu.tsinghua.tsfile.timeseries.write.page.IChunkWriter;
<<<<<<<
* {@code writePageHeaderAndDataIntoBu... |
<<<<<<<
=======
* A static method to check the input parameter. If it's legal, return this parameter in its
* appropriate class type.
*
* @param type - data type
* @param pmKey - argument key in JSON object key-value pair
* @param value - argument value in JSON object key-value pair in ... |
<<<<<<<
public SeriesChunkReaderByTimestampImpl(InputStream seriesChunkInputStream) {
super(seriesChunkInputStream);
=======
public SeriesChunkReaderByTimestampImpl(InputStream seriesChunkInputStream, TSDataType dataType, CompressionTypeName compressionTypeName) {
super(seriesChunkInputStream,... |
<<<<<<<
import java.nio.ByteBuffer;
=======
import java.util.Arrays;
>>>>>>>
import java.nio.ByteBuffer;
import java.util.Arrays;
<<<<<<<
private boolean pageReaderInitialized;
private PageDataReader pageReader;
=======
private boolean hasUnconsumedPage;
private PageReader pageReader;
>>>>>>>
... |
<<<<<<<
// Images: provide correct baseURL
String baseURL = "file:///bvols/@git/repos/docx4j-ImportXHTML/sample-docs/docx/sample-docxv2.docx_files";
=======
// Images: provide correct baseURL
String baseURL = "file:///bvols/@git/repos/docx4j-ImportXHTML/sample-docs/docx/sample-docxv2.do... |
<<<<<<<
public class ZapFragment extends AbstractHttpListFragment implements GetBouquetListTask.GetBoquetListTaskHandler {
=======
public class ZapFragment extends BaseHttpRecyclerFragment {
>>>>>>>
public class ZapFragment extends BaseHttpRecyclerFragment implements GetBouquetListTask.GetBoquetListTaskHandler {
<... |
<<<<<<<
* <Li>Think about what kind of logging we are going use it. <B>util.logging<B> will be preference.
* @since 6.1.2
=======
* <Li>Think about what kind of logging we are going use it. <B>util.logging<B>
* will be preference.
>>>>>>>
* <Li>Think about what kind of logging we are going use it. <B>util.loggi... |
<<<<<<<
private Blob activeBlob;
=======
private List<Object> streamObjects = new ArrayList<Object>();
>>>>>>>
private Blob activeBlob;
<<<<<<<
activeBlob = value;
=======
streamObjects.add(value);
>>>>>>>
activeBlob = value;
<<<<<<<
activeBlob = value;
=======
... |
<<<<<<<
public void setQueryTimeout(int queryTimeout)
{
setIntProperty(connectionProps, SQLServerDriverIntProperty.QUERY_TIMEOUT.toString(), queryTimeout);
}
public int getQueryTimeout()
{
return getIntProperty(connectionProps, SQLServerDriverIntProperty.QUERY_TIMEOUT.toString()... |
<<<<<<<
{"R_useBulkCopyForBatchInsertPropertyDescription", "Whether the driver will use bulk copy API for batch insert operations"},
=======
{"R_UnknownDataClsTokenNumber", "Unknown token for Data Classification."}, // From Server
{"R_InvalidDataClsVersionNumber", "Invalid version number {0} f... |
<<<<<<<
{"R_sslProtocolPropertyDescription", "SSL protocol label from TLS, TLSv1, TLSv1.1 & TLSv1.2. The default is TLS."},
{"R_invalidSSLProtocol", "SSL Protocol {0} label is not valid. Only TLS, TLSv1, TLSv1.1 & TLSv1.2 are supported."},
=======
{"R_SQLVariantSupport", "SQL_VARIANT datatype is not suppo... |
<<<<<<<
/*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
=======
/**
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
>>>>>>>
/*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
<<<<<<<
import com.google.common.collect.Sets;
import org.n... |
<<<<<<<
{"R_preparedStatementDiscardActionThresholdPropertyDescription", "The threshold for when to close discarded prepare statements on the server (calling a batch of sp_unprepares). A value of 1 or less will cause sp_unprepare to be called immediately on PreparedStatment close."},
{"R_prepareStatementOnFirst... |
<<<<<<<
{"R_useBulkCopyForBatchInsertPropertyDescription", "Whether the driver will use bulk copy API for batch insert operations"},
=======
{"R_illegalWKT", "Illegal Well-Known text. Please make sure Well-Known text is valid."},
{"R_illegalTypeForGeometry", "{0} is not supported for Geometry.... |
<<<<<<<
LOGGER.info("{} {} {} {} request header:{} body:{}", soaHeader.getServiceName(), soaHeader.getVersionName(), soaHeader.getMethodName(), context.getSeqid(), soaHeader.toString(), soaProcessFunction.getReqSerializer().toString(args));
=======
LOGGER.info("{} {} {} request header:{} body:... |
<<<<<<<
import org.attoparser.AbstractMarkupHandler;
import org.attoparser.MarkupParser;
import org.attoparser.ParseException;
import org.attoparser.ParseStatus;
import org.attoparser.config.ParseConfiguration;
=======
import org.attoparser.AbstractChainedMarkupHandler;
import org.attoparser.IMarkupHandler;
import or... |
<<<<<<<
boolean landOwned = (myFaction.doesLocationHaveOwnersSet(loc) && !myFaction.getOwnerList(loc).isEmpty());
if ((landOwned && myFaction.getOwnerListString(loc).contains(player.getName())) || (me.getRole() == Role.LEADER && me.getFactionId().equals(myFaction.getId()))) return true;
else if (landOwned && !... |
<<<<<<<
=======
// this.requiredArgs.add("");
>>>>>>>
// this.requiredArgs.add("");
<<<<<<<
if (allyList.endsWith(", ")) {
allyList = allyList.substring(0, allyList.length() - 2);
}
if (enemyList.endsWith(", ")) {
enemyList = enemyList.substring(0, en... |
<<<<<<<
if (this == MEMBER)
{
=======
if (this.value == MEMBER.value)
>>>>>>>
if (this == MEMBER)
<<<<<<<
}
else if (this == ALLY)
{
=======
else if (this.value == ALLY.value)
>>>>>>>
else if (this == ALLY)
<<<<<<<
}
else if (this == NEUTRAL)
{
=======
else if (this.value == NEUTRAL.... |
<<<<<<<
private PodlistenAccount() {
AccountManager accManager = (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE);
accManager.addAccountExplicitly(account, null, null);
}
public static PodlistenAccount getInstance() {
=======
public static PodlistenAccount getInstance(@NonNull Conte... |
<<<<<<<
=======
public Preferences() {
// TODO make prefs synced between processes via IPC. MULTI_PROCESS is deprecated and unreliable
sharedPrefs = context.getSharedPreferences(context.getPackageName() + "_preferences",
Context.MODE_MULTI_PROCESS);
sharedP... |
<<<<<<<
=======
private ImageManager(@NonNull Application context) {
widthPx = UnitConverter.getInstance().dpToPx(WIDTH_DP);
Point displaySize = new Point();
WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
wm.getDefaultDisplay().getSize(displaySize);
// to e... |
<<<<<<<
import org.n52.iceland.exception.ows.OwsExceptionReport;
import org.n52.iceland.ogc.gml.time.Time;
=======
>>>>>>>
import org.n52.iceland.exception.ows.OwsExceptionReport;
import org.n52.iceland.ogc.gml.time.Time;
<<<<<<<
import org.n52.sos.ds.hibernate.entities.AbstractObservation;
=======
import org.n5... |
<<<<<<<
private static final Map<String, String[]> targetMethosMap = new HashMap<>();
=======
private static final Map<String, ClassMethodNamesPair> targetMethosMap = new HashMap<String, ClassMethodNamesPair>();
>>>>>>>
private static final Map<String, ClassMethodNamesPair> targetMethosMap = new HashMap<... |
<<<<<<<
public CommandWrapperBuilder createMap(Long relId) {
this.actionName = "CREATE";
this.entityName = "ENTITYMAPPING";
this.entityId = relId;
this.href = "/entitytoentitymapping/" + relId;
return this;
}
public CommandWrapperBuilder updateMap(Long mapId) {
... |
<<<<<<<
=======
final SavingsAccount account = this.savingAccountAssembler.assembleFrom(savingsId);
checkClientOrGroupActive(account);
>>>>>>>
<<<<<<<
postInterest(account);
return new CommandProcessingResultBuilder() //
.withEntityId(savingsId) //
.w... |
<<<<<<<
public boolean isEqualAmortization() {
return isEqualAmortization;
}
=======
public LocalDate getStartDate() {
return startDate;
}
public LocalDate getCloseDate() {
return closeDate;
}
public Integer getMinNumberOfRepayments() {
return minNumber... |
<<<<<<<
public List<ScorecardData> findBySurveyClient(@PathParam("surveyId") @ApiParam(value = "Enter surveyId") final Long surveyId,
@PathParam("clientId") @ApiParam(value = "Enter clientId") final Long clientId) {
=======
public List<ScorecardData> findBySur... |
<<<<<<<
@Column(name = "principal_threshold_for_last_instalment", scale = 2, precision = 5, nullable = false)
private BigDecimal principalThresholdForLastInstalment;
=======
@Column(name = "account_moves_out_of_npa_only_on_arrears_completion")
private boolean accountMovesOutOfNPAOnlyOnArrearsCompleti... |
<<<<<<<
import org.mifosplatform.infrastructure.core.data.DataValidatorBuilder;
import org.mifosplatform.infrastructure.core.exception.PlatformApiDataValidationException;
=======
import org.mifosplatform.infrastructure.core.exception.GeneralPlatformDomainRuleException;
>>>>>>>
import org.mifosplatform.infrastructure... |
<<<<<<<
+ " tr.overpayment_portion_derived as overpayment, tr.outstanding_loan_balance_derived as outstandingLoanBalance, "
=======
+ " tr.overpayment_portion_derived as overpayment, "
+ " tr.submitted_on_date as submittedOnDate, "
>>>>>>>
... |
<<<<<<<
public Integer getRepaymentFrequencyNthDayType() {
return this.repaymentFrequencyNthDayType;
}
public void setRepaymentFrequencyNthDayType(Integer repaymentFrequencyNthDayType) {
this.repaymentFrequencyNthDayType = repaymentFrequencyNthDayType;
}
public Integer getRepaymen... |
<<<<<<<
private final AccountingDropdownReadPlatformService accountingDropdownReadPlatformService;
=======
private final NamedParameterJdbcTemplate namedParameterJdbcTemplate;
>>>>>>>
private final AccountingDropdownReadPlatformService accountingDropdownReadPlatformService;
private final NamedP... |
<<<<<<<
SosContentCache cache = Configurator.getInstance().getCache();
Map<String, String> values = new TreeMap<>();
=======
ContentCache cache = Configurator.getInstance().getCache();
Map<String, String> values = new TreeMap<String, String>();
values.put(LAST_UPDATE_TIME, null... |
<<<<<<<
} else if (wrapper.isGuaranteeRecovery()) {
handler = this.applicationContext.getBean("recoverFromGuarantorCommandHandler", NewCommandSourceHandler.class);
} else {
=======
}
else if (wrapper.isLoanRefundByCash()) {
handler = thi... |
<<<<<<<
@SuppressWarnings("unused")
private final EnumOptionData loanType;
=======
private final SavingsAccountStatusEnumData savingAccountStatus;
>>>>>>>
@SuppressWarnings("unused")
private final EnumOptionData loanType;
private final SavingsAccountStatusEnumData savingAccountStatus;
<<<<<<<
... |
<<<<<<<
import io.swagger.annotations.*;
=======
import java.util.HashMap;
import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.Quer... |
<<<<<<<
import io.swagger.annotations.*;
=======
import com.sun.jersey.core.header.FormDataContentDisposition;
import com.sun.jersey.multipart.FormDataParam;
>>>>>>>
import io.swagger.annotations.*;
import com.sun.jersey.core.header.FormDataContentDisposition;
import com.sun.jersey.multipart.FormDataParam;
<<<<<<<
... |
<<<<<<<
import com.google.gson.JsonElement;
import io.swagger.annotations.*;
=======
import java.io.InputStream;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.Defa... |
<<<<<<<
public CommandWrapperBuilder assignRole(Long groupId) {
this.actionName = "ASSIGNROLE";
this.entityName = "GROUP";
this.groupId = groupId;
this.entityId = null;
this.href = "/groups/"+groupId+"?command=assignRole";
return this;
}
public CommandWrappe... |
<<<<<<<
//update repayment dates of repayment schedule installaments
LocalDate tmpFromDate = getDisbursementDate();//first repayment's from date is same as disbursement date.
=======
LocalDate tmpFromDate = this.getDisbursementDate();
final PeriodFrequencyType repaymentPeriodFrequency... |
<<<<<<<
import org.mifosplatform.organisation.office.domain.Office;
import org.mifosplatform.organisation.staff.domain.Staff;
=======
import org.mifosplatform.portfolio.account.PortfolioAccountType;
import org.mifosplatform.portfolio.account.service.AccountTransfersReadPlatformService;
>>>>>>>
import org.mifosplatfo... |
<<<<<<<
=======
private String savingsId = null;
private boolean transferInterest = false;
>>>>>>>
private String savingsId = null;
private boolean transferInterest = false;
<<<<<<<
=======
map.put("linkAccountId", savingsId);
map.put("transferInterestToSavings", transferInterest);... |
<<<<<<<
@ApiOperation(value = "List all Surveys", notes = "")
@ApiResponses({@ApiResponse(code = 200, message = "", response = SurveyData.class, responseContainer = "list")})
public List<SurveyData> fetchActiveSurveys() {
=======
public List<SurveyData> fetchAllSurveys(@QueryParam("isActive") final Bo... |
<<<<<<<
public static final String principalThresholdForLastInstalmentParamName = "principalThresholdForLastInstalment";
public static final BigDecimal DEFAULT_PRINCIPAL_THRESHOLD_FOR_MULTI_DISBURSE_LOAN = BigDecimal.valueOf(50);
public static final BigDecimal DEFAULT_PRINCIPAL_THRESHOLD_FOR_SINGLE_DISBURSE... |
<<<<<<<
this.createStandingInstructionAtDisbursement = createStandingInstructionAtDisbursement;
=======
/*
* During loan origination stage and before loan is approved
* principal_amount, approved_principal and principal_amount_demanded
* will same amount and that am... |
<<<<<<<
/** the delegatorCache will now be a HashMap, allowing reload of definitions,
* but the delegator will always be the same object for the given name */
public static Map<String, GenericDelegator> delegatorCache = FastMap.newInstance();
protected String delegatorBaseName = null;
protected Str... |
<<<<<<<
Debug.logWarning(e, module);
=======
e.printStackTrace();
return "error";
>>>>>>>
Debug.logWarning(e, module);
return "error"; |
<<<<<<<
=======
import com.ning.http.client.RequestBuilder;
import com.ning.http.client.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.zendesk.client.v2.model.Attachment;
import org.zendesk.client.v2.model.Audit;
import org.zendesk.client.v2.model.Comment;
import org.zendesk.client.v2.m... |
<<<<<<<
public static void performCompletion(@NotNull final String path,
@Nullable final String fileContent,
final int line,
final int column,
@NotNull final Comp... |
<<<<<<<
import org.jenkinsci.test.acceptance.plugins.AbstractCodeStylePluginFreestyleBuildSettings;
=======
import org.jenkinsci.test.acceptance.plugins.analysis_core.AbstractCodeStylePluginFreestyleBuildSettings;
import org.jenkinsci.test.acceptance.po.Control;
>>>>>>>
import org.jenkinsci.test.acceptance.plugins.a... |
<<<<<<<
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.concurrent.ExecutionException;
=======
>>>>>>>
import java.util.concurrent.ExecutionException;
<<<<<<<
/**
* Builds a job on an slave and check... |
<<<<<<<
import static java.util.Collections.singletonMap;
=======
import static org.junit.Assert.assertTrue;
>>>>>>>
import static java.util.Collections.singletonMap;
import static org.junit.Assert.assertTrue;
<<<<<<<
* Generates a slave and configure job to run on slave
* @param job Job to run on slav... |
<<<<<<<
case "firefox":
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference(LANGUAGE_SELECTOR, "en");
return new FirefoxDriver(profile);
case "ie":
case "iexplore":
case "iexplorer":
return new InternetExplorerDriver();
... |
<<<<<<<
String hN = GerritTriggerEnv.getInstance().getHostName();
Process curl = new ProcessBuilder("curl", "-n", "https://" + hN + "/a/changes/" + changeId + "/revisions/current/review").start();
String rev = stringFrom(curl);
assertThat(Integer.parseInt(valueFrom(rev, "... |
<<<<<<<
injector.getInstance(TestLifecycle.class).startTestScope();
for (SubWorld sw : subworlds.list(injector)) {
sw.injector.getInstance(TestLifecycle.class).startTestScope();
}
=======
getInjector().getInstance(TestLifecycle.class).startTestScope();
>>>>>>>
get... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.