conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
IProcess loginProcess = loggedInNode.login(credentials, rootDirectory.toPath());
=======
IProcess loginProcess = loggedInNode.getUserManagement().login(credentials, rootDirectory);
>>>>>>>
IProcess loginProcess = loggedInNode.getUserManagement().login(credentials, rootDirectory.toPath());
<<<<<<<
IP... |
<<<<<<<
public static ProcessComponent buildUploadProcess(List<File> files, FileProcessAction action,
=======
public static IProcessComponent<Void> buildUploadProcess(List<Path> files, FileProcessAction action,
>>>>>>>
public static IProcessComponent<Void> buildUploadProcess(List<File> files, FileProcessAction ac... |
<<<<<<<
import org.hive2hive.core.network.data.DataManager;
import org.hive2hive.core.network.data.NetworkContent;
import org.hive2hive.core.processes.framework.RollbackReason;
=======
import org.hive2hive.core.network.data.IDataManager;
import org.hive2hive.core.processes.framework.exceptions.InvalidProcessStateExce... |
<<<<<<<
MessageProcessStep step = new MessageProcessStep(sender, receiver, testContent);
Process process = new Process(sender, step) {
=======
DummyProcessStep step = new DummyProcessStep(sender, receiver, testContent);
Process process = new Process(sender) {
>>>>>>>
MessageProcessStep step = new MessagePr... |
<<<<<<<
import org.hive2hive.core.file.FileChunkUtil;
import org.hive2hive.core.log.H2HLoggerFactory;
import org.hive2hive.core.model.Chunk;
import org.hive2hive.core.model.MetaChunk;
=======
import org.hive2hive.core.file.FileUtil;
>>>>>>>
import org.hive2hive.core.file.FileChunkUtil;
import org.hive2hive.core.mode... |
<<<<<<<
=======
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
>>>>>>>
import java.util.ArrayList;
import java.util.List;
<<<<<<<
=======
import org.hive2hive.processframework.exceptions.InvalidProcessStateException;
>>>>>>>
<<<<<<<
=======
import org.hive2hive.processframework.ex... |
<<<<<<<
Aria.upload(this)
.load(FILE_PATH)
.setUploadUrl("http://172.18.104.50:8080/upload/sign_file")
.setAttachment("file")
.start();
//new Thread(new Runnable() {
// @Override public void run() {
// test();
// }
//}).start();
=======
Aria.upload(this... |
<<<<<<<
import com.arialyy.aria.orm.Foreign;
import com.arialyy.aria.orm.Ignore;
=======
import com.arialyy.aria.core.inf.AbsTaskEntity;
>>>>>>>
import com.arialyy.aria.orm.Foreign;
import com.arialyy.aria.core.inf.AbsTaskEntity;
<<<<<<<
@Primary @Foreign(table = UploadTaskEntity.class, column = "key") private St... |
<<<<<<<
/**
* If is set to {@code true} the LogCache is shared. Shared cache defined within a class loader caches raw binary
* data (contents of .xd files) of all {@linkplain Environment} instances created in scope of this class loader.
* By default, the LogCache is shared.
* <p>Mutable at runti... |
<<<<<<<
public static final String GC_USE_EXCLUSIVE_TRANSACTION = "exodus.gc.useExclusiveTransaction";
=======
/**
* If a file is successfully cleaned then delete after this number of milliseconds.
*/
public static final String GC_FILES_DELETION_DELAY = "exodus.gc.filesDeletionDelay"; // in mil... |
<<<<<<<
import org.owasp.appsensor.analysis.Rule;
=======
import org.owasp.appsensor.core.util.DateUtils;
>>>>>>>
import org.owasp.appsensor.analysis.Rule;
import org.owasp.appsensor.core.util.DateUtils;
<<<<<<<
this.earliest = earliest;
return this;
}
public Rule getRule() {
return this.rule;
}
public... |
<<<<<<<
=======
import uiandio.GraphImporter;
import algorithms.AStar;
import algorithms.AcceleratedAStar;
import algorithms.BasicThetaStar;
>>>>>>>
import uiandio.GraphImporter;
import algorithms.AcceleratedAStar;
import algorithms.BasicThetaStar;
<<<<<<<
import algorithms.RestrictedVisibilityGraphAlgorithm;
impor... |
<<<<<<<
return DefaultGenerator.generateSeeded(-1155797147, 47, 32, 38, 46, 30, 20, 1); // issue for Strict Theta*
case 14 :
return DefaultGenerator.generateSeeded(-1155849806, 11, 13, 40, 7, 12, 9, 0); // Strict Theta* longer than Basic Theta*
=======
retur... |
<<<<<<<
=======
Directory midoDir = zkConnection.getRootDirectory().getSubDirectory(
config.configurationAt("midolman").getString("midolman_root_key"));
>>>>>>>
Directory midoDir = zkConnection.getRootDirectory().getSubDirectory(
config.configurationAt... |
<<<<<<<
import com.midokura.packets.Net;
import com.midokura.sdn.flows.PacketMatch;
=======
>>>>>>>
import com.midokura.packets.Net; |
<<<<<<<
=======
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
>>>>>>>
<<<<<<<
import net.somethingdreadful.MAL.api.response.Anime;
import net.somethingdreadful.MAL.api.response.Manga;
import net.somethingdreadful.MAL.tasks.AnimeNetworkTask;
import net.somethingdreadful.MAL.t... |
<<<<<<<
=======
import java.text.DateFormat;
import java.text.SimpleDateFormat;
>>>>>>>
<<<<<<<
=======
import java.util.HashMap;
import java.util.Locale;
>>>>>>>
<<<<<<<
import net.somethingdreadful.MAL.api.response.Anime;
import net.somethingdreadful.MAL.api.response.AnimeList;
import net.somethingdreadful.MA... |
<<<<<<<
return getDto((Class<T>) clazz);
=======
return (T) getDto(clazz);
>>>>>>>
return (T) getDto((Class<T>) clazz); |
<<<<<<<
import org.springframework.validation.AbstractErrors;
import org.springframework.validation.BindException;
import org.springframework.validation.Errors;
=======
import org.springframework.web.bind.annotation.PathVariable;
>>>>>>>
import org.springframework.validation.AbstractErrors;
import org.springframewor... |
<<<<<<<
final boolean bLargeFileSupportOn = aOwner.getAsBoolean(ATTR_LARGE_FILE_SUPPORT_ON);
s_aLogger.info ("Incoming connection " + sClientInfo);
=======
LOGGER.info ("Incoming connection " + sClientInfo);
>>>>>>>
final boolean bLargeFileSupportOn = aOwner.getAsBoolean(ATTR_LARGE_FILE_SUPPORT_ON);
... |
<<<<<<<
List<ReportSenderFactory> factories = !factoryClasses.isEmpty() ? new InstanceCreator().create(factoryClasses) : config.pluginLoader()
.loadEnabled(this, config, ReportSenderFactory.class);
=======
if (ACRA.DEV_LOGGING) ACRA.log.d(LOG_TAG, "config#reportSenderFactoryClasses : ... |
<<<<<<<
=======
import java.lang.annotation.Annotation;
import java.lang.reflect.Array;
import java.security.KeyStore;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.S... |
<<<<<<<
Entity e = engine.rayTest(movedRay, mouseCoords, GameEngine.NAVMESH_FLAG,
GameEngine.NAVMESH_FLAG, 100, null);
if (e == null) mouseCoords.set(Float.NaN, Float.NaN, Float.NaN);
return false;
=======
Entity e = engine.rayTest(movedRay, tmp, GameEngine.NAVMESH_FLAG,
GameEngine.NAVMESH_FLAG,... |
<<<<<<<
import tud.seemuh.nfcgate.network.HighLevelNetworkHandler;
import tud.seemuh.nfcgate.network.NetHandler;
import tud.seemuh.nfcgate.network.WiFiDirectBroadcastReceiver;
=======
import tud.seemuh.nfcgate.network.SimpleLowLevelNetworkConnectionClientImpl;
>>>>>>>
import tud.seemuh.nfcgate.network.HighLevelNetw... |
<<<<<<<
import org.springframework.beans.factory.annotation.Autowired;
import java.util.Objects;
=======
import com.alibaba.nacos.api.exception.NacosException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationCont... |
<<<<<<<
extendedBindingProperties, provisioningProvider,
=======
consumersManager, provisioningProvider,
>>>>>>>
provisioningProvider, extendedBindingProperties, |
<<<<<<<
import codeu.chat.common.Uuid;
import codeu.chat.util.Time;
=======
import codeu.chat.common.Time;
import codeu.chat.util.Uuid;
>>>>>>>
import codeu.chat.util.Time;
import codeu.chat.util.Uuid; |
<<<<<<<
=======
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
>>>>>>>
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements; |
<<<<<<<
if (!nameHintText.getText().toString().equals(getString(R.id.settings_name_hint)))
editor.putString("saved_name_hint", nameHintText.getText()
.toString());
if (!userKeyText.getText().toString().equals(getString(R.id.settings_user_key)))
editor.putStrin... |
<<<<<<<
import android.app.FragmentManager;
=======
import android.app.ActivityManager;
>>>>>>>
import android.app.FragmentManager;
import android.app.ActivityManager;
<<<<<<<
private FriendsListAdapter adapter;
private SlidingPaneLayout pane;
private ChatFragment chat;
=======
/**
* Store... |
<<<<<<<
System.out.println("test");
Context ctx = getApplicationContext();
CharSequence msg = intent.getStringExtra(AntoxOnFriendRequestCallback.FRIEND_MESSAGE);
CharSequence key = intent.getStringExtra(AntoxOnFriendRequestCallback.FRIEND_KEY);
... |
<<<<<<<
pushFactory.create(db, ident, testRepo, PushOneCommit.SUBJECT, FILE_NAME,
new String(CONTENT_OLD));
return push.to("refs/for/master").getChangeId();
=======
pushFactory.create(db, ident, PushOneCommit.SUBJECT, FILE_NAME,
new String(CONTENT_OLD, StandardCharsets.UTF_... |
<<<<<<<
import java.util.ArrayList;
import org.elasticsearch.index.query.BoolFilterBuilder;
import org.elasticsearch.index.query.BoolQueryBuilder;
import org.elasticsearch.index.query.FilterBuilder;
import org.elasticsearch.index.query.FilterBuilders;
=======
import com.stratio.meta.common.exceptions.UnsupportedExce... |
<<<<<<<
if (ListUtils.findIgnoreCase(configDataTableName, config.getDataTableNames(null)) >= 0)
throw new RemoteException(String.format("CSV not imported. DataTable \"%s\" already exists in the configuration.",
configDataTableName));
=======
if (ListUtils.findIgnoreCase(configDataTableName, config... |
<<<<<<<
/*
* Copyright (C) 2012-2019 52°North Initiative for Geospatial Open Source
=======
/**
* Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source
>>>>>>>
/*
* Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source |
<<<<<<<
Connection conn = null;
if (destination instanceof DatabaseConfig)
conn = ((DatabaseConfig)destination).getConnection();
if (destination instanceof SQLConfig)
conn = ((SQLConfig)destination).getConnection();
=======
Connection conn = null;
if (destination instanceof DatabaseConfig)
conn = (... |
<<<<<<<
//System.out.println(methodName + arrayToString(methodParameters));
=======
//System.out.println(methodName + Arrays.deepToString(methodParameters));
>>>>>>>
//System.out.println(methodName + Arrays.deepToString(methodParameters));
<<<<<<<
System.err.println(methodName + Arrays.deepToString(methodP... |
<<<<<<<
=======
import weave.config.ISQLConfig.AttributeColumnInfo;
import weave.config.ISQLConfig.AttributeColumnInfo.DataType;
import weave.config.ISQLConfig.AttributeColumnInfo.Metadata;
import weave.config.ISQLConfig.ConnectionInfo;
>>>>>>>
import weave.config.ISQLConfig.ConnectionInfo;
<<<<<<<
// get dubli... |
<<<<<<<
/**
* This will create a new attribute column entry.
* @param info The definition of the attributeColumn entry. The id property will be ignored.
* @return The id of the new attributeColumn entry.
*/
public int addAttributeColumnInfo(AttributeColumnInfo info) throws RemoteException
{
throw new Remo... |
<<<<<<<
canvas1.setMouseManager(mouseManager);
=======
final SwtGestureWrapper gestureWrapper = new SwtGestureWrapper(canvas1, mouseWrapper, true);
>>>>>>>
canvas1.setMouseManager(mouseManager);
final SwtGestureWrapper gestureWrapper = new SwtGestureWrapper(canvas1, mouseWrapper, true... |
<<<<<<<
case Constants.OS_WINDOWS: return "WINDOWS_AMD64";
=======
case Constants.OS_ANDROID: return "LINUX_AARCH64";
>>>>>>>
case Constants.OS_WINDOWS: return "WINDOWS_AMD64";
case Constants.OS_ANDROID: return "LINUX_AARCH64";
<<<<<<<
=======
ensureClibs(p... |
<<<<<<<
=======
linkBuilder.command().add("-L"+ Path.of(projectConfiguration.getGraalPath(), "lib", "svm", "clibraries", target.getOsArch2())); // darwin-amd64");
linkBuilder.command().addAll(getCommonLinkLibraries());
linkBuilder.command().addAll(getTargetSpecificLinkFlags(projectConfigurati... |
<<<<<<<
public static final String OS_WINDOWS = "windows";
=======
public static final String OS_ANDROID = "android";
>>>>>>>
public static final String OS_WINDOWS = "windows";
public static final String OS_ANDROID = "android"; |
<<<<<<<
public Map<String, List<Map<String, Object>>> loadData(Resource resource) {
=======
public Map<String, List<Map<String, Object>>> loadData(String[] filePaths) {
>>>>>>>
public Map<String, List<Map<String, Object>>> loadData(Resource resource) {
<<<<<<<
@Override
public void writeData(R... |
<<<<<<<
PublishCommand pubCommand = new PublishCommand(requestResponseCommandPool, scheduled,
commandTimeOut, channel, message);
=======
PublishCommand pubCommand = new PublishCommand(requestResponseCommandPool, scheduled, channel, message);
silentCommand(pubCommand);
>>>>>>>... |
<<<<<<<
import com.google.gerrit.server.config.ConfigUtil;
import com.google.gerrit.server.config.GerritServerConfig;
import com.google.gerrit.server.logging.Metadata;
=======
>>>>>>>
import com.google.gerrit.server.logging.Metadata;
<<<<<<<
Field.ofEnum(ChangeIdType.class, "change_id_type", Metadata.Bu... |
<<<<<<<
gApi.changes().id(changeId).get(ALL_REVISIONS, CURRENT_COMMIT, CURRENT_REVISION);
assertThat(changeInfo.revisions.size()).isEqualTo(2);
=======
gApi.changes()
.id(changeId)
.get(
EnumSet.of(
ListChangesOption.ALL_REVISIONS,
... |
<<<<<<<
import com.google.gerrit.entities.Permission;
=======
import com.google.gerrit.common.data.Permission;
import com.google.gerrit.entities.AccountGroup;
>>>>>>>
import com.google.gerrit.entities.AccountGroup;
import com.google.gerrit.entities.Permission; |
<<<<<<<
@Override
public RouteMeta getRouteIfPossible(HostPort hostPort) {
return null;
}
@Override
public int getRedisNumOfDcCluster(String dcId, String clusterId) {
return 0;
}
=======
@Override
public String getActiveDc(String clusterId, String shardId){return nul... |
<<<<<<<
import com.ctrip.xpipe.concurrent.AbstractExceptionLogTask;
import com.ctrip.xpipe.observer.AbstractLifecycleObservable;
import com.ctrip.xpipe.observer.NodeAdded;
import com.ctrip.xpipe.redis.core.store.ReplicationStore;
import com.ctrip.xpipe.redis.core.store.ReplicationStoreManager;
import com.ctrip.xpipe.re... |
<<<<<<<
@Override
public List<ShardListModel> findAllUnhealthy() {
UnhealthyInfoModel unhealthyInfoModel = delayService.getAllUnhealthyInstance();
unhealthyInfoModel.addUnhealthyInstance("cluster1", "jq", "shard1", new HostPort("127.0.0.1", 1));
unhealthyInfoModel.addUnhealthyInstance("cluster1", "oy", "shard1... |
<<<<<<<
public KeeperStateChangeJob(List<KeeperMeta> keepers, Pair<String, Integer> activeKeeperMaster, SimpleKeyedObjectPool<InetSocketAddress, NettyClient> clientPool){
this(keepers, activeKeeperMaster, clientPool, 1000, 5);
}
public KeeperStateChangeJob(List<KeeperMeta> keepers, Pair<String, Integer> activeK... |
<<<<<<<
try (Timer0.Context ignored = guessRelevantGroupsLatency.start()) {
return all()
.stream()
.map(n -> byName.getIfPresent(n.get()))
.filter(Objects::nonNull)
.flatMap(p -> p.getConfig().getAllGroupUUIDs().stream())
// getAllGroupUUIDs shouldn't really r... |
<<<<<<<
public interface Session extends lotus.domino.Session, org.openntf.domino.ext.Session, Base<lotus.domino.Session> {
=======
public interface Session extends lotus.domino.Session, Base<lotus.domino.Session> {
/**
* The Enum RunContext.
*/
>>>>>>>
public interface Session extends lotus.domino.Session, or... |
<<<<<<<
setMessageId(
messageIdGenerator.fromReasonAccountIdAndTimestamp(
"HTTP_password_change", user.getAccountId(), TimeUtil.now()));
add(RecipientType.TO, Address.create(getEmail()));
=======
add(RecipientType.TO, user.getAccountId());
>>>>>>>
setMessageId(
messageIdGe... |
<<<<<<<
/**
* This method is neccessary to get some Backend-functions working.<br>
* <font color=red>Attention: The <b>name</b> of the function seems not to be important, but the <b>position</b>!</font> It seems that
* the backendbridge calls the n-th. method in this class. (didn't figure out, how n was computed... |
<<<<<<<
*
* @see org.openntf.domino.Database#FTDomainSearch(java.lang.String, int, org.openntf.domino.Database.FTSortOption, int, int, int,
* java.lang.String)
*/
@Override
public org.openntf.domino.Document FTDomainSearch(final String query, final int maxDocs, final FTDomainSortOption sortOpt,
final int o... |
<<<<<<<
package org.openntf.domino.tests.eknori;
/*
* Skipping: 1.000
*
-- START --
1000000
CacheSize: 1
-- STOP --
Thread MassViewEntryCollectionTest elapsed time: 166953ms
Thread MassViewEntryCollectionTest auto-recycled 987406 lotus references during run. Then recycled 12597 lotus references on completion... |
<<<<<<<
@Override
public org.openntf.domino.Session getParent();
=======
public Session getParent();
>>>>>>>
@Override
public Session getParent(); |
<<<<<<<
@SuppressWarnings("deprecation")
@Deprecated
=======
>>>>>>>
@Deprecated |
<<<<<<<
import lotus.domino.EmbeddedObject;
import lotus.domino.Item;
import lotus.domino.MIMEEntity;
=======
>>>>>>>
<<<<<<<
getDelegate().attachVCard(Factory.toLotus(document));
=======
getDelegate().attachVCard(toLotus(document));
>>>>>>>
getDelegate().attachVCard(toLotus(document));
<<<<<<<
getD... |
<<<<<<<
return Factory.fromLotus(getDelegate().FTSearch(arg0, arg1, arg2, arg3), DocumentCollection.class, this);
=======
return Factory.fromLotus(getDelegate().FTSearch(query, maxDocs, sortOpt, otherOpt), Document.class, this);
>>>>>>>
return Factory.fromLotus(getDelegate().FTSearch(query, maxDocs, sortOpt... |
<<<<<<<
public ListenableFuture<?> indexAsync(Project.NameKey project, Change.Id id) {
return submit(new IndexTask(project, id));
=======
@SuppressWarnings("deprecation")
public com.google.common.util.concurrent.CheckedFuture<?, IOException> indexAsync(
Project.NameKey project, Change.Id id) {
Ind... |
<<<<<<<
=======
import lotus.domino.ACLEntry;
import lotus.domino.Database;
>>>>>>>
import lotus.domino.ACLEntry;
import lotus.domino.Database;
<<<<<<<
public ACLEntry getEntry(String name);
=======
public ACLEntry getEntry(String arg0);
>>>>>>>
public ACLEntry getEntry(String name); |
<<<<<<<
package org.openntf.domino.tests.eknori;
/*
-- START --
1000000
CacheSize: 1
-- STOP --
Thread MassViewEntryCollectionTest elapsed time: 170850ms
Thread MassViewEntryCollectionTest auto-recycled 983424 lotus references during run. Then recycled 16579 lotus references on completion and had 0 recycle error... |
<<<<<<<
public DocumentCollection getAllDocumentsByKey(Object key) {
return getAllDocumentsByKey(key, false);
=======
public DocumentCollection getAllDocumentsByKey(final Object key) {
try {
return Factory.fromLotus(getDelegate().getAllDocumentsByKey(toLotus(key)), DocumentCollection.class, this);
} catch ... |
<<<<<<<
package org.openntf.domino.tests.eknori;
/*
* 2.780.192 documents in source application
Thread MassDeleteDocumentsScratchTest elapsed time: 528132ms
Thread MassDeleteDocumentsScratchTest auto-recycled 2774889 lotus references during run. Then recycled 5306 lotus references on completion and had 0 recycle er... |
<<<<<<<
private DominoReferenceMap getRefMap() {
return refMap;
}
=======
/**
* Increment.
*
* @param id
* the id
* @return the int
*/
>>>>>>>
private DominoReferenceMap getRefMap() {
return refMap;
}
/**
* Increment.
*
* @param id
* the id
* @return the int
... |
<<<<<<<
=======
/* (non-Javadoc)
* @see org.openntf.domino.Session#getRunContext()
*/
public RunContext getRunContext() {
// TODO finish this implementation, which needs a lot of work.
RunContext result = RunContext.UNKNOWN;
SecurityManager sm = System.getSecurityManager();
System.out.println(this.getCl... |
<<<<<<<
private final ChangeData.Factory changeDataFactory;
=======
private final AllUsersName allUsersName;
>>>>>>>
private final ChangeData.Factory changeDataFactory;
private final AllUsersName allUsersName;
<<<<<<<
ChangeData.Factory changeDataFactory,
=======
AllUsersName allUsersName,
>>... |
<<<<<<<
public void add(int arg0, E arg1) {
if (arg0 >= delegate_.size()) {
delegate_.add(arg1);
} else {
delegate_.add(arg0, arg1);
}
=======
public void add(final int arg0, final E arg1) {
delegate_.add(arg0, arg1);
>>>>>>>
public void add(final int arg0, final E arg1) {
if (arg0 >= delegate_.si... |
<<<<<<<
private String source_;
private String lang_;
private Boolean isParsed_ = false;
=======
private boolean _hierarchical;
>>>>>>>
private String source_;
private String lang_;
private Boolean isParsed_ = false;
// private boolean _hierarchical;
<<<<<<<
parse();
return this.getNamePart(NamePartsMa... |
<<<<<<<
* @param to
* Collection of recipients
=======
* @param cc
* ArrayList of recipients
>>>>>>>
* @param cc
* Collection of recipients
<<<<<<<
* @param to
* Collection of recipients
=======
* @param bcc
* ArrayList of recipients
>>>>... |
<<<<<<<
public static void main(String[] args) {
=======
/**
* The main method.
*
* @param args
* the arguments
*/
public static void main(final String[] args) {
>>>>>>>
public static void main(final String[] args) { |
<<<<<<<
args.branch =
projectCreation.branches().stream().map(RefNames::fullName).collect(toImmutableList());
=======
args.permissionsOnly = projectCreation.permissionOnly().orElse(false);
args.branch = Collections.singletonList(Constants.R_HEADS + Constants.MASTER);
>>>>>>>
args.permissionsO... |
<<<<<<<
/*
* (non-Javadoc)
*
=======
@Override
public boolean gotoEntry(Document document) {
return gotoEntry((Object) document);
}
@Override
public boolean gotoEntry(ViewEntry entry) {
return gotoEntry((Object) entry);
}
/*
* (non-Javadoc)
*
>>>>>>>
public boolean gotoEntry(Document documen... |
<<<<<<<
import org.openntf.domino.utils.LMBCSUtils;
=======
import org.openntf.domino.utils.TypeUtils;
>>>>>>>
import org.openntf.domino.utils.TypeUtils;
import org.openntf.domino.utils.LMBCSUtils;
<<<<<<<
if (returnItem) {
return getFirstItem(itemName, true);
=======
if (returnItem && result != null) {... |
<<<<<<<
=======
/**
* Gets the first database.
*
* @param type
* the type
* @return the first database
*/
public Database getFirstDatabase(Type type);
>>>>>>>
/**
* Gets the first database.
*
* @param type
* the type
* @return the first database
*/
public Database... |
<<<<<<<
import org.openntf.domino.formula.impl.OperatorsBool;
=======
import org.openntf.domino.formula.impl.TextFunctions;
>>>>>>>
import org.openntf.domino.formula.impl.OperatorsBool;
import org.openntf.domino.formula.impl.TextFunctions; |
<<<<<<<
public String getDateOnly(Date date) {
DateFormat df = getDateOnlyFormat();
synchronized (df) {
return df.format(date);
=======
public String getDateOnly(final Date date) {
synchronized (df_) {
df_.applyPattern(dateOnlyFormat_);
return df_.format(date);
>>>>>>>
public String getDateOnly(fin... |
<<<<<<<
CommentLinkInfoImpl cl = ProjectConfig.buildCommentLink(cfg, name, true);
if (cl.isOverrideOnly()) {
throw new ProvisionException(
"commentlink " + name + " empty except for \"enabled\"");
=======
try {
CommentLinkInfo cl = ProjectConfig.buildCommentLink(cfg, name... |
<<<<<<<
import com.google.gerrit.extensions.api.projects.ConfigInput;
import com.google.gerrit.extensions.client.InheritableBoolean;
=======
import com.google.gerrit.extensions.client.ProjectWatchInfo;
>>>>>>>
import com.google.gerrit.extensions.api.projects.ConfigInput;
import com.google.gerrit.extensions.client.In... |
<<<<<<<
=======
import lotus.domino.Database;
import lotus.domino.DocumentCollection;
import lotus.domino.EmbeddedObject;
import lotus.domino.Item;
import lotus.domino.MIMEEntity;
>>>>>>>
import lotus.domino.DocumentCollection;
import lotus.domino.EmbeddedObject;
import lotus.domino.Item; |
<<<<<<<
=======
import java.awt.image.BufferedImage;
>>>>>>>
import java.awt.image.BufferedImage;
<<<<<<<
for(int y = 0; y < map.getMapData().mapHeight; y++)
{
for(int x = 0; x < map.getMapData().mapWidth; x++)
{
if((x - 1)*16 < this.getVisibleRect().x + this.getVisibleRect().width && (x + 1)*1... |
<<<<<<<
public MapEditorPanel mapEditorPanel;
public BorderEditorPanel borderTileEditor;
public TileEditorPanel tileEditorPanel;
=======
public JLabel lblTileVal;
>>>>>>>
public MapEditorPanel mapEditorPanel;
public BorderEditorPanel borderTileEditor;
public TileEditorPanel tileEditorPanel;
public JLabel lb... |
<<<<<<<
public static final int NO_MORE_ROOM_IN_HELL = 224260;
=======
public static final int BLACK_MESA = 362890;
>>>>>>>
public static final int NO_MORE_ROOM_IN_HELL = 224260;
public static final int BLACK_MESA = 362890; |
<<<<<<<
private static void loadSystemOntology(InternalFactory factory) {
try (GraknGraph graph = factory.open(GraknTxType.WRITE)) {
=======
static void loadSystemOntology() {
try (GraknGraph graph = factory().open(GraknTxType.WRITE)) {
>>>>>>>
static void loadSystemOntology(InternalFacto... |
<<<<<<<
=======
import ai.grakn.graql.internal.reasoner.UnifierImpl;
import ai.grakn.graql.internal.reasoner.atom.binary.TypeAtom;
>>>>>>>
import ai.grakn.graql.internal.reasoner.atom.binary.TypeAtom;
<<<<<<<
=======
import com.google.common.collect.Iterables;
import com.google.common.collect.Maps;
>>>>>>>
impor... |
<<<<<<<
public Stream<ConceptMap> getAnswerStream(Q query){
return getAnswerStreamWithUnifier(query).getKey();
}
@Override
public Pair<Stream<ConceptMap>, MultiUnifier> getAnswerStreamWithUnifier(Q query) {
=======
public Pair<Stream<Answer>, MultiUnifier> getAnswerStreamWithUnifier(Q que... |
<<<<<<<
final Collection<Representation> generatedRelations = new ArrayList<>();
// For each relation (VarPatternAdmin key in roleTypes) we fetch all the role-players representations and embed them in the generated-relationship's HAL representation.
=======
final Collection<Representation> gen... |
<<<<<<<
=======
import static ai.grakn.engine.controller.util.Requests.mandatoryQueryParameter;
import static ai.grakn.engine.tasks.TaskSchedule.recurring;
import static ai.grakn.util.REST.Response.ContentType.APPLICATION_JSON;
import static ai.grakn.util.REST.WebPath.Tasks.GET;
import static ai.grakn.util.REST.WebPa... |
<<<<<<<
import com.google.common.collect.Sets;
=======
import java.util.List;
import java.util.Set;
import org.elasticsearch.common.collect.Sets;
>>>>>>>
import com.google.common.collect.Sets;
import java.util.List;
import java.util.Set;
<<<<<<<
import java.util.List;
import java.util.Set;
import java.util.functio... |
<<<<<<<
import ai.grakn.graql.GetQuery;
=======
import ai.grakn.graql.VarPattern;
import ai.grakn.graql.admin.Answer;
import ai.grakn.graql.internal.query.QueryAnswer;
import ai.grakn.test.kbs.GeoKB;
>>>>>>>
import ai.grakn.graql.GetQuery;
import ai.grakn.graql.VarPattern;
import ai.grakn.graql.internal.query.QueryA... |
<<<<<<<
import static java.lang.Math.min;
=======
import com.google.common.base.StandardSystemProperty;
>>>>>>>
import com.google.common.base.StandardSystemProperty;
import static java.lang.Math.min;
<<<<<<<
String configFileProperty = System.getProperty(SYSTEM_PROPERTY_GRAKN_CONFIGURATION_FILE);
co... |
<<<<<<<
import ai.grakn.concept.OntologyConcept;
=======
import ai.grakn.concept.OntologyConcept;
import ai.grakn.engine.factory.EngineGraknGraphFactory;
import ai.grakn.exception.GraknServerException;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.a... |
<<<<<<<
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Collection;
import java.util.Optional;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.GET;
... |
<<<<<<<
private static final long serialVersionUID = -8092703897236995422L;
public QueryAnswers(){super();}
public QueryAnswers(Collection<? extends Map<VarName, Concept>> ans){ super(ans);}
=======
private final HashSet<Map<VarName, Concept>> set = new HashSet<>();
>>>>>>>
private static final ... |
<<<<<<<
import com.google.gerrit.extensions.common.ChangeInfo;
import com.google.gerrit.extensions.restapi.ResourceConflictException;
import com.google.gerrit.reviewdb.client.Change;
import com.google.gerrit.reviewdb.client.PatchSet;
import com.google.gerrit.server.change.Submit.TestSubmitInput;
=======
import com.go... |
<<<<<<<
conjQuery = ReasonerQueries.create(conj, embeddedTx);
Stream<ConceptMap> localStream = conjQuery.isRuleResolvable() ? conjQuery.resolve() : embeddedTx.graql().infer(false).match(conj).stream();
=======
conjQuery = ReasonerQueries.create(conj, embeddedTx).rewrite... |
<<<<<<<
import com.google.common.collect.ImmutableSet;
=======
import com.google.common.collect.Iterables;
>>>>>>>
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
<<<<<<<
Set<Role> compatibleRoles = playableRoles(
=======
S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.