conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
public String apply(Role role) {
return role.getName();
=======
public JValue ap(Role role) {
return roleToJson(role);
>>>>>>>
public JValue apply(Role role) {
return roleToJson(role);
<<<<<<<
public JString apply(String string) {
return v(string);
=======
publi... |
<<<<<<<
if (searchProvider.getClient() == null) {
return;
}
=======
if (searchProvider instanceof DevNullSearchProvider) {
return;
}
>>>>>>>
if (searchProvider instanceof DevNullSearchProvider) {
return;
}
if (searchProvider.getClient() == null) {
return;
} |
<<<<<<<
import com.gentics.mesh.core.data.diff.FieldChangeTypes;
import com.gentics.mesh.core.data.diff.FieldContainerChange;
=======
import com.gentics.mesh.core.data.generic.MeshVertexImpl;
>>>>>>>
import com.gentics.mesh.core.data.diff.FieldChangeTypes;
import com.gentics.mesh.core.data.diff.FieldContainerChange;... |
<<<<<<<
=======
import com.gentics.mesh.util.URIUtils;
import io.vertx.core.http.HttpClientOptions;
>>>>>>>
import com.gentics.mesh.util.URIUtils;
import io.vertx.core.http.HttpClientOptions;
<<<<<<<
public MeshRequest<WebRootResponse> webroot(String projectName, String[] pathSegments, ParameterProvider... paramet... |
<<<<<<<
public static final String MESH_CLUSTER_TOPOLOGY_LOCK_TIMEOUT_ENV = "MESH_CLUSTER_TOPOLOGY_LOCK_TIMEOUT";
=======
public static final String MESH_CLUSTER_COORDINATOR_TOPOLOGY_ENV = "MESH_CLUSTER_COORDINATOR_TOPOLOGY";
>>>>>>>
public static final String MESH_CLUSTER_TOPOLOGY_LOCK_TIMEOUT_ENV = "MESH_CLUSTE... |
<<<<<<<
=======
import static com.gentics.mesh.core.rest.admin.consistency.InconsistencySeverity.MEDIUM;
import static com.gentics.mesh.core.rest.error.Errors.conflict;
import static com.gentics.mesh.core.rest.error.Errors.error;
>>>>>>>
<<<<<<<
=======
public Tag findByName(String name) {
return out(getRootLa... |
<<<<<<<
import static com.gentics.mesh.core.data.relationship.GraphRelationships.HAS_MICROSCHEMA_CONTAINER;
import static com.gentics.mesh.core.data.search.SearchQueueEntryAction.DELETE_ACTION;
import java.io.IOException;
import java.util.List;
import org.apache.commons.lang.NotImplementedException;
import com.genti... |
<<<<<<<
// Overwrite the details with the vlaues generated by the diagram algorithm
details.x.center = GeomAttribute.makeFunction("scale_x(d.x)");
details.y.center = GeomAttribute.makeFunction("scale_y(d.y)");
details.overallSize = GeomAttribute.makeFunction("scale_x(d.r) - scale_x(0)");... |
<<<<<<<
public TemporalPartialWorldGenerator(Model model, Collection queryTemplates) {
this.model = model;
currentPartialWorld = new DefaultPartialWorld();
queryInstantiator = new TemporalQueriesInstantiator(model, queryTemplates);
}
/**
* Augments and returns the current world based on the instan... |
<<<<<<<
/**
* Return the element from a singleton set.
*/
public static FixedFunction IOTA;
=======
/**
* Interpret the case expression in fixed function, also used for if then else
* in fixed function
*/
public static TemplateFunction CASE_IN_FIXED_FUNC;
>>>>>>>
/**
* Return the elemen... |
<<<<<<<
import static blog.BLOGUtil.parseQuery_NE;
import junit.framework.TestCase;
=======
import static blog.BLOGUtil.parseEvidence_NE;
import static blog.BLOGUtil.parseQuery_NE;
import java.util.List;
import java.util.Set;
import junit.framework.TestCase;
import blog.BLOGUtil;
import blog.DBLOGUtil;
>>>>>>>
imp... |
<<<<<<<
static public MatrixLib createVector(double... args) {
double[][] ary = new double[1][args.length];
for (int i = 0; i < args.length; i++) {
ary[0][i] = args[i];
}
return MatrixFactory.fromArray(ary);
}
=======
static public MatrixLib createRowVector(double... args) {
double[][... |
<<<<<<<
import hudson.model.AbstractProject;
import hudson.model.EnvironmentContributingAction;
import jenkins.model.Jenkins;
=======
import hudson.model.Result;
>>>>>>>
import hudson.model.AbstractProject;
import hudson.model.EnvironmentContributingAction;
import jenkins.model.Jenkins;
import hudson.model.Result;
... |
<<<<<<<
private static final int MINIMUM_DX_FOR_HORIZONTAL_DRAG = 5;
private static final int MINIMUM_DY_FOR_VERTICAL_DRAG = 15;
private static final float X_MIN_VELOCITY = 1300;
private static final float Y_MIN_VELOCITY = 1300;
private DraggableView draggableView;
private View draggedView;
... |
<<<<<<<
//list.add("sudo -u " + shellUserName + " sh "+shellFilePath);
list.add("sudo -u " + shellUid + " sh "+shellFilePath);
list.add("sudo -u " + shellUid + " sh "+shellFilePath);
=======
list.add(shellPrefix + " sh "+shellFilePath);
>>>>>>>
list.add("sudo -u " + shellUid + " sh "+shellFilePath);
lis... |
<<<<<<<
=======
@Override
public void removeJob(Long actionId) throws ZeusException{
try{
JobPersistence action = (JobPersistence)getHibernateTemplate().get(JobPersistence.class, actionId);
if(action != null){
getHibernateTemplate().delete(action);
}
}catch(DataAccessException e){
throw new Z... |
<<<<<<<
//System.out.println("worker start:"+holder.getDebugRunnings().size());
=======
System.out.println("schedule worker start:"+holder.getDebugRunnings().size());
>>>>>>>
System.out.println("worker start:"+holder.getDebugRunnings().size());
System.out.println("schedule worker start:"+holder.g... |
<<<<<<<
tmp.autoRegister = prefs.getBoolean(PreferencesUtils.AUTO_REGISTER, tmp.autoRegister);
tmp.debugIntent = prefs.getBoolean(PreferencesUtils.KEY_DEBUG_INTENT, tmp.debugIntent);
tmp.foregroundNotification = prefs.getBoolean(PreferencesUtils.KEY_FOREGROUND_NOTIFICATION, tmp.foreg... |
<<<<<<<
import org.junit.Test;
import reactor.core.Scannable;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import reactor.core.Scannable;
<<<<<<<
import static org.assertj.core.api.Assertions.assertThat;
=======
import static org.assertj.core.api.Assertions.assertThatExce... |
<<<<<<<
import java.util.function.Supplier;
import org.junit.Test;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import java.util.function.Supplier;
import org.junit.jupiter.api.Test; |
<<<<<<<
import static org.assertj.core.api.Assertions.assertThat;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThat; |
<<<<<<<
import com.pivovarit.function.ThrowingRunnable;
import org.junit.Test;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import com.pivovarit.function.ThrowingRunnable;
<<<<<<<
=======
@Test
public void negativeParallelism() throws Exception {
assertThatExceptionO... |
<<<<<<<
public CoreSubscriber<? super T> subscribeOrReturn(CoreSubscriber<? super R> actual) {
if (FluxFlatMap.trySubscribeScalarMap(source, actual, mapper, false)) {
return null;
=======
public void subscribe(CoreSubscriber<? super R> actual) {
if (FluxFlatMap.trySubscribeScalarMap(source, actual, mapper, ... |
<<<<<<<
import org.junit.Test;
import org.reactivestreams.Subscriber;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import org.reactivestreams.Subscriber; |
<<<<<<<
import java.util.function.Supplier;
import org.junit.Test;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import java.util.function.Supplier; |
<<<<<<<
import static org.assertj.core.api.Assertions.assertThat;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThat; |
<<<<<<<
import org.junit.Test;
=======
import org.junit.Assert;
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
<<<<<<<
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
i... |
<<<<<<<
import org.junit.Test;
import reactor.core.Scannable;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import reactor.core.Scannable;
<<<<<<<
import static org.assertj.core.api.Assertions.assertThat;
=======
import static org.assertj.core.api.Assertions.assertThatExce... |
<<<<<<<
import org.junit.Test;
import reactor.core.Scannable;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import reactor.core.Scannable;
<<<<<<<
import static org.assertj.core.api.Assertions.assertThat;
=======
import static org.assertj.core.api.Assertions.assertThatExce... |
<<<<<<<
// TODO return subscriber (tail-call optimization)?
FluxIterable.subscribe(actual, it);
return null;
=======
FluxIterable.subscribe(actual, it, knownToBeFinite);
return;
>>>>>>>
// TODO return subscriber (tail-call optimization)?
FluxIterable.subscribe(actual, it, knownToBeFinite);
r... |
<<<<<<<
boolean onNextNewBuffer() {
=======
private void onNextNewBuffer() {
>>>>>>>
private void onNextNewBuffer() {
<<<<<<<
cleanup();
DrainUtils.postComplete(actual, this, REQUESTED, this, this);
}
boolean emit(C b) {
if (fastpath) {
actual.onNext(b);
return false;
}
long r = RE... |
<<<<<<<
import static org.junit.Assert.assertFalse;
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
=======
>>>>>>>
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
<<<<<<<
assertThat(sp1.currentSubscriberCount()).as("sp1 has subscriber").isZero();
=======
asse... |
<<<<<<<
import org.junit.Test;
import reactor.core.CoreSubscriber;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import reactor.core.CoreSubscriber;
<<<<<<<
import reactor.core.Disposables;
import reactor.core.Exceptions;
import reactor.core.Scannable;
=======
>>>>>>>
im... |
<<<<<<<
import org.junit.Before;
import org.junit.function.ThrowingRunnable;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.TestFactory;
import org.junit.jupiter.api.function.ThrowingConsumer;
=======
import org.junit.jupiter.api.AfterEach;
import org.... |
<<<<<<<
import reactor.core.CorePublisher;
import reactor.core.CoreSubscriber;
=======
>>>>>>>
import reactor.core.CorePublisher;
import reactor.core.CoreSubscriber;
<<<<<<<
@Test
public void hooks() throws Exception {
String key = UUID.randomUUID().toString();
try {
Hooks.onLastOperator(key, p -> new Co... |
<<<<<<<
import org.junit.Test;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
<<<<<<<
@SuppressWarnings("deprecation") //retry with Predicate are deprecated, the underlying implementation is going to be removed ultimately
=======
import static org.assertj.core.api.Assertion... |
<<<<<<<
public final CoreSubscriber<? super I> subscribeOrReturn(CoreSubscriber<? super O> actual) {
=======
public String stepName() {
if (source instanceof Scannable) {
return Scannable.from(source).stepName();
}
return Scannable.super.stepName();
}
@Override
public void subscribe(CoreSubscriber<? su... |
<<<<<<<
import org.junit.Test;
import reactor.core.Scannable;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import reactor.core.Scannable; |
<<<<<<<
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST; |
<<<<<<<
import org.junit.Ignore;
import org.junit.Test;
=======
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.reactivestreams.Processor;
>>>>>>>
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupi... |
<<<<<<<
@Test(timeout = TIMEOUT)
public void multiplexUsingDispatchersAndSplit() {
final Sinks.Many<Integer> forkEmitterProcessor = Sinks.many().multicast().onBackpressureBuffer();
final Sinks.Many<Integer> computationEmitterProcessor = Sinks.unsafe()
... |
<<<<<<<
import org.eclipse.persistence.annotations.CascadeOnDelete;
=======
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
>>>>>>>
import org.eclipse.persistence.annotations.CascadeOnDelete;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
<<<<<<<
import javax.persistence.FetchType;
=======
i... |
<<<<<<<
RaceTestUtils.race(r, r, Schedulers.boundedElastic());
=======
RaceTestUtils.race(Schedulers.elastic(), r, r);
>>>>>>>
RaceTestUtils.race(r, r);
<<<<<<<
RaceTestUtils.race(r, r, Schedulers.boundedElastic());
=======
RaceTestUtils.race(Schedulers.elastic(), r, r);
>>>>>>>
RaceTestUtils.r... |
<<<<<<<
@Override
public Object scanUnsafe(Attr key) {
if (key == Attr.RUN_STYLE) return Attr.RunStyle.SYNC;
return super.scanUnsafe(key);
}
static final class SingleSubscriber<T> extends Operators.MonoSubscriber<T, T> {
=======
static final class SingleSubscriber<T> extends Operators.MonoInnerProducerBase... |
<<<<<<<
import org.junit.Test;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
<<<<<<<
import static org.awaitility.Awaitility.await;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.asse... |
<<<<<<<
import org.junit.Test;
=======
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test; |
<<<<<<<
import static org.assertj.core.api.Assertions.assertThat;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThat; |
<<<<<<<
import org.junit.Test;
=======
import org.junit.Assert;
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test; |
<<<<<<<
import org.junit.Test;
=======
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
<<<<<<<
import static org.assertj.core.api.Assertions.assertThat;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import st... |
<<<<<<<
import org.assertj.core.api.Assertions;
import org.junit.AfterClass;
=======
import org.junit.jupiter.api.AfterAll;
>>>>>>>
import org.junit.jupiter.api.AfterAll;
<<<<<<<
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
import static org.assertj.core.api.AssertionsForClassTypes... |
<<<<<<<
import org.junit.Test;
import org.reactivestreams.Subscription;
import reactor.core.CoreSubscriber;
import reactor.core.Scannable;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import org.reactivestreams.Subscription;
import reactor.core.CoreSubscriber;
import reactor.... |
<<<<<<<
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST; |
<<<<<<<
* Return the user provided context that was set at construction time.
*
* @return the user provided context that will be accessible via {@link RetrySignal#retryContextView()}.
*/
public ContextView retryContext() {
return retryContext;
}
/**
* State for a {@link Flux#retryWhen(Retry)} Flux retr... |
<<<<<<<
import org.junit.Test;
import reactor.core.Scannable;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import reactor.core.Scannable; |
<<<<<<<
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
=======
import java.util.concurrent.ConcurrentLinkedQueue;
import java... |
<<<<<<<
import org.junit.Test;
import org.mockito.Mockito;
import org.reactivestreams.Subscription;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import org.reactivestreams.Subscription; |
<<<<<<<
* <ul>
* <li>{@link #parallel()}: Optimized for fast {@link Runnable} non-blocking executions </li>
* <li>{@link #single}: Optimized for low-latency {@link Runnable} one-off executions </li>
* <li>{@link #elastic()}: Optimized for longer executions, an alternative for blocking tasks where the nu... |
<<<<<<<
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST; |
<<<<<<<
import org.junit.Ignore;
import org.junit.Test;
=======
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
<<<<<<<
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
=======
impor... |
<<<<<<<
@Reference(name = "UserDetailsService")
=======
/** concurrent attemtps saved in a cache */
private LoadingCache<String, Object> userDetailsCache;
/** A token to store in the miss cache */
private Object nullToken = null;
>>>>>>>
/** concurrent attemtps saved in a cache */
private LoadingCach... |
<<<<<<<
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST;
=======
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
>>>>>>>
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static reactor.core.publisher.Sinks.EmitFailureHandler.FAIL_FAST; |
<<<<<<<
import org.assertj.core.api.Assertions;
import org.junit.Test;
=======
import org.junit.jupiter.api.Test;
>>>>>>>
import org.junit.jupiter.api.Test;
import org.assertj.core.api.Assertions; |
<<<<<<<
import org.hawkular.metrics.core.api.Gauge;
import org.hawkular.metrics.core.api.GaugeData;
=======
import org.hawkular.metrics.core.api.DataPoint;
import org.hawkular.metrics.core.api.Metric;
>>>>>>>
import org.hawkular.metrics.core.api.DataPoint;
import org.hawkular.metrics.core.api.Metric;
<<<<<<<
pr... |
<<<<<<<
import com.shootoff.camera.AutoCalibration.AutoCalibrationManager;
import com.shootoff.camera.ShotDetection.ShotDetectionManager;
=======
import com.shootoff.camera.shotdetection.ShotDetectionManager;
>>>>>>>
import com.shootoff.camera.shotdetection.ShotDetectionManager;import com.shootoff.camera.AutoCalibr... |
<<<<<<<
=======
private static final DeduplicationProcessor deduplicationProcessor = new DeduplicationProcessor();
>>>>>>>
<<<<<<<
=======
this.shotDetectionManager = new ShotDetectionManager(this, config, canvas);
>>>>>>>
<<<<<<<
=======
this.shotDetectionManager = new ShotDetectionManager(this, confi... |
<<<<<<<
=======
@FXML private GridPane buttonsGridPane;
>>>>>>>
@FXML private GridPane buttonsGridPane;
<<<<<<<
if (autoCalibrationTimer != null) {
autoCalibrationTimer.cancel();
autoCalibrationTimer = null;
}
if (disableShotDetectionTimer != null) {
disableShotDetectionTimer.cancel();
... |
<<<<<<<
protected long lastCameraTimestamp = -1;
protected long lastFrameCount = 0;
=======
private long lastCameraTimestamp = -1;
private long lastFrameCount = 0;
>>>>>>>
private long lastCameraTimestamp = -1;
private long lastFrameCount = 0;
<<<<<<<
private final Optional<CameraErrorView> cameraErrorVi... |
<<<<<<<
private BufferedImage bImage;
=======
>>>>>>>
<<<<<<<
@Override
public void run() {
final CountDownLatch latch = new CountDownLatch(1);
Platform.runLater(new Runnable() {
@Override
public void run() {
try {
bImage = getCanvasManager().getBufferedImage();
} fina... |
<<<<<<<
import javafx.util.Callback;
=======
import javafx.scene.paint.Color;
>>>>>>>
import javafx.scene.paint.Color;
<<<<<<<
private final ExecutorService detectionExecutor = Executors.newFixedThreadPool(200);
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<... |
<<<<<<<
subPool.increaseObjects(1); // increase objects and return one, it will return null if reach max size
}
if (freeObject == null) { // no more free objects in this parition, wait then
=======
// try other partitions
for (int i = 0; i < this.partitions.length; ... |
<<<<<<<
int height = chunk.getHeight(dx & 0xf, dz & 0xf) + 1;
while (height > 3
&& IGNORED_COVER_BLOCKS.contains(chunk.getBlock(dx, height, dz))) {
height--;
=======
int h = chunk.getHeightValue(dx & 0xf, dz & 0xf) + 1;
while (h > 3
&& IGNORED_COVER_BLOCKS.contains(chunk.getBlock(dx, h, dz))... |
<<<<<<<
import static com.android.launcher3.notification.NotificationMainView.NOTIFICATION_ITEM_INFO;
import static com.android.launcher3.popup.PopupPopulator.MAX_SHORTCUTS;
import static com.android.launcher3.popup.PopupPopulator.MAX_SHORTCUTS_IF_NOTIFICATIONS;
import static com.android.launcher3.userevent.nano.Launch... |
<<<<<<<
import lu.nowina.nexu.flow.StageHelper;
=======
import lu.nowina.nexu.NexuException;
import lu.nowina.nexu.api.Feedback;
import lu.nowina.nexu.generic.DebugHelper;
>>>>>>>
import lu.nowina.nexu.flow.StageHelper;
import lu.nowina.nexu.NexuException;
import lu.nowina.nexu.api.Feedback;
import lu.nowina.nexu.ge... |
<<<<<<<
private static final String CORS_ALLOWED_ORIGIN = "cors_allowed_origin";
=======
private static final String TICKET_URL = "ticket_url";
private static final String ENABLE_INCIDENT_REPORT = "enable_incident_report";
>>>>>>>
private static final String CORS_ALLOWED_ORIGIN = "cors_allowed_origin";
p... |
<<<<<<<
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.cfg.GeneratorSettings;
=======
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind... |
<<<<<<<
.enableDefaultTyping(DefaultTyping.NON_FINAL, JsonTypeInfo.As.WRAPPER_OBJECT)
=======
.enableDefaultTyping(NoCheckSubTypeValidator.instance,
ObjectMapper.DefaultTyping.NON_FINAL, JsonTypeInfo.As.WRAPPER_OBJECT)
>>>>>>>
.enableDefaultTypi... |
<<<<<<<
@Override // since 3.0
public XMLStreamReader2 getInputSource() {
return _xmlTokens.getXmlReader();
}
=======
/*
/**********************************************************************
/* Overrides: capability introspection methods
/**************************************... |
<<<<<<<
// @since 2.1
@Override
public final String getValueAsString() throws IOException {
return getValueAsString(null);
}
@Override
public String getValueAsString(String defValue) throws IOException
{
JsonToken t = _currToken;
if (t == null) {
return n... |
<<<<<<<
ObjectMapper mapper = XmlMapper.builder()
.enableDefaultTyping(DefaultTyping.NON_FINAL, JsonTypeInfo.As.WRAPPER_OBJECT)
=======
ObjectMapper mapper = mapperBuilder()
>>>>>>>
ObjectMapper mapper = mapperBuilder()
.enableDefaultTyping(DefaultTyping.NON_FI... |
<<<<<<<
sw = _xmlOutputFactory.createXMLStreamWriter(out, "UTF-8");
} catch (XMLStreamException e) {
return StaxUtil.throwAsGenerationException(e, null);
=======
sw = _xmlOutputFactory.createXMLStreamWriter(_decorate(ctxt, out), "UTF-8");
} catch (Exception e) {
... |
<<<<<<<
final List<Execution> executionList,
final RdClientConfig config
=======
final AppConfig config,
final Stream<Execution> executions
>>>>>>>
final RdClientConfig config,
final Stream<Execution> executions |
<<<<<<<
out = client.getService().getOutput(id, 0L, 0L, max, compacted);
=======
out = serviceClient.getService().getOutput(id, 0L, 0L, max);
>>>>>>>
out = serviceClient.getService().getOutput(id, 0L, 0L, max, compacted);
<<<<<<<
return followOutput(client, output, id, ma... |
<<<<<<<
List<String> referrerChain = new ArrayList<String>(1);
String parentUrl = navigationUrl.get();
referrerChain.add(parentUrl);
=======
getProvider().waitForReady();
List<String> referrerChain = new ArrayList<>(1);
referrerChain.add(url);
Stri... |
<<<<<<<
private List<EngineCreatedListener> engineCreatedListeners = new CopyOnWriteArrayList<>();
private List<EngineDisposedListener> engineDisposedListeners = new CopyOnWriteArrayList<>();
=======
private List<EngineCreatedListener> engineCreatedListeners =
new CopyOnWriteArrayList<EngineCreatedListener>... |
<<<<<<<
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.util.... |
<<<<<<<
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
import javax.script.Bindings;
import javax.script.Compil... |
<<<<<<<
if (blacklistEntries != null) {
for (BlacklistEntry blacklistEntry : blacklistEntries) {
if (blacklistEntry.getPattern().matcher(url).matches()
&& blacklistEntry.getMethod().matcher(method.getMethod()).matches()) {
mockResponseCode = blacklistEntry.ge... |
<<<<<<<
import javax.net.ssl.SSLSocketFactory;
=======
import javax.net.ssl.SSLContext;
>>>>>>>
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.SSLContext;
<<<<<<<
private final SSLSocketFactory sslSocketFactory;
=======
private final SSLContext sslContext;
>>>>>>>
private final SSLSocket... |
<<<<<<<
import static ninja.Aws4HashCalculator.AWS_AUTH4_PATTERN;
import static ninja.AwsHashCalculator.AWS_AUTH_PATTERN;
=======
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.time.ZoneOffset;
impor... |
<<<<<<<
private final String _sourceName;
private final String _sourceRepository;
=======
private final Integer _mergeRequestIid;
>>>>>>>
private final Integer _mergeRequestIid;
private final String _sourceName;
private final String _sourceRepository;
<<<<<<<
public GitlabCause(Integer m... |
<<<<<<<
static final String JAVA_MAIN_CLASS_ENV_VAR = "JAVA_MAIN_CLASS";
=======
private static final String JAVA_MAIN_CLASS_ENV_VAR = "JAVA_MAIN_CLASS";
private static final String JAVA_OPTIONS = "JAVA_OPTIONS";
>>>>>>>
static final String JAVA_MAIN_CLASS_ENV_VAR = "JAVA_MAIN_CLASS";
private sta... |
<<<<<<<
protected final DefaultImageLookup imageLookup;
protected final MavenProject project;
=======
private final String[] NO_FILES = {};
protected MavenProject project;
>>>>>>>
protected final DefaultImageLookup imageLookup;
protected final MavenProject project;
private final String[]... |
<<<<<<<
=======
>>>>>>> |
<<<<<<<
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Widget;
import com.fasterxml.jackson.annotation.JsonTypeName;
=======
>>>>>>>
import com.fasterxml.jackson.annotation.JsonTypeName;
<<<<<<<
public void setCondition(ColumnCondition condition) {
this.condition = con... |
<<<<<<<
import org.hamcrest.collection.IsIterableContainingInAnyOrder;
=======
>>>>>>>
import org.hamcrest.collection.IsIterableContainingInAnyOrder;
<<<<<<<
import static org.junit.Assert.assertThat;
=======
import static org.junit.Assert.assertSame;
>>>>>>>
import static org.junit.Assert.assertSame;
import ... |
<<<<<<<
fileListBox = new ListBoxInput(false, false);
updateListbox();
=======
fileListBox = new ListBoxInput(false);
updateListBox();
>>>>>>>
fileListBox = new ListBoxInput(false, false);
updateListBox(); |
<<<<<<<
List<JSONObject> servers = new ArrayList<>();
=======
List<JSONObject> servers = new ArrayList<JSONObject>();
// Get service statistics for all hosts and services
List<ServiceStatistics> servicesStatistics = serviceRegistry.getServiceStatistics();
>>>>>>>
List<JSONObject> servers = new Ar... |
<<<<<<<
private TableInputServiceAsync tableInputService;
private TabWrapper messageReceiver;
private TableInputTab parent;
=======
>>>>>>>
private TableInputServiceAsync tableInputService;
private TabWrapper messageReceiver;
private TableInputTab parent;
<<<<<<<
=======
private TabWrapper message... |
<<<<<<<
/** A parser for handling JSON documents inside the body of a request. **/
private static final JSONParser parser = new JSONParser();
private final List<EventCatalogUIAdapter> eventCatalogUIAdapters = new ArrayList<>();
private final List<SeriesCatalogUIAdapter> seriesCatalogUIAdapters = new ArrayList<... |
<<<<<<<
ResultsTablePage resultsTableContent =
=======
// ScrollPanel resultsTab = new ScrollPanel();
ResultsTablePage resultsTableContent =
>>>>>>>
// ScrollPanel resultsTab = new ScrollPanel();
ResultsTablePage resultsTableContent =
<<<<<<<
// Execute algorithm and start fetching results
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.