conflict_resolution
stringlengths
27
16k
<<<<<<< import java.io.IOException; import org.apache.hadoop.hive.common.type.Decimal128; ======= import java.math.BigInteger; import org.apache.hadoop.hive.serde2.io.HiveDecimalWritable; >>>>>>> import java.io.IOException; import org.apache.hadoop.hive.common.type.Decimal128; import java.math.BigInteger; impo...
<<<<<<< new EximUtil.SemanticAnalyzerWrapperContext(conf, db, inputs, outputs, rootTasks, LOG, ctx)); ======= new EximUtil.SemanticAnalyzerWrapperContext(conf, db, inputs, outputs, rootTasks, LOG, ctx), null, null); >>>>>>> new EximUtil.SemanticAnalyzerWrapperContext(conf, db...
<<<<<<< boolean sendSerializedEvents = conf.getBoolean("mapreduce.tez.input.initializer.serialize.event.payload", true); // perform dynamic partition pruning pruner.prune(); InputSplitInfoMem inputSplitInfo = null; boolean generateConsistentSplits = HiveConf.getBoolVar(conf, HiveConf.ConfV...
<<<<<<< import org.apache.hadoop.hive.metastore.api.*; ======= import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; import org.apache.hadoop.hive.metastore.api.AbortTxnsRequest; import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; import org.apac...
<<<<<<< import java.util.HashMap; ======= import java.util.HashSet; >>>>>>> import java.util.HashMap; import java.util.HashSet;
<<<<<<< /** * Returns the full path to the Jar containing the class. It always return a JAR. * * @param klass * class. * * @return path to the Jar containing the class. */ @SuppressWarnings("rawtypes") public static String jarFinderGetJar(Class klass) { Preconditions.checkNotNul...
<<<<<<< import org.apache.avro.generic.GenericData; ======= import com.google.common.base.Preconditions; >>>>>>> import org.apache.avro.generic.GenericData; import com.google.common.base.Preconditions; <<<<<<< import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; import org.apache.hadoop.hive.ql.lockmgr.LockExce...
<<<<<<< ======= alias = (byte) tag; if (hashMapRowGetters == null) { hashMapRowGetters = new ReusableGetAdaptor[mapJoinTables.length]; MapJoinKey refKey = getRefKey(alias); for (byte pos = 0; pos < order.length; pos++) { if (pos != alias) { hashMapRowGetters[p...
<<<<<<< import com.google.common.base.Preconditions; ======= >>>>>>> import com.google.common.base.Preconditions; <<<<<<< // For each source to read, get a shared lock for (ReadEntity input : plan.getInputs()) { if (!input.needsLock() || input.isUpdateOrDelete() || !needsLock(input)) { // We...
<<<<<<< import static org.fusesource.jansi.internal.CLibrary.STDERR_FILENO; import static org.fusesource.jansi.internal.CLibrary.STDOUT_FILENO; import static org.fusesource.jansi.internal.CLibrary.isatty; ======= >>>>>>> <<<<<<< private static final int MIN_TERMINAL_WIDTH = 94; ======= >>>>>>>
<<<<<<< public static final String LEGACY_VALUE_STRING = TransactionalValidationListener.LEGACY_TRANSACTIONAL_PROPERTY; public static final String INSERTONLY_VALUE_STRING = TransactionalValidationListener.INSERTONLY_TRANSACTIONAL_PROPERTY; ======= >>>>>>> public static final String INSERTONLY_VALUE_STRIN...
<<<<<<< if (Utilities.FILE_OP_LOGGER.isTraceEnabled()) { Utilities.FILE_OP_LOGGER.trace("loadTable called from " + tbd.getSourcePath() + " into " + tbd.getTable().getTableName()); } db.loadTable(tbd.getSourcePath(), tbd.getTable().getTableName(), tbd.getReplace(),...
<<<<<<< private final HdfsFileStatusWithId file; ======= private final HdfsFileStatusWithId fileWithId; >>>>>>> private final HdfsFileStatusWithId fileWithId; <<<<<<< HdfsFileStatusWithId file, FileInfo fileInfo, ======= HdfsFileStatusWithId fileWithId, FileInfo fileInfo, >>>>>>> ...
<<<<<<< import org.apache.hadoop.hive.ql.plan.CopyWork; import org.slf4j.Logger; ======= import org.apache.hadoop.hive.ql.parse.repl.dump.TableExport; >>>>>>> import org.apache.hadoop.hive.ql.plan.CopyWork; import org.slf4j.Logger; import org.apache.hadoop.hive.ql.parse.repl.dump.TableExport; <<<<<<< // FIXME : ...
<<<<<<< Implementation.forceServerType(Implementation.Type.BUKKIT); ClassDiscovery cd = ClassDiscovery.getDefaultInstance(); cd.addDiscoveryLocation(ClassDiscovery.GetClassContainer(Main.class)); ======= Implementation.useAbstractEnumThread(false); //We have to break the rules here, because we wan...
<<<<<<< import org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.FileGenerator; import org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.SplitGenerator; import org.apache.hadoop.hive.ql.io.orc.Reader.FileMetaInfo; ======= import org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf; >>>>>>> import org.apache.hadoop.hive.ql.io...
<<<<<<< import org.apache.hadoop.hive.metastore.TableType; ======= import org.apache.hadoop.hive.io.HdfsUtils; >>>>>>> import org.apache.hadoop.hive.io.HdfsUtils; import org.apache.hadoop.hive.metastore.TableType; <<<<<<< import org.apache.hadoop.hive.metastore.model.MTableWrite; ======= import org.apache.hadoop....
<<<<<<< List<String> projCols = Arrays.asList(ColumnProjectionUtils.getReadColumnNames(context.conf)); projColsUncompressedSize = orcReader.getRawDataSizeOfColumns(projCols); ======= List<String> projCols = ColumnProjectionUtils.getReadColumnNames(context.conf); // TODO: produce projColsUncomp...
<<<<<<< public void flushCache() throws org.apache.thrift.TException; ======= public FireEventResponse fire_listener_event(FireEventRequest rqst) throws org.apache.thrift.TException; >>>>>>> public FireEventResponse fire_listener_event(FireEventRequest rqst) throws org.apache.thrift.TException; pu...
<<<<<<< import java.util.ArrayList; import java.util.List; import java.util.ListIterator; ======= import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; >>>>>>> import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Lis...
<<<<<<< public static <T> ImmutableMap<Integer, T> getColInfoMap(List<T> hiveCols, int startIndx) { Builder<Integer, T> bldr = ImmutableMap.<Integer, T> builder(); int indx = startIndx; for (T ci : hiveCols) { bldr.put(indx, ci); indx++; } return bldr.build(); } public ...
<<<<<<< @Override protected synchronized void acquire(boolean userAccess) { super.acquire(userAccess); // if we have a metastore connection with impersonation, then set it first Hive sessionHive = getHive(); if (sessionHive != null) { Hive.set(sessionHive); } } ======= >>>>>>>
<<<<<<< ======= import java.net.URI; import java.net.URISyntaxException; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; >>>>>>> import java.net.URI; import java.net.URISyntaxException; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; <<<<<<< import org.apache.hive.common....
<<<<<<< Table t = new Table(mtbl.getTableName(), mtbl.getDatabase().getName(), mtbl .getOwner(), mtbl.getCreateTime(), mtbl.getLastAccessTime(), mtbl .getRetention(), convertToStorageDescriptor(mtbl.getSd()), convertToFieldSchemas(mtbl.getPartitionKeys()), convertMap(mtbl.getParameters()), ...
<<<<<<< server.setServerEventHandler(serverEventHandler); server.serve(); String msg = "Started " + ThriftBinaryCLIService.class.getSimpleName() + " on port " ======= String msg = "Starting " + ThriftBinaryCLIService.class.getSimpleName() + " on port " >>>>>>> server.setServerEventHandl...
<<<<<<< boolean isReplace = !qb.getParseInfo().isInsertIntoTable( dest_tab.getDbName(), dest_tab.getTableName()); ltd = new LoadTableDesc(queryTmpdir, table_desc, dpCtx, acidOp, isReplace, txnId); ======= ltd = new LoadTableDesc(queryTmpdir, table_desc, dpCtx, acidOp); // F...
<<<<<<< ======= import org.apache.hadoop.hive.ql.session.SessionState.LogHelper; >>>>>>> import org.apache.hadoop.hive.ql.session.SessionState.LogHelper; <<<<<<< TezConfiguration tezConfig = new TezConfiguration(conf); // set up the staging directory to use ======= final TezConfiguration tezConfig = ...
<<<<<<< public void loadSinglePartition(Path loadPath, String tableName, Map<String, String> partSpec, boolean replace, boolean inheritTableSpecs, boolean isSkewedStoreAsSubdir, boolean isSrcLocal, boolean isAcid, boolean hasFollowingStatsTask, Long mmWriteId, boolean isCommitMmWrite) thr...
<<<<<<< import java.util.jar.JarFile; ======= import java.util.Locale; >>>>>>> import java.util.jar.JarFile; import java.util.Locale; <<<<<<< @api public static class compile_date extends AbstractFunction { @Override public ExceptionType[] thrown() { return null; } @Override public boolean isRest...
<<<<<<< private void vectorizeMapWork(MapWork mapWork) throws SemanticException { System.err.println("Going down the vectorized path"); ======= private void vectorizeMRTask(MapRedTask mrTask) throws SemanticException { LOG.info("Vectorizing task..."); MapWork mapWork = mrTask.getWork().getMa...
<<<<<<< import org.apache.hadoop.hive.ql.optimizer.physical.LlapDecider; ======= import org.apache.hadoop.hive.ql.optimizer.physical.MemoryDecider; >>>>>>> import org.apache.hadoop.hive.ql.optimizer.physical.LlapDecider; import org.apache.hadoop.hive.ql.optimizer.physical.MemoryDecider;
<<<<<<< public void setMmWriteId(Long mmWriteId) { this.mmWriteId = mmWriteId; } public class FileSinkOperatorExplainVectorization extends OperatorExplainVectorization { public FileSinkOperatorExplainVectorization(VectorDesc vectorDesc) { // Native vectorization not supported. super(vectorDe...
<<<<<<< private final int outputFormatPort; ======= private final int webPort; private final String webScheme; >>>>>>> private final int webPort; private final int outputFormatPort; private final String webScheme; <<<<<<< public int getOutputFormatPort() { return LlapFixedRegistryImpl.this.out...
<<<<<<< Path path = null; for (Map.Entry<Path, ArrayList<String>> e : pathToAliases) { if (lDrvStat != null && lDrvStat.driverState == DriverState.INTERRUPT) ======= // Note: this copies the list because createDummyFileForEmptyPartition may modify the map. for (Path file : new LinkedLi...
<<<<<<< public static final String LEGACY_TRANSACTIONAL_PROPERTY = "legacy"; public static final String INSERTONLY_TRANSACTIONAL_PROPERTY = "insert_only"; ======= >>>>>>> public static final String INSERTONLY_TRANSACTIONAL_PROPERTY = "insert_only"; <<<<<<< // INSERT_ONLY tables don't have to conform t...
<<<<<<< //Vectorization enabled HIVE_VECTORIZATION_ENABLED("hive.vectorized.execution.enabled", false), ======= HIVE_TYPE_CHECK_ON_INSERT("hive.typecheck.on.insert", true), >>>>>>> //Vectorization enabled HIVE_VECTORIZATION_ENABLED("hive.vectorized.execution.enabled", false), HIVE_TYPE_CH...
<<<<<<< if (op instanceof TableScanOperator) { tableScan = (TableScanOperator) op; ======= if ((op != null) && (op instanceof TableScanOperator)) { TableScanOperator tableScan = (TableScanOperator) op; // push down projections. ColumnProjectionUtils.appendReadCo...
<<<<<<< public CREIllegalArgumentException(String msg, Target t) { super(msg, t); } public CREIllegalArgumentException(String msg, Target t, Throwable cause) { super(msg, t, cause); } @Override public String docs() { return "Thrown if an argument was illegal in the given context."; } ...
<<<<<<< import org.apache.hadoop.hive.ql.io.ColumnarSplit; ======= import org.apache.hadoop.hive.ql.io.AcidInputFormat; import org.apache.hadoop.hive.ql.io.AcidUtils; >>>>>>> import org.apache.hadoop.hive.ql.io.ColumnarSplit; import org.apache.hadoop.hive.ql.io.AcidInputFormat; import org.apache.hadoop.hive.ql.io.Ac...
<<<<<<< ======= import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang3.exception.ExceptionUtils; >>>>>>> import org.apache.commons.lang3.exception.ExceptionUtils; <<<<<<< import org.apache.hadoop.hive.ql.io.orc.RecordReaderUtils.ByteBufferAllocatorPool; ======= import org.apache.h...
<<<<<<< @RetrySemantics.ReadOnly long getTxnIdForWriteId(String dbName, String tblName, long writeId) throws MetaException; /** * Gets the list of valid write ids for the given table wrt to current txn * @param rqst info on transaction and list of table names associated with given transaction * @...
<<<<<<< import org.apache.hadoop.hive.ql.exec.ImportCommitWork; ======= import org.apache.hadoop.hive.ql.exec.ReplCopyTask; >>>>>>> import org.apache.hadoop.hive.ql.exec.ImportCommitWork; import org.apache.hadoop.hive.ql.exec.ReplCopyTask; <<<<<<< return TaskFactory.get(new DDLWork(getInputs(), getOutputs(), ta...
<<<<<<< /** * a hadoop.io ByteBufferPool shim. */ public interface ByteBufferPoolShim { /** * Get a new ByteBuffer from the pool. The pool can provide this from * removing a buffer from its internal cache, or by allocating a * new buffer. * * @param direct Whether the buffer...
<<<<<<< ======= import org.apache.hadoop.hive.ql.io.orc.TestInputOutputFormat.MockFile; import org.apache.hadoop.hive.ql.io.orc.TestInputOutputFormat.MockFileSystem; import org.apache.hadoop.hive.ql.io.orc.TestInputOutputFormat.MockPath; import org.apache.hadoop.hive.ql.io.orc.TestOrcRawRecordMerger; >>>>>>> import ...
<<<<<<< import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.ArrayList; import java.util.Properties; ======= import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; >>>>>>> import java.io.DataInput; import java.io.DataOutput; import java.io.I...
<<<<<<< return stripes; ======= return convertProtoStripesToStripes(footer.getStripesList()); >>>>>>> return stripes; <<<<<<< //check compression codec switch (ps.getCompression()) { case NONE: case ZLIB: case SNAPPY: case LZO: break; default: throw ...
<<<<<<< ======= import com.laytonsmith.core.functions.ArrayHandling; import com.laytonsmith.core.functions.DummyFunction; >>>>>>> import com.laytonsmith.core.functions.ArrayHandling;
<<<<<<< JCUser currentUser = (JCUser) securityService.getCurrentUser(); if (currentUser == null) { // it shouldn't happen because only registered user can have this roles String msg = "JCUser should log in to post answers."; logger.error(msg); throw new IllegalStateEx...
<<<<<<< public CREIOException(String msg, Target t) { super(msg, t); } public CREIOException(String msg, Target t, Throwable cause) { super(msg, t, cause); } @Override public String docs() { return "This exception is thrown if a file cannot be read or written to."; } @Override ...
<<<<<<< import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; ======= >>>>>>> import java.util.List; <<<<<<< ======= import java.util.List; import sta...
<<<<<<< userService, pollService); ======= userService); >>>>>>> userService, pollService); <<<<<<< Topic newTopic = createNewTopic(); newTopic.setId(topic.getId()); topicService.updateTopic(newTopic, NEW_POST...
<<<<<<< import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.spring...
<<<<<<< boolean pagingEnabled = true; ======= int pageSize = 5; >>>>>>> boolean pagingEnabled = true; <<<<<<< ModelAndView mav = controller.show(branchId, page, pagingEnabled); ======= ModelAndView mav = controller.showPage(branchId, page, pageSize); >>>>>>> ModelA...
<<<<<<< import org.apache.commons.codec.binary.StringUtils; ======= import org.apache.velocity.app.VelocityEngine; >>>>>>> import org.apache.commons.codec.binary.StringUtils; import org.apache.velocity.app.VelocityEngine;
<<<<<<< ======= import org.jtalks.jcommune.model.entity.JCUser; >>>>>>> <<<<<<< ======= import org.jtalks.jcommune.service.UserService; import org.jtalks.jcommune.web.util.Pagination; >>>>>>> import org.jtalks.jcommune.service.UserService; <<<<<<< ======= private UserService userService; >>>>>>> <<<<<<...
<<<<<<< import org.jtalks.common.security.SecurityService; ======= >>>>>>> import org.jtalks.common.security.SecurityService; <<<<<<< import java.util.ArrayList; import java.util.Collections; import java.util.List; import static org.mockito.Mockito.anyString; import static org.mockito.Mockito.doThrow; import stati...
<<<<<<< import org.jtalks.jcommune.model.entity.Branch; ======= import org.jtalks.common.security.SecurityService; >>>>>>> import org.jtalks.common.security.SecurityService; import org.jtalks.jcommune.model.entity.Branch; <<<<<<< ======= @PreAuthorize("hasPermission(#branchId, 'BRANCH', 'BranchPermission.CREA...
<<<<<<< dao.update(topic); userMentionService.notifyNotMentionedUsers(topic.getFirstPost()); ======= dao.saveOrUpdate(topic); >>>>>>> dao.saveOrUpdate(topic); userMentionService.notifyNotMentionedUsers(topic.getFirstPost());
<<<<<<< /** * {@inheritDoc} */ @Override public List<Post> getLastPost() throws NotFoundException { return dao.getLastPost(); } ======= /** * {@inheritDoc} */ @Override @PreAuthorize("hasPermission(#postId, 'org.jtalks.jcommune.model.entity.Post', admin...
<<<<<<< import javax.servlet.http.HttpSession; import java.util.ArrayList; import java.util.List; import static org.mockito.Mockito.*; import static org.springframework.test.web.ModelAndViewAssert.*; import static org.testng.Assert.assertEquals; ======= >>>>>>> import javax.servlet.http.HttpSession; import java.ut...
<<<<<<< import org.springframework.core.io.ByteArrayResource; import org.springframework.core.io.ClassPathResource; ======= >>>>>>> import org.springframework.core.io.ClassPathResource; <<<<<<< import javax.activation.FileTypeMap; ======= >>>>>>> <<<<<<< * @param sender spring mailing tool * @param ...
<<<<<<< import org.jtalks.jcommune.model.PersistedObjectsFactory; ======= import org.jtalks.jcommune.model.ObjectsFactory; import org.jtalks.jcommune.model.dto.JCommunePageRequest; >>>>>>> import org.jtalks.jcommune.model.PersistedObjectsFactory; import org.jtalks.jcommune.model.dto.JCommunePageRequest;
<<<<<<< ======= * Subscribes topic starter on created topic if notifications enabled("Notify me about the answer" checkbox). * * @param notifyOnAnswers flag that indicates notifications state(enabled or disabled) * @param topic topic to subscription * @param currentUser current ...
<<<<<<< ======= private void updateTopicStubs(Topic topic) { when(userService.getCurrentUser()).thenReturn(user); when(topicDao.isExist(TOPIC_ID)).thenReturn(true); when(topicDao.get(TOPIC_ID)).thenReturn(topic); } private void updateTopicVerifications(Topic topic) { verif...
<<<<<<< * @return content of the first post of the topic */ public String getBodyText() { Post firstPost = getFirstPost(); return firstPost.getPostContent(); } /** * Get the list of the posts. * * @return the list of posts ======= * @return the list of posts...
<<<<<<< import org.jtalks.jcommune.service.nontransactional.PaginationService; ======= >>>>>>> import org.jtalks.jcommune.service.nontransactional.PaginationService; <<<<<<< ======= private UserService userService; >>>>>>> <<<<<<< ======= * @param userService to get user currently logged in ...
<<<<<<< import org.jtalks.jcommune.service.nontransactional.PaginationService; import org.jtalks.jcommune.service.nontransactional.SecurityService; ======= >>>>>>> import org.jtalks.jcommune.service.nontransactional.PaginationService; <<<<<<< ======= import java.util.List; >>>>>>> <<<<<<< private Paginatio...
<<<<<<< if (isEmailNotificationEnabled()) { JCUser current = (JCUser) securityService.getCurrentUser(); ======= if (notificationsEnabledProperty.booleanValue()) { JCUser current = securityService.getCurrentUser(); >>>>>>> if (notificationsEnabledProperty.booleanValue()...
<<<<<<< if (topic.getPoll() != null) { pollTitle = topic.getPoll().getTitle(); pollOptions = topic.getPoll().getPollOptions().toString(); single = String.valueOf(topic.getPoll().isSingle()); endingDate = topic.getPoll().getEndingDate().toString(); } =====...
<<<<<<< List<PolyMcEntrypoint> entrypoints = FabricLoader.getInstance().getEntrypoints("poly-mc", PolyMcEntrypoint.class); ======= List<PolyMcEntrypoint> entrypoints = FabricLoader.getInstance().getEntrypoints("polymc", PolyMcEntrypoint.class); >>>>>>> List<PolyMcEntrypoint> entrypoints = Fab...
<<<<<<< public BlockState getClientBlockWithContext(BlockState serverBlock, BlockPos pos, World world) { BlockPoly poly = blockPolys.get(serverBlock.getBlock()); if (poly == null) return serverBlock; return poly.getClientBlockWithContext(serverBlock, pos, world); } public BlockPoly...
<<<<<<< private static final String TAG = ExceptionService.class.getSimpleName(); private static final String EXTRA_EXCEPTION = TAG + "/EXTRA_EXCEPTION"; ======= private static final String TAG = "ExceptionService"; private ByteArrayOutputStream bos; private ObjectOutputStream oos; >>>>>>> ...
<<<<<<< ======= import quickdt.data.Instance; import quickdt.predictiveModels.PredictiveModel; >>>>>>>
<<<<<<< //<<<<<<< HEAD // PM buildPredictiveModel(Iterable<? extends AbstractInstance<? extends R>> trainingData); // PredictiveModelBuilder<? extends R, ? extends PM> updatable(boolean updatable); //======= PM buildPredictiveModel(Iterable<Instance<R>> trainingData); ======= PM buildPredictiveModel(I...
<<<<<<< final Iterable<? extends AbstractInstance> instances) { if (binaryClassifications) { return createTwoClassCategoricalNode(parent, attribute, instances); } else { return createNClassCategoricalNode(pare...
<<<<<<< import com.google.common.collect.Maps; ======= import com.beust.jcommander.internal.Lists; import com.beust.jcommander.internal.Maps; >>>>>>> import com.google.common.collect.Maps; <<<<<<< ======= import quickml.supervised.crossValidation.lossfunctions.ClassifierRMSELossFunction; import quickml.supervised...
<<<<<<< import java.util.Date; import java.util.Scanner; ======= >>>>>>> import java.util.Date; import java.util.Scanner;
<<<<<<< if (parentType == TYPE_LIST && elementType == TYPE) { return Indent.getContinuationIndent(); } ======= if (elementType == OPEN_QUOTE && parentType == STRING_LITERAL_EXPRESSION && superParentType == VAR_INIT) { if (node.getText().length() < 3) { return Indent.getContinuationInd...
<<<<<<< import com.google.dart.server.generated.types.AnalysisError; import com.google.dart.server.generated.types.AnalysisErrorSeverity; import com.google.dart.server.generated.types.Location; ======= import com.google.dart.server.generated.types.*; import com.intellij.icons.AllIcons; import com.intellij.ide.errorTr...
<<<<<<< private final List<String> myPriorityFiles = new ArrayList<String>(); ======= private final MessageBusConnection myConnection = ApplicationManager.getApplication().getMessageBus().connect(); >>>>>>> private final List<String> myPriorityFiles = new ArrayList<String>(); private final MessageBusConnecti...
<<<<<<< size.copy(terminal.getSize()); ======= if (status != null) { status.suspend(); } >>>>>>> size.copy(terminal.getSize()); if (status != null) { status.suspend(); }
<<<<<<< PlayerProfile player = context.getApi().getPlayerProfile(); double nextXP = requiredXp[player.getStats().getLevel()] - requiredXp[player.getStats().getLevel() - 1]; double curLevelXP = player.getStats().getExperience() - requiredXp[player.g...
<<<<<<< public static boolean isUiSystemNotification(){ return uiSystemNotification; } ======= public static boolean isEggsIncubating() { return eggsIncubating; } public static boolean isEggsHatching() { return eggsHatching; } >>>>>>> public static boolean isU...
<<<<<<< // named location useCustomNamedLocation = Boolean.parseBoolean(properties.getProperty("use-location-name", "true")); customNamedLocation = properties.getProperty("location-by-name"); ======= consoleNotification = Boolean.parseBoolean(properties.getProperty("con...
<<<<<<< import org.eclipse.milo.opcua.stack.core.channel.EncodingLimits; ======= import org.eclipse.milo.opcua.stack.core.Stack; import org.eclipse.milo.opcua.stack.core.channel.MessageLimits; >>>>>>> import org.eclipse.milo.opcua.stack.core.Stack; import org.eclipse.milo.opcua.stack.core.channel.EncodingLimits;
<<<<<<< import java.util.concurrent.CopyOnWriteArrayList; ======= import javax.annotation.Nonnull; import javax.annotation.Nullable; >>>>>>> import java.util.concurrent.CopyOnWriteArrayList; import javax.annotation.Nonnull; import javax.annotation.Nullable; <<<<<<< import org.eclipse.milo.opcua.stack.core.types.str...
<<<<<<< private final ExampleServer exampleServer; ======= private final KeyStoreLoader loader = new KeyStoreLoader(); private ExampleServer exampleServer; >>>>>>> private ExampleServer exampleServer; <<<<<<< EndpointDescription[] endpoints = UaTcpStackClient .getEndpoints("opc....
<<<<<<< assertEquals(copy.getKeepAliveFailuresAllowed(), original.getKeepAliveFailuresAllowed()); assertEquals(copy.getKeepAliveInterval(), original.getKeepAliveInterval()); assertEquals(copy.getKeepAliveTimeout(), original.getKeepAliveTimeout()); ======= assertEquals(copy.getSessionLo...
<<<<<<< import org.eclipse.milo.opcua.stack.server.services.ServiceRequest; ======= import org.eclipse.milo.opcua.stack.core.types.structured.PublishRequest; import org.eclipse.milo.opcua.stack.core.types.structured.PublishResponse; import org.eclipse.milo.opcua.stack.core.types.structured.RequestHeader; >>>>>>> imp...
<<<<<<< public static final String createLastUpdateDatabase = "CREATE TABLE IF NOT EXISTS LastUpdate (token STRING PRIMARY KEY, updateId INTEGER NOT NULL DEFAULT -1);"; public static final String createUserLanguageDatabase = "CREATE TABLE IF NOT EXISTS UserLanguage (userId INTEGER PRIMARY KEY, languageCode VARC...
<<<<<<< import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; ======= /** * Time Planner * Implement a function meetingPlanner that given the availability, slotsA and slotsB, of two people and a meeting duration dur, returns the earliest time slot that works for both o...
<<<<<<< ======= import org.eclipse.swt.custom.StackLayout; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; >>>>>>> import org.eclipse.swt.custom.StackLayout; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; <<<<<<< ======= private ComboV...
<<<<<<< @Injection( name = FieldNames.COMPRESSION ) private String compressionType; ======= private CompressionType compressionType; // private final NamedClusterLoadSaveUtil namedClusterLoadSaveUtil; >>>>>>> @Injection( name = FieldNames.COMPRESSION ) private CompressionType compressionType; // priv...
<<<<<<< import net.minecraftforge.event.world.BlockEvent; ======= import net.minecraftforge.event.world.ChunkWatchEvent; >>>>>>> import net.minecraftforge.event.world.BlockEvent; import net.minecraftforge.event.world.ChunkWatchEvent; <<<<<<< // TODO: Leaving this unfired is intentional. See: https://github.com/Mi...
<<<<<<< import android.content.Intent; ======= import android.content.Context; >>>>>>> import android.content.Intent; import android.content.Context; <<<<<<< @Override public void onBackPressed() { //TODO check the todo on MainActivity. This is a workaround to it startActivity(new Intent(Pre...
<<<<<<< import com.datatorrent.api.annotation.ApplicationAnnotation; ======= import com.datatorrent.lib.io.ConsoleOutputOperator; >>>>>>> import com.datatorrent.api.annotation.ApplicationAnnotation; import com.datatorrent.lib.io.ConsoleOutputOperator;
<<<<<<< ======= import com.datatorrent.api.ActivationListener; >>>>>>>
<<<<<<< * * @since 1.0.2 ======= * <p/> * This class supports retrying of failed files by putting them into failed list, and retrying them after pending * files are processed. Retrying is disabled when maxRetryCount is set to zero. * >>>>>>> * <p/> * This class supports retrying of failed files by putting th...
<<<<<<< bucket.committedLSN = windowId; ======= >>>>>>> bucket.committedLSN = windowId; <<<<<<< protected HashMap<byte[], byte[]> writeCache = Maps.newHashMap(); private HashMap<byte[], byte[]> frozenWriteCache = Maps.newHashMap(); private final transient HashMap<String, TreeMap<byte...
<<<<<<< /** * Extracts citation sentiments. * * @param conf extraction configuration * @param fullText the full text * @param citations citation list * @return citation sentiments */ public static List<CitationSentiment> analyzeSentiment(ComponentConfiguration conf, ...