conflict_resolution
stringlengths
27
16k
<<<<<<< return mTrustManager; } public void useProxy(boolean enableTor, String type, String host, int port) ======= Log.d("StrongHTTPS","proxying with: " + proxyType); return new MyThreadSafeClientConnManager(getParams(), mRegistry) { @Override protected ClientConnectionOpe...
<<<<<<< } else if (encoding.equalsIgnoreCase("[Ball]")) { Map<String, String> dict = log.getAttributes(); Vector<String> ballLocs = new Vector<String>(); for (int numBalls=0; ; numBalls++) { String location = dict.get("ball"+numBalls); if(location == null) break; ballLocs.add(location); ...
<<<<<<< ======= public static final SyntheticImageUtility SyntheticImageUtility = new SyntheticImageUtility(); public static final CameraCalibrateUtility CameraCalibrateUtility = new CameraCalibrateUtility(); >>>>>>> public static final SyntheticImageUtility SyntheticImageUtility = new SyntheticImageUtility(...
<<<<<<< map.put("sound", new Class[]{SoundView.class, SoundFreqView.class}); ======= map.put("proto-Corners", new Class[]{BasicLineView.class}); map.put(DEFAULT_S, new Class[]{DefaultView.class}); map.put(PROTOBUF_S, new Class[]{ProtoBufView.class}); >>>>>>> map.put("sound", new Class[]{SoundView.class,...
<<<<<<< import nbtool.data.log.Block; import nbtool.data.log.Log; ======= >>>>>>> import nbtool.data.log.Block; import nbtool.data.log.Log; <<<<<<< /* true if top, false if bot */ public static boolean camera(Log imageLog) { assert(imageLog.blocks.size() > 0); Block imageBlock = imageLog.blocks.get(0); if...
<<<<<<< Prefs.bounds = _display.getBounds(); Map<String, Class<? extends ViewParent>[]> lshown = new HashMap<String, Class<? extends ViewParent>[]>(); LogToViewUtility ltvu = UtilityManager.instanceOfLTV(); for (String t : NBConstants.POSSIBLE_VIEWS.keySet()) { lshown.put(t, (Class<? extends V...
<<<<<<< import com.style.event.EventCode; ======= import com.style.base.BaseActivity; import com.style.utils.StringUtil; >>>>>>> import com.style.event.EventCode; import com.style.base.BaseActivity; import com.style.utils.StringUtil;
<<<<<<< final class SnakeYmlUtils { /** ======= public final class SnakeYmlUtils { /* >>>>>>> final class SnakeYmlUtils { /*
<<<<<<< ======= @Generated(value = "Autogenerated by Frugal Compiler (3.0.0)", date = "2015-11-24") >>>>>>>
<<<<<<< @Generated(value = "Autogenerated by Thrift Compiler (0.9.3-wk-2)", date = "2016-04-13") ======= @Generated(value = "Autogenerated by Thrift Compiler (0.9.3-wk-3)", date = "2016-04-15") >>>>>>> @Generated(value = "Autogenerated by Thrift Compiler (0.9.3-wk-2)", date = "2016-04-15")
<<<<<<< import io.nats.client.*; ======= import com.workiva.frugal.exception.FMessageSizeException; import io.nats.client.Connection; import io.nats.client.Constants; import io.nats.client.Message; import io.nats.client.MessageHandler; import io.nats.client.Subscription; >>>>>>> import io.nats.client.Connection;
<<<<<<< ======= @Generated(value = "Autogenerated by Frugal Compiler (3.0.0)", date = "2015-11-24") >>>>>>>
<<<<<<< ======= @Generated(value = "Autogenerated by Frugal Compiler (3.0.0)", date = "2015-11-24") >>>>>>>
<<<<<<< @Generated(value = "Autogenerated by Thrift Compiler (0.9.3-wk-2)", date = "2016-04-13") ======= @Generated(value = "Autogenerated by Thrift Compiler (0.9.3-wk-3)", date = "2016-04-15") >>>>>>> @Generated(value = "Autogenerated by Thrift Compiler (0.9.3-wk-2)", date = "2016-04-15")
<<<<<<< public static void displayProgressPercentage(int done, int total) { int size = 5; String iconLeftBoundary = "["; String iconDone = "="; String iconRemain = "."; String iconRightBoundary = "]"; if (done > total) { throw new IllegalArgumentException(); } int donePercents = (100 * done) / tota...
<<<<<<< import org.semanticweb.owlapi.reasoner.BufferingMode; ======= >>>>>>> import org.semanticweb.owlapi.reasoner.BufferingMode; <<<<<<< ======= import org.semanticweb.owlapi.reasoner.OWLReasonerFactory; >>>>>>> import org.semanticweb.owlapi.reasoner.OWLReasonerFactory; <<<<<<< import org.semanticweb.owlapi....
<<<<<<< ======= @Generated(value = "Autogenerated by Frugal Compiler (3.0.0)", date = "2015-11-24") >>>>>>>
<<<<<<< ======= @Generated(value = "Autogenerated by Frugal Compiler (3.0.0)", date = "2015-11-24") >>>>>>>
<<<<<<< import com.workiva.frugal.*; import com.workiva.frugal.exception.FMessageSizeException; ======= >>>>>>> import com.workiva.frugal.exception.FMessageSizeException; <<<<<<< @Generated(value = "Autogenerated by Frugal Compiler (1.0.0-RC2)", date = "2016-2-12") ======= @Generated(value = "Autogenerated by Fru...
<<<<<<< oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(NUM_FIELD_DESC); Integer elem222 = struct.num; if (elem222 == null) { elem222 = 0; } oprot.writeI32(elem222); oprot.writeFieldEnd(); if (struct.Str != null) { oprot.writeFieldBegin(STR_FIELD_DESC); String elem223 = st...
<<<<<<< import com.workiva.frugal.exception.FMessageSizeException; import com.workiva.frugal.protocol.FContext; ======= >>>>>>> <<<<<<< ======= private volatile FClosedCallback fClosedCallback; >>>>>>>
<<<<<<< ======= @Generated(value = "Autogenerated by Frugal Compiler (3.0.0)", date = "2015-11-24") >>>>>>>
<<<<<<< EventsSubscriber.Iface subscriber = new EventsSubscriber.Client(provider); subscriber.subscribeEventCreated(Integer.toString(port)+"-response", (ctx, event) -> { ======= EventsSubscriber subscriber = new EventsSubscriber(provider); subscriber.subscribeEventCreat...
<<<<<<< private int autoCommitMemory; private volatile boolean saveNeeded; ======= private final int autoCommitMemory; private boolean saveNeeded; >>>>>>> private final int autoCommitMemory; private volatile boolean saveNeeded;
<<<<<<< ArrayList<Row> rows = new ArrayList<>(); ======= ArrayList<Row> rows = Utils.newSmallArrayList(); >>>>>>> ArrayList<Row> rows = Utils.newSmallArrayList(); <<<<<<< ======= ArrayList<String> settingNames = Utils.newSmallArrayList(); >>>>>>> <<<<<<< ArrayList<Ind...
<<<<<<< ======= ArrayList<Column> list = Utils.newSmallArrayList(); >>>>>>> <<<<<<< tables = new ArrayList<>(); ======= tables = Utils.newSmallArrayList(); >>>>>>> tables = Utils.newSmallArrayList();
<<<<<<< /** * Used when we restore metadata at startup, this is the metadata object ID as persisted in the database. */ private int persistedObjectId; ======= /** * Used to preserve object identities on database startup. {@code 0} if * object is not stored, {@code -1} if object is stor...
<<<<<<< private final ArrayList<Table> locks = new ArrayList<>(); ======= private final ArrayList<Table> locks = Utils.newSmallArrayList(); >>>>>>> private final ArrayList<Table> locks = Utils.newSmallArrayList(); <<<<<<< return new ArrayList<>(); ======= return Utils.newSmallA...
<<<<<<< private void testRecursiveTable() throws Exception { String[] expectedRowData =new String[]{"|meat|null","|fruit|3","|veg|2"}; String[] expectedColumnNames =new String[]{"VAL", "SUM(SELECT\n X\nFROM PUBLIC.\"\" BB\n /* SELECT\n SUM(1) AS X,\n A\n F...
<<<<<<< String indicesPrefix = testName.getSanitizedMethodName(); ElasticTestUtils.configure(elasticsearchConfig, nodeInfo.port, indicesPrefix); ======= String indicesPrefix = getSanitizedMethodName(); ElasticTestUtils.configure(elasticsearchConfig, container, indicesPrefix); >>>>>>> String indic...
<<<<<<< import java.util.Calendar; import java.util.GregorianCalendar; ======= >>>>>>> import java.util.Calendar; import java.util.GregorianCalendar; <<<<<<< // DATE_PART DATE_PART.put("SQL_TSI_YEAR", YEAR); DATE_PART.put("YEAR", YEAR); DATE_PART.put("YYYY", YEAR); DATE_PART....
<<<<<<< ======= public void setSessionScopeTestGroupMetricPlotFetcher(SessionScopeTestGroupMetricPlotFetcher sessionScopeTestGroupMetricPlotFetcher) { this.sessionScopeTestGroupMetricPlotFetcher = sessionScopeTestGroupMetricPlotFetcher; } @Required public void setSessionScopeMonitoringMetricP...
<<<<<<< public static final String LIMITS = "limits"; public static final String LIMIT = "limit"; public static final String LIMIT_METRIC_NAME = "metricName"; public static final String LIMIT_DESCRIPTION = "limitDescription"; public static final String LIMIT_REFVALUE = "refValue"; public static...
<<<<<<< /** * Size of interval in milliseconds to aggregate values on it. */ private int pointInterval = 0; /** * Maximum number of points on plot. */ private int pointCount = 0; ======= /** Size of interval in milliseconds to aggregate values on it */ private int aggrega...
<<<<<<< import com.griddynamics.jagger.dbapi.model.MetricNode; ======= import com.griddynamics.jagger.webclient.client.resources.JaggerResources; >>>>>>> import com.griddynamics.jagger.dbapi.model.MetricNode; import com.griddynamics.jagger.webclient.client.resources.JaggerResources; <<<<<<< public PlotRepresent...
<<<<<<< String id = SUMMARY_PREFIX + tdd.getTaskName() + mnd.getMetricName(); mn.init(id, mnd.getMetricDisplayName(), Arrays.asList(mnd)); ======= mn.setMetricNameDto(mnd); mn.setId(SUMMARY_PREFIX + tdd.hashCode() + mnd.getMetricName()); ...
<<<<<<< : refsToDelete .stream() .map(ref -> ref.startsWith(R_REFS) ? ref : prefix + ref) ======= : refsToDelete.stream() .map(ref -> ref.startsWith(prefix) ? ref : prefix + ref) >>>>>>> : refsToDelete.stream() .map(r...
<<<<<<< public static final String INVOCATION_LISTENER = "listener-invocation"; ======= public static final String TEST_GROUP_DECISION_MAKER_LISTENERS = "listeners-test-group-decision-maker"; public static final String DECISION_MAKER_LISTENERS = "testGroupDecisionMakerListeners"; >>>>>>> public stati...
<<<<<<< import com.griddynamics.jagger.webclient.client.dto.TagDto; ======= import com.griddynamics.jagger.webclient.client.dto.TaskDataDto; import com.griddynamics.jagger.webclient.client.dto.TestInfoDto; >>>>>>> import com.griddynamics.jagger.webclient.client.dto.TagDto; import com.griddynamics.jagger.webclient.cl...
<<<<<<< public Decision getDecision() { return decision; } public void setDecision(Decision decision) { this.decision = decision; } ======= public Decision getDecision() { return decision; } public void setDecision(Decision decision) { this.decision = de...
<<<<<<< import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.*; import com.griddynamics.jagger.webclient.client.SessionDataService; ======= import com.google.gwt.user.client.ui.VerticalPanel; >>>>>>> import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user....
<<<<<<< import static com.google.gerrit.server.patch.DiffSummaryLoader.toDiffSummary; import com.google.common.annotations.VisibleForTesting; ======= >>>>>>> import com.google.common.annotations.VisibleForTesting; <<<<<<< if (pl instanceof LargeObjectTombstone) { throw new PatchListNotAvailableExcept...
<<<<<<< ======= import com.google.gwt.core.client.JsArray; import com.google.gwt.event.dom.client.ScrollEvent; import com.google.gwt.event.dom.client.ScrollHandler; import com.google.gwt.event.logical.shared.AttachEvent; import com.google.gwt.event.logical.shared.ValueChangeEvent; import com.google.gwt.event.logical....
<<<<<<< import com.griddynamics.jagger.webclient.client.dto.TaskDataDto; import com.griddynamics.jagger.webclient.client.dto.TestInfoDto; ======= import com.griddynamics.jagger.webclient.client.dto.TagDto; >>>>>>> import com.griddynamics.jagger.webclient.client.dto.TaskDataDto; import com.griddynamics.jagger.webclie...
<<<<<<< for (TaskDataDto tdd : map.keySet()) { List<PlotNode> metricNodeList = map.get(tdd); String rootId = METRICS_PREFIX + tdd.getTaskName(); // rules to unite metrics in single plot //??? review ids TreeViewGroupMetricsToNo...
<<<<<<< import com.griddynamics.jagger.engine.e1.BasicTGDecisionMakerListener; import com.griddynamics.jagger.engine.e1.Provider; ======= import com.griddynamics.jagger.dbapi.util.SessionMatchingSetup; >>>>>>> import com.griddynamics.jagger.dbapi.util.SessionMatchingSetup; import com.griddynamics.jagger.engine.e1.Ba...
<<<<<<< public boolean isShowOnlyMatchedTests() { return showOnlyMatchedTests; } public void setShowOnlyMatchedTests(boolean showOnlyMatchedTests) { this.showOnlyMatchedTests = showOnlyMatchedTests; } ======= public boolean isTagsStoreAvailable() { return tagsStoreAvaila...
<<<<<<< toRemoveFromTable.addAll(chosenMetrics.get(metricNode)); metricNodesToRemove.add(metricNode); } } if (!metricNodesToRemove.isEmpty()) { plotTrendsPanel.removeByMetricNodes(metricNodesToRemove)...
<<<<<<< private Map<String,List<SummaryDto>> summaryMap = new HashMap<String, List<SummaryDto>>(); private Map<String,List<SummaryDto>> latencyPercentilesMap = new HashMap<String, List<SummaryDto>>(); private boolean isMetricHighlighting; @Required public void setMetricHighlighting(boolean isMetric...
<<<<<<< private DateFormat dateFormatter = new SimpleDateFormat(TimeUtils.DATE_FORMAT); ======= private boolean isMetricHighlighting; @Required public void setMetricHighlighting(boolean isMetricHighlighting) { this.isMetricHighlighting = isMetricHighlighting; } >>>>>>> private DateFo...
<<<<<<< @Override public Map<String, TestInfoDto> getTestInfo(TaskDataDto taskDataDto) throws RuntimeException { long temp = System.currentTimeMillis(); @SuppressWarnings("all") List<Object[]> objectsList = (List<Object[]>)entityManager.createQuery( "select wtd.sessionI...
<<<<<<< void getMetrics(Set<MetricNode> metricNames, boolean isEnableDecisionsPerMetricHighlighting, AsyncCallback<Map<MetricNode, List<MetricDto>>> async); ======= void getMetrics(Set<MetricNode> metricNames, AsyncCallback<Map<MetricNode, SummaryIntegratedDto>> async); >>>>>>> voi...
<<<<<<< import com.griddynamics.jagger.webclient.client.components.ExceptionPanel; import com.griddynamics.jagger.webclient.client.components.SummaryPanel; ======= import com.griddynamics.jagger.webclient.client.components.NodesPanel; >>>>>>> import com.griddynamics.jagger.webclient.client.components.ExceptionPanel;...
<<<<<<< import com.griddynamics.jagger.webclient.client.dto.TaskDataDto; import com.griddynamics.jagger.webclient.client.dto.TestInfoDto; ======= import com.griddynamics.jagger.webclient.client.dto.TagDto; >>>>>>> import com.griddynamics.jagger.webclient.client.dto.TaskDataDto; import com.griddynamics.jagger.webclie...
<<<<<<< import java.util.ArrayList; import java.util.List; import java.util.Set; ======= >>>>>>> import java.util.ArrayList; import java.util.List; import java.util.Set; <<<<<<< public void popUpForEdit(SessionDataDto currentSession, SessionComparisonPanel.TreeItem item, List<TagDto> allTags) { getApp...
<<<<<<< if (metricsNames.size() < testNode.getMetrics().size()) { for (MetricNameDto mnd : metricsNames) { testsMetrics.getMetrics().add(mnd.getMetricName()); ======= List<TaskDataDto> tests = sessionsToTestsEntry.getValue(); LinkFragment linkFr...
<<<<<<< import io.scalecube.services.transport.LocalServiceHandlers; ======= import io.scalecube.services.routing.Routers; import io.scalecube.services.transport.LocalServiceDispatchers; import io.scalecube.services.transport.api.ServiceMethodDispatcher; >>>>>>> import io.scalecube.services.routing.Routers; import i...
<<<<<<< import java.time.Duration; import reactor.core.publisher.Flux; ======= import reactor.core.publisher.Flux; >>>>>>> import java.time.Duration; import reactor.core.publisher.Flux; <<<<<<< @Override public Flux<String> many(String name) { return Flux.interval(Duration.ofSeconds(1)) .map(i ->...
<<<<<<< // When everything done we need to relayout components. LayoutManager.getInstance().layout(frames[i]); ======= // Run animations. Should be also called cause some components use animations for updating state. Animator.getInstance().runAnimation...
<<<<<<< * Default implementation of event processor. * Created by Aliaksandr_Shcherbin on 1/25/2017. ======= * Created by ShchAlexander on 1/25/2017. >>>>>>> * Default implementation of event processor. * Created by ShchAlexander on 1/25/2017.
<<<<<<< //////////////////////////////// //// COMPONENT LAYER DATA //////////////////////////////// /** * Layout. Used to layout */ private Layout layout = new BorderLayout(); /** * Preferred size of component. Used to set preferred size of component for layout manager. Layout m...
<<<<<<< import org.liquidengine.legui.image.*; ======= import org.liquidengine.legui.image.FBOImage; import org.liquidengine.legui.image.Image; import org.liquidengine.legui.image.LoadableImage; import org.liquidengine.legui.image.StbBackedLoadableImage; >>>>>>> import org.liquidengine.legui.image.*; import org.liqu...
<<<<<<< componentLayer.topLayer = tooltipLayer; tooltipLayer.bottomLayer = componentLayer; tooltipLayer.getContainer().getSize().set(width, height); componentLayer.getContainer().getSize().set(width, height); ======= tooltipLayer.getSize().set(width, height); componentL...
<<<<<<< if (added) { changeParent(component); EventProcessorProvider.getInstance().pushEvent(new AddChildEvent<>(this, component)); } ======= changeParent(component); >>>>>>> changeParent(component); EventProcessorProvider.getInstance().pushEvent(new Ad...
<<<<<<< // When everything done we need to relayout components. LayoutManager.getInstance().layout(frame); ======= // Run animations. Should be also called cause some components use animations for updating state. Animator.getInstance().runAnimations(); >>>>>>> ...
<<<<<<< public class Layer<T extends Component> { protected Layer bottomLayer; protected Layer topLayer; protected Frame display; protected boolean eventPassable = true; protected LayerContainer<T> container = new LayerContainer<T>(); ======= public class Layer<T extends Component> extends Contai...
<<<<<<< import org.joml.Vector4f; ======= >>>>>>> import org.joml.Vector4f;
<<<<<<< viewport.setLayout(null); viewport.setBackgroundColor(1, 1, 1, 0); viewport.setBorder(null); ======= viewport.getStyle().getBackground().setColor(1, 1, 1, 0); viewport.getStyle().setBorder(null); >>>>>>> viewport.setLayout(null); viewport.getStyle().get...
<<<<<<< private final CiphertextDirectoryDeleter ciphertextDirDeleter = mock(CiphertextDirectoryDeleter.class); ======= private final ReadonlyFlag readonlyFlag = mock(ReadonlyFlag.class); >>>>>>> private final CiphertextDirectoryDeleter ciphertextDirDeleter = mock(CiphertextDirectoryDeleter.class); private final...
<<<<<<< private final CiphertextDirectoryDeleter ciphertextDirDeleter; ======= private final ReadonlyFlag readonlyFlag; >>>>>>> private final CiphertextDirectoryDeleter ciphertextDirDeleter; private final ReadonlyFlag readonlyFlag; <<<<<<< RootDirectoryInitializer rootDirectoryInitializer, CryptoFileAttribut...
<<<<<<< import org.cryptomator.cryptofs.common.CiphertextFileType; import org.cryptomator.cryptofs.common.FinallyUtil; import org.cryptomator.cryptofs.common.RunnableThrowingException; import org.cryptomator.cryptofs.dir.CiphertextDirectoryDeleter; import org.cryptomator.cryptofs.dir.DirectoryStreamFactory; ======= i...
<<<<<<< private final Consumer<CryptoFileChannel> onClose = mock(Consumer.class); ======= private final Consumer<CryptoFileChannel> onClose = mock(Consumer.class); private FinallyUtil finallyUtil = mock(FinallyUtil.class); >>>>>>> private final Consumer<CryptoFileChannel> onClose = mock(Consumer.class); priva...
<<<<<<< ======= public Direction getDirection() { return dir; } public void setDirection(Direction d) { dir = d; } /** * rotates by `turns.' If turns is negative * it rotates counter clockwise, else clock- * wise. each turn constitutes the smallest * directional change. * * Current that ...
<<<<<<< /** * An object representing a collection of different mail * settings that you can use to specify how you would * like this email to be handled. */ ======= >>>>>>> /** * An object representing a collection of different mail * settings that you can use to specify how you would * like this email to be ...
<<<<<<< ======= import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.ByteArrayInputStream; import java.io.FileNotFoundException; import java.util.Arrays; >>>>>>> import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.ByteArrayInputStream; import java.io.FileNotFoun...
<<<<<<< @JsonInclude(Include.NON_EMPTY) ======= /** * Settings to determine how you would like to track the * metrics of how your recipients interact with your email. */ @JsonInclude(Include.NON_DEFAULT) >>>>>>> /** * Settings to determine how you would like to track the * metrics of how your recipients inter...
<<<<<<< @JsonInclude(Include.NON_EMPTY) ======= /** * This object allows you to have a blind carbon copy * automatically sent to the specified email address * for every email that is sent. */ @JsonInclude(Include.NON_DEFAULT) >>>>>>> /** * This object allows you to have a blind carbon copy * automatically s...
<<<<<<< import com.openerp.support.OEUser; import com.openerp.support.menu.OEMenu; import com.openerp.util.HTMLHelper; ======= >>>>>>> import com.openerp.support.OEUser; import com.openerp.util.HTMLHelper; <<<<<<< handleArguments((Bundle) getArguments()); ======= >>>>>>>
<<<<<<< ======= >>>>>>> <<<<<<< handleArguments((Bundle) getArguments()); ======= >>>>>>> <<<<<<< ======= >>>>>>>
<<<<<<< @CheckForNull private List<String> securityOpts; @CheckForNull private Map<String, String> extraDockerLabels; ======= @CheckForNull private List<String> capabilitiesToAdd; @CheckForNull private List<String> capabilitiesToDrop; @CheckForNull public List<String> secur...
<<<<<<< FutureDHT putFuture = getNetworkManager().putGlobal(locationKey, contentKey, data); PutVerificationListener verificationListener = new PutVerificationListener(getNetworkManager(), this, ======= FuturePut putFuture = getNetworkManager().putGlobal(locationKey, contentKey, data); PutVerificationListener ...
<<<<<<< import org.hive2hive.processframework.util.TestExecutionUtil; ======= import org.hive2hive.processframework.exceptions.ProcessExecutionException; import org.hive2hive.processframework.interfaces.IProcessComponent; import org.hive2hive.processframework.utils.TestProcessComponentListener; >>>>>>> import org.hi...
<<<<<<< import org.hive2hive.core.utils.TestFileEventListener; ======= import org.hive2hive.core.utils.TestExecutionUtil; >>>>>>> import org.hive2hive.core.utils.TestExecutionUtil; import org.hive2hive.core.utils.TestFileEventListener;
<<<<<<< // check if selected locations are empty ======= >>>>>>> // check if selected locations are empty <<<<<<< // create a message with target node B TestMessageWithReply message = new TestMessageWithReply(nodeB.getNodeId(), nodeA.getPeerAddress(), contentKey); // create and add a callback handler...
<<<<<<< package org.hive2hive.core.process.common.messages; import net.tomp2p.futures.FutureDirect; import net.tomp2p.peers.PeerAddress; import org.hive2hive.core.network.messages.BaseMessage; import org.hive2hive.core.network.messages.IBaseMessageListener; import org.hive2hive.core.network.messages.direct.BaseDirect...
<<<<<<< public void testPutRollback() throws InvalidProcessStateException, NoPeerConnectionException, ProcessExecutionException { String userId = NetworkTestUtil.randomString(); TestUserProfileTask userProfileTask = new TestUserProfileTask(); KeyPair key = EncryptionUtil.generateRSAKeyPair(H2HConstants.KEYLENGTH...
<<<<<<< import org.hive2hive.core.network.Connection; ======= import org.hive2hive.core.test.flowcontrol.ProcessManagerTest; import org.hive2hive.core.test.flowcontrol.ProcessTest; >>>>>>> import org.hive2hive.core.network.Connection; import org.hive2hive.core.test.flowcontrol.ProcessManagerTest; import org.hive2hiv...
<<<<<<< import java.nio.file.Path; import java.util.List; ======= import java.nio.file.Files; import java.nio.file.LinkOption; >>>>>>> import java.nio.file.Files; import java.nio.file.LinkOption; import java.nio.file.Path; import java.util.List; <<<<<<< ======= add(new H2HConsoleMenuItem("File Observer") { ...
<<<<<<< import org.hive2hive.processes.implementations.context.DeleteFileProcessContext; ======= import org.hive2hive.processes.implementations.context.DownloadFileContext; >>>>>>> import org.hive2hive.processes.implementations.context.DeleteFileProcessContext; import org.hive2hive.processes.implementations.context....
<<<<<<< // TODO throw exceptions where the library should ======= >>>>>>> <<<<<<< * Symmetrically encrypts content inheriting from {@link NetworkData} by means of the AES algorithm. * The content first gets serialized, then encrypted. * * @param content the content to be encrypted. Can be of any type tha...
<<<<<<< protected void handleGetResult(FutureDHT future) { // it's a test for messages only } @Override protected void handlePutResult(FutureDHT future) { // it's a test for messages only ======= protected void handlePutGetResult(FutureDHT future) { // not expected to get a put/get result Ass...
<<<<<<< ======= import org.hive2hive.core.exceptions.VersionForkAfterPutException; import org.hive2hive.core.file.FileUtil; >>>>>>> import org.hive2hive.core.exceptions.VersionForkAfterPutException; <<<<<<< Path path = null; // = FileUtil.getPath(root, toDelete); ======= Path path = FileUtil.getPath(root, to...
<<<<<<< import static java.util.concurrent.TimeUnit.MINUTES; import com.google.gerrit.elasticsearch.ElasticTestUtils.ElasticNodeInfo; ======= >>>>>>> import static java.util.concurrent.TimeUnit.MINUTES; <<<<<<< public void closeIndex() throws Exception { client .execute( new HttpPost( ...
<<<<<<< // verify that data arrived String result = (String) ((TestDataWrapper) tmp).getContent(); ======= String result = ((TestDataWrapper) tmp).getTestString(); >>>>>>> // verify that data arrived String result = ((TestDataWrapper) tmp).getTestString(); <<<<<<< // verify that data arrived String re...
<<<<<<< import org.hive2hive.core.IH2HNode; import org.hive2hive.core.api.watcher.H2HFileListener; import org.hive2hive.core.api.watcher.H2HFileWatcher; import org.hive2hive.core.api.watcher.H2HFileWatcher.H2HFileWatcherBuilder; ======= import org.hive2hive.core.api.interfaces.IFileManager; import org.hive2hive.core....
<<<<<<< import org.hive2hive.core.model.Locations; import org.hive2hive.core.model.UserCredentials; ======= >>>>>>> import org.hive2hive.core.model.Locations; <<<<<<< import org.hive2hive.core.process.context.IGetLocationsContext; import org.hive2hive.core.process.context.ProcessContext; ======= import org.hive2h...
<<<<<<< ======= import java.util.List; import java.util.Random; >>>>>>> import java.util.List; <<<<<<< ======= import org.hive2hive.processframework.ProcessStep; import org.hive2hive.processframework.exceptions.InvalidProcessStateException; >>>>>>> <<<<<<< public class RelinkUserProfileStep extends BaseModifyUs...
<<<<<<< import org.hive2hive.core.network.data.IDataManager; import org.hive2hive.core.processes.framework.RollbackReason; ======= import org.hive2hive.core.network.NetworkManager; import org.hive2hive.core.processes.framework.exceptions.InvalidProcessStateException; import org.hive2hive.core.processes.framework.exce...
<<<<<<< import org.apache.sshd.common.Random; ======= import org.apache.sshd.common.RequestHandler; >>>>>>> import org.apache.sshd.common.Random; import org.apache.sshd.common.RequestHandler; <<<<<<< daemonAcceptor.dispose(); ======= acceptor.close(true).await(); >>>>>>> daemonAcceptor.cl...
<<<<<<< .channelClientConfiguration(clientConfig).channelServerConfiguration(serverConfig).makeAndListen(); ======= .channelClientConfiguration(clientConfig).channelServerConfiguration(serverConfig).makeAndListen(); } catch (IOException e) { logger.error("Exception while creating a peer: ", e); retu...