conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import com.google.appinventor.shared.rpc.project.GalleryApp;
=======
import java.util.Random;
>>>>>>>
import com.google.appinventor.shared.rpc.project.GalleryApp;
import java.util.Random;
<<<<<<<
// Unread message count, global
private final int[] msgCount = {0};
=======
// Nonce Information
p... |
<<<<<<<
private static final int YAV_SKEW = 1;
private static final String LOG_TAG = "AppInvHTTPD";
private static byte[] hmacKey;
private static int seq;
private boolean first = true;
=======
private static final int YAV_SKEW_FORWARD = 1;
private static final int YAV_SKEW_BACKWARD = 4;
>>>>>>>
priv... |
<<<<<<<
tuser = new User(userId, email, null, null, false, false, 0);
=======
tuser = new User(userId, email, false, false, null);
>>>>>>>
tuser = new User(userId, email, null, null, false, false, 0, null);
<<<<<<<
=======
// Return time in ISO_8660 format
private static String formattedT... |
<<<<<<<
// which type the user has
private int type;
=======
private String sessionId; // Used to ensure only one account active at a time
>>>>>>>
// which type the user has
private int type;
private String sessionId; // Used to ensure only one account active at a time
<<<<<<<
public ... |
<<<<<<<
=======
import com.google.common.collect.Maps;
>>>>>>>
import com.google.common.collect.Maps;
<<<<<<<
import java.util.HashMap;
import java.util.HashSet;
=======
>>>>>>>
import java.util.HashSet;
<<<<<<<
// Invariants: openFileEditors, fileIds, and deckPanel contain corresponding
// elements, i.e., ... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
if (editStatus==NEWAPP)
ode.getProjectService().setGalleryId(app.getProjectId(),galleryId,projectCallback);
=======
// 3. Set galleryId of the project once it's published
ode.getProjectService().setGalleryId(app.get... |
<<<<<<<
=======
import com.google.appinventor.client.youngandroid.CodeblocksManager;
import com.google.appinventor.client.youngandroid.TextValidators;
>>>>>>>
import com.google.appinventor.client.youngandroid.TextValidators;
<<<<<<<
if (filename.contains("'") || !filename.equals(URL.encodePathSegment(file... |
<<<<<<<
private final Version matchVersion;
=======
>>>>>>>
<<<<<<<
tok = new LowerCaseFilter(matchVersion, tok);
if (commonWords != null && commonWords.size() > 0)
tok = new CommonGramsFilter(matchVersion, tok, commonWords);
=======
tok = new LowerCaseFilter(tok);
>>>>>>>... |
<<<<<<<
import edu.wpi.first.wpilibj.PWMConfigDataResult;
import edu.wpi.first.wpilibj.PWMConfigDataResult;
import edu.wpi.first.wpilibj.Utility;
import edu.wpi.first.wpilibj.hal.NotifierJNI;
=======
import edu.wpi.first.wpilibj.PWMConfigDataResult;
>>>>>>>
import edu.wpi.first.wpilibj.PWMConfigDataResult;
import e... |
<<<<<<<
private static final long serialVersionUID = -8618555367432628615L;
private static IMockeyStorage store = InMemoryMockeyStorage.getInstance();
=======
>>>>>>>
private static IMockeyStorage store = InMemoryMockeyStorage.getInstance();
<<<<<<<
MockServiceXMLFactory g = new MockServiceXMLFactory();
... |
<<<<<<<
List testServices = store.getServices();
Iterator iter = testServices.iterator();
=======
List<Service> testServices = store.getOrderedListOfServices();
Iterator<Service> iter = testServices.iterator();
>>>>>>>
List<Service> testServices = store.get... |
<<<<<<<
private boolean alignLabels;
private int thickness;
=======
private boolean alignLabels;
private float thickness;
private float thicknessError;
private int arrowColor;
private float arrowSize;
>>>>>>>
private boolean alignLabels;
private float thickness;
private float ... |
<<<<<<<
private String templateDirectory = Config.getInstance().getTemplateDirectory();
=======
private boolean isMultipleSchemas;
>>>>>>>
private boolean isMultipleSchemas;
private String templateDirectory = Config.getInstance().getTemplateDirectory(); |
<<<<<<<
MustacheWriter mw = new MustacheWriter( outputDir, scopes, getPathToRoot(), database.getName());
mw.write("constraint.html", "constraints.html", "constraint.js");
=======
MustacheWriter mw = new MustacheWriter( outputDir, scopes, getPathToRoot(), database.getName(), false);
mw.... |
<<<<<<<
sentence.tokens = Twokenize.tokenizeForTagger(text);
if (sentence.T() > 0){
numtoks += sentence.tokens.size();
ModelSentence modelSentence = new ModelSentence(sentence.T());
tagger.featureExtractor.computeFeatures(sentence, modelSentence);
goDecode(modelSentence);
if (outputFormat... |
<<<<<<<
=======
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Sets;
>>>>>>>
import com.google.common.collect.Sets; |
<<<<<<<
import net.minecraftforge.common.MinecraftForge;
import team.chisel.ctm.api.event.TextureCollectedEvent;
=======
import net.minecraftforge.client.model.IModel;
import team.chisel.ctm.CTM;
import team.chisel.ctm.api.model.IModelCTM;
>>>>>>>
import net.minecraftforge.common.MinecraftForge;
import team.chisel.c... |
<<<<<<<
import team.chisel.ctm.api.event.TextureCollectedEvent;
=======
import team.chisel.ctm.CTM;
>>>>>>>
import team.chisel.ctm.CTM;
import team.chisel.ctm.api.event.TextureCollectedEvent;
<<<<<<<
TextureAtlasSprite sprite = event.getSprite();
try {
ResourceLocation rel = ... |
<<<<<<<
import java.util.HashSet;
=======
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
>>>>>>>
import java.util.Deque;
import java.util.HashSet;
<<<<<<<
private final Set<ResourceLocation> registeredTextures = new HashSet<>();
=======
private final Map<ResourceLocation, Boolea... |
<<<<<<<
=======
// These must be in sync with the array preferences_alert_type_values
static final String ALERT_TYPE_ALERTS = "0";
static final String ALERT_TYPE_STATUS_BAR = "1";
static final String ALERT_TYPE_OFF = "2";
// The value to use when setting Calendar to use the device's time zone
... |
<<<<<<<
// Set to 0 until we have UI to perform undo
public static final long UNDO_DELAY = 0;
// For recurring events which instances of the series are being modified
public static final int MODIFY_UNINITIALIZED = 0;
public static final int MODIFY_SELECTED = 1;
public static final int MODIFY_AL... |
<<<<<<<
=======
static final String KEY_DETAIL_VIEW = "DETAIL_VIEW";
// An arbitrary constant to pass to the GoogleLoginHelperService
private static final int GET_ACCOUNT_REQUEST = 1;
private Bundle mExtras;
>>>>>>>
static final String KEY_DETAIL_VIEW = "DETAIL_VIEW";
private Bundle mExtras... |
<<<<<<<
private void initController() {
if (mController == null)
mController = new DefaultIndicatorController();
FrameLayout indicatorContainer = (FrameLayout) findViewById(R.id.indicator_container);
indicatorContainer.addView(mController.newInstance(this));
mController... |
<<<<<<<
AbstractObservationRequest r, LocalizedProducer<OwsServiceProvider> serviceProvider, Locale l, String pdf, Session s) throws OwsExceptionReport, ConverterException {
return new ObservationOmObservationCreator(o, r, serviceProvider, l, pdf, s).create();
=======
AbstractObserva... |
<<<<<<<
import android.animation.Animator;
import android.app.SearchManager;
=======
import android.annotation.TargetApi;
>>>>>>>
import android.animation.Animator;
import android.app.SearchManager;
import android.annotation.TargetApi;
<<<<<<<
import android.support.v4.view.MenuItemCompat;
=======
>>>>>>>
import... |
<<<<<<<
import android.content.DialogInterface.OnCancelListener;
=======
>>>>>>>
<<<<<<<
public boolean isInternetOn() {
ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
if (cm != null && cm.getActiveNetworkInfo() != null)
return cm.getActiveNetworkInfo().isCon... |
<<<<<<<
class ProgressBarUpdateTask extends AsyncTask<Void, Integer, Void> {
private boolean callOnFinish = false;
=======
protected void downloadPage(int readerId, Integer[] integers){
Intent intent = new Intent(this, QuranDataService.class);
intent.putExtra(QuranDataService.DWONLOAD_TYPE... |
<<<<<<<
import de.uniluebeck.itm.spitfire.nCoap.communication.internal.InternalServiceUpdate;
=======
import de.uniluebeck.itm.spitfire.nCoap.communication.reliability.outgoing.RetransmissionTimeoutHandler;
import de.uniluebeck.itm.spitfire.nCoap.toolbox.Tools;
>>>>>>>
import de.uniluebeck.itm.spitfire.nCoap.communi... |
<<<<<<<
try{
OptionList optionList = decodeOptionList(buffer, optionCount, Code.getCodeFromNumber(codeNumber), header);
=======
OptionList optionList = decodeOptionList(buffer, optionCount, Code.getCodeFromNumber(codeNumber));
>>>>>>>
OptionList optionList = decodeOptionList(buffe... |
<<<<<<<
/*
* This file is part of Transdroid Torrent Search
* <http://code.google.com/p/transdroid-search/>
*
* Transdroid Torrent Search is free software: you can redistribute
* it and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation,
* ei... |
<<<<<<<
import sonia.scm.repository.NamespaceAndName;
import sonia.scm.repository.Permission;
import sonia.scm.repository.PermissionType;
import sonia.scm.repository.Repository;
import sonia.scm.repository.RepositoryManager;
=======
import sonia.scm.api.rest.AuthorizationExceptionMapper;
import sonia.scm.repository.*... |
<<<<<<<
import sonia.scm.repository.Repository;
import sonia.scm.repository.RepositoryException;
=======
>>>>>>>
import sonia.scm.repository.Repository;
<<<<<<<
public Response get(@PathParam("namespace") String namespace, @PathParam("name") String name, @PathParam("branch") String branchName) throws IOException,... |
<<<<<<<
public Repository create(Repository repository, boolean initRepository)
throws RepositoryException, IOException {
=======
public void create(Repository repository, boolean initRepository)
throws RepositoryException {
>>>>>>>
public Repository create(Repository repository, boolean initRepository... |
<<<<<<<
import org.eclipse.jgit.http.server.GitSmartHttpTools;
import sonia.scm.ClientMessages;
import sonia.scm.Priority;
=======
import com.google.inject.Singleton;
>>>>>>>
import sonia.scm.Priority;
<<<<<<<
Set<WebTokenGenerator> webTokenGenerators)
{
super(configuration, webTokenGenerators);
}
... |
<<<<<<<
import java.util.*;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
=======
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.Stack;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.assert... |
<<<<<<<
private static final Logger LOG = LoggerFactory.getLogger(HgModifyCommand.class);
private final HgCommandContext context;
=======
static final Pattern HG_MESSAGE_PATTERN = Pattern.compile(".*\\[SCM\\](?: Error:)? (.*)");
private HgCommandContext context;
>>>>>>>
private static final Logger LOG = ... |
<<<<<<<
import sonia.scm.api.rest.ContextualExceptionMapper;
import sonia.scm.api.v2.NotFoundExceptionMapper;
=======
import sonia.scm.api.rest.IllegalArgumentExceptionMapper;
>>>>>>>
import sonia.scm.api.rest.ContextualExceptionMapper;
import sonia.scm.api.rest.IllegalArgumentExceptionMapper;
import sonia.scm.api.v... |
<<<<<<<
public Repository create(Repository repository) throws AlreadyExistsException {
File directory = repositoryLocationResolver.getInitialNativeDirectory(repository);
if (directory != null && directory.exists()) {
throw new AlreadyExistsException();
=======
public Repository create(Repository re... |
<<<<<<<
Group oldGroup = groupDAO.get(name);
if (oldGroup != null)
=======
Group notModified = groupDAO.get(name);
if (notModified != null)
>>>>>>>
Group notModified = groupDAO.get(name);
if (notModified != null)
<<<<<<<
fireEvent(HandlerEventType.BEFORE_MODIFY, group, oldGroup);
===... |
<<<<<<<
=======
//~--- JDK imports ------------------------------------------------------------
import java.io.File;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Map;
>>>>>>>
//~--- JDK imports ------------------------------------------------------------
import java.io.File;
import ... |
<<<<<<<
bind(BlobDirectoryAccess.class, DefaultBlobDirectoryAccess.class);
=======
bind(new TypeLiteral<UpdateStepRepositoryMetadataAccess<Path>>() {}).to(new TypeLiteral<MetadataStore>() {});
>>>>>>>
bind(BlobDirectoryAccess.class, DefaultBlobDirectoryAccess.class);
bind(new TypeLiteral<UpdateStepRe... |
<<<<<<<
public static long getRevisionNumber(String revision) throws RevisionNotFoundException {
=======
//~--- get methods ----------------------------------------------------------
/**
* Method description
*
*
* @param revision
*
* @return
*
* @throws RepositoryException
*/
publi... |
<<<<<<<
import sonia.scm.repository.HealthCheckContextListener;
=======
import sonia.scm.repository.HealthCheckContextListener;
import sonia.scm.repository.LastModifiedUpdateListener;
>>>>>>>
import sonia.scm.repository.HealthCheckContextListener;
import sonia.scm.repository.LastModifiedUpdateListener;
<<<<<<<
===... |
<<<<<<<
import sonia.scm.repository.NamespaceAndName;
import sonia.scm.repository.Permission;
import sonia.scm.repository.PermissionType;
import sonia.scm.repository.Repository;
import sonia.scm.repository.RepositoryManager;
=======
import sonia.scm.api.rest.AuthorizationExceptionMapper;
import sonia.scm.repository.*... |
<<<<<<<
=======
File file = new File(context.getBaseDirectory(), ADVANCED_CONFIGURATION);
if (file.exists())
{
logger.info("load advanced plugin configuration from {}", file);
advancedPluginConfiguration = JAXB.unmarshal(file,
AdvancedPluginConfiguration.class);
}
else
{
... |
<<<<<<<
cache = cacheManager.getCache(CACHENAME);
this.httpClientProvider = httpClientProvider;
=======
cache = cacheManager.getCache(String.class, HgPackages.class, CACHENAME);
this.httpClient = httpClient;
>>>>>>>
this.cache = cacheManager.getCache(CACHENAME);
this.httpClient = httpClient;
... |
<<<<<<<
userManager.getDefaultType(),
new ScmClientConfig(configuration.getDateFormat(),
configuration.isDisableGroupingGrid()));
=======
new ScmClientConfig(configuration));
>>>>>>>
userManager.... |
<<<<<<<
public FileObjectDto getAllWithoutRevision(@PathParam("namespace") String namespace, @PathParam("name") String name, @DefaultValue("0") @QueryParam("offset") int offset) throws IOException {
return getSource(namespace, name, "/", null, offset);
=======
@Produces(VndMediaType.SOURCE)
@Operation(summa... |
<<<<<<<
public DiffCommandBuilder retriveContent(OutputStream outputStream) throws IOException {
=======
public DiffCommandBuilder retrieveContent(OutputStream outputStream) throws IOException, RevisionNotFoundException {
>>>>>>>
public DiffCommandBuilder retrieveContent(OutputStream outputStream) throws IOExc... |
<<<<<<<
private String mockedNamespace = "default_namespace";
=======
private ScmConfiguration configuration;
/**
* Tests {@link RepositoryManager#create(TypedObject)}.
*/
>>>>>>>
private ScmConfiguration configuration;
private String mockedNamespace = "default_namespace";
<<<<<<<
=======
/*... |
<<<<<<<
private final Provider<ModificationsRootResource> modificationsRootResource;
=======
private final Provider<FileHistoryRootResource> fileHistoryRootResource;
>>>>>>>
private final Provider<ModificationsRootResource> modificationsRootResource;
private final Provider<FileHistoryRootResource> fileHistor... |
<<<<<<<
import org.apache.shiro.authz.AuthorizationException;
=======
>>>>>>>
import org.apache.shiro.authz.AuthorizationException;
<<<<<<<
import javax.ws.rs.core.CacheControl;
import javax.ws.rs.core.EntityTag;
import javax.ws.rs.core.GenericEntity;
import javax.ws.rs.core.Request;
import javax.ws.rs.core.Respons... |
<<<<<<<
public void setGcExpression(String gcExpression) {
this.gcExpression = gcExpression;
}
@Override
@XmlTransient // Only for permission checks, don't serialize to XML
public String getId() {
// Don't change this without migrating SCM permission configuration!
return PERMISSION;
}
======... |
<<<<<<<
=======
this.enabledXsrfProtection = other.enabledXsrfProtection;
// deprecated fields
this.servername = other.servername;
this.sslPort = other.sslPort;
this.enableSSL = other.enableSSL;
this.enablePortForward = other.enablePortForward;
this.forwardPort = other.forwardPort;
}
... |
<<<<<<<
RepositoryRootResource repositoryRootResource = new RepositoryRootResource(Providers.of(new RepositoryResource(null, null, null, null, Providers.of(branchRootResource), null, null, null, null, null)), null);
=======
RepositoryRootResource repositoryRootResource = new RepositoryRootResource(MockProvide... |
<<<<<<<
import com.google.common.io.Closeables;
=======
import com.google.common.base.Strings;
>>>>>>>
import com.google.common.base.Strings;
import com.google.common.io.Closeables;
<<<<<<<
Closeables.closeQuietly(out);
=======
ServletOutputStream out = null;
try
{
out =... |
<<<<<<<
public Repository create(Repository repository)
throws RepositoryException, IOException
=======
public void create(Repository repository)
throws RepositoryException
>>>>>>>
public Repository create(Repository repository)
throws RepositoryException
<<<<<<<
Throwables... |
<<<<<<<
Providers.of(changesetRootResource), null, null, null, null)), null);
=======
MockProvider.of(changesetRootResource), null, null, null, null, null)), null);
>>>>>>>
Providers.of(changesetRootResource), null, null, null, null, null)), null); |
<<<<<<<
public static final String ME = PREFIX + "me" + SUFFIX;
=======
public static final String REPOSITORY_COLLECTION = PREFIX + "repositoryCollection" + SUFFIX;
>>>>>>>
public static final String REPOSITORY_COLLECTION = PREFIX + "repositoryCollection" + SUFFIX;
public static final String ME = PREFIX + "m... |
<<<<<<<
if (UserPermissions.changePublicKeys(user).isPermitted()) {
linksBuilder.single(link("publicKeys", resourceLinks.user().publicKeys(user.getName())));
}
if (userManager.isTypeDefault(user) && UserPermissions.changePassword(user).isPermitted() && !Authentications.isSubjectAnonymous(user.getName(... |
<<<<<<<
private List<SignatureDto> signatures;
=======
TagDto(Links links) {
super(links);
}
>>>>>>>
private List<SignatureDto> signatures;
TagDto(Links links) {
super(links);
} |
<<<<<<<
import sonia.scm.AlreadyExistsException;
import sonia.scm.NotFoundException;
import sonia.scm.repository.NamespaceAndName;
import sonia.scm.repository.Permission;
import sonia.scm.repository.Repository;
import sonia.scm.repository.RepositoryManager;
import sonia.scm.repository.RepositoryNotFoundException;
====... |
<<<<<<<
public void create(Repository repository, boolean initRepository)
=======
/**
* Method description
*
*
* @param repository
* @param initRepository
*
* @throws IOException
* @throws RepositoryException
*/
public Repository create(Repository repository, boolean initRepository)
... |
<<<<<<<
fireEvent(HandlerEventType.BEFORE_MODIFY, user, oldUser);
=======
>>>>>>>
<<<<<<<
fireEvent(HandlerEventType.MODIFY, user, oldUser);
=======
fireEvent(new UserModificationEvent(user, notModified, HandlerEvent.MODIFY));
>>>>>>>
fireEvent(HandlerEventType.MODIFY, user, notModified); |
<<<<<<<
bind(ScmConfigurationToGlobalConfigDtoMapper.class).to(Mappers.getMapper(ScmConfigurationToGlobalConfigDtoMapper.class).getClass());
bind(GlobalConfigDtoToScmConfigurationMapper.class).to(Mappers.getMapper(GlobalConfigDtoToScmConfigurationMapper.class).getClass());
=======
bind(RepositoryToReposi... |
<<<<<<<
* authorization header
* @since 2.0.0
*/
public static final String HEADER_AUTHORIZATION = "Authorization";
/**
=======
* content-length header
* @since 1.46
*/
public static final String HEADER_CONTENT_LENGTH = "Content-Length";
/**
>>>>>>>
* authorization header
* @since 2... |
<<<<<<<
import org.junit.Assert;
=======
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sonia.scm.user.User;
>>>>>>>
import org.junit.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sonia.scm.user.User; |
<<<<<<<
SCMContextProvider contextProvider, KeyGenerator keyGenerator,
Provider<WebSecurityContext> securityContextProvider,
RepositoryDAO repositoryDAO, Set<RepositoryHandler> handlerSet,
=======
SCMContextProvider contextProvider, RepositoryDAO repositoryDAO,
Set<RepositoryHandler> handlerSet,
... |
<<<<<<<
import java.util.List;
=======
import com.webcohesion.enunciate.metadata.rs.ResponseCode;
import com.webcohesion.enunciate.metadata.rs.StatusCodes;
import com.webcohesion.enunciate.metadata.rs.TypeHint;
>>>>>>>
import com.webcohesion.enunciate.metadata.rs.ResponseCode;
import com.webcohesion.enunciate.metad... |
<<<<<<<
public final class GroupEvent extends AbstractHandlerEvent<Group>
=======
public class GroupEvent implements HandlerEventBase<Group>
>>>>>>>
public class GroupEvent extends AbstractHandlerEvent<Group> |
<<<<<<<
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.ArrayBlockingQueue;
=======
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
>>>>>>>
import java.util.Map;
import java.util.Properties;
<<<<<<<
throws SQLException {
Connection result = null;
=... |
<<<<<<<
import java.sql.SQLException;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
=======
>>>>>>>
import java.sql.SQLException;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
<<<<<<<
=======
import java.util.concurrent.atom... |
<<<<<<<
protected Map<String, Object> attributes;
=======
public void setRepository( final String repository )
{
this.repository = repository;
}
>>>>>>>
public void setRepository( final String repository )
{
this.repository = repository;
}
protected Map<String, Obje... |
<<<<<<<
=======
import java.awt.image.BufferedImage;
import javax.inject.Inject;
import javax.ws.rs.DefaultValue;
>>>>>>> |
<<<<<<<
import com.enonic.xp.form.Form;
=======
import com.enonic.xp.app.ApplicationService;
>>>>>>>
import com.enonic.xp.form.Form;
import com.enonic.xp.app.ApplicationService;
<<<<<<<
protected ModuleService moduleService;
=======
private final static Pattern PATTERN = Pattern.compile( PATH + "/([^/]+)/... |
<<<<<<<
import com.google.common.annotations.Beta;
import com.google.common.collect.ImmutableMap;
=======
import com.enonic.xp.annotation.PublicApi;
>>>>>>>
import com.google.common.collect.ImmutableMap;
import com.enonic.xp.annotation.PublicApi; |
<<<<<<<
final Content content = oldContentNodeTranslator.fromNode( node );
=======
final Content content = contentNodeTranslator.fromNode( node );
>>>>>>>
final Content content = contentNodeTranslator.fromNode( node );
final Content content = oldContentNodeTranslator.fromNode(... |
<<<<<<<
final ProjectServiceImpl projectService = new ProjectServiceImpl();
projectService.setIndexService( indexService );
projectService.setRepositoryService( repositoryService );
projectService.setNodeService( nodeService );
=======
final ContentConfig contentConfig = Mocki... |
<<<<<<<
private final Multimap<String, String> formParams;
private final Map<String, String> headers;
=======
private final Map<String, String> headers;
>>>>>>>
private final Map<String, String> headers;
<<<<<<<
this.formParams = HashMultimap.create();
this.headers = Maps.newHashMap... |
<<<<<<<
import com.enonic.xp.portal.handler.PortalHandlerWorker;
=======
import com.enonic.xp.portal.impl.handler.PortalHandlerWorker;
import com.enonic.xp.security.RoleKeys;
import com.enonic.xp.security.acl.AccessControlEntry;
import com.enonic.xp.security.acl.Permission;
>>>>>>>
import com.enonic.xp.portal.handle... |
<<<<<<<
import com.enonic.xp.app.ApplicationKey;
import com.enonic.xp.branch.Branch;
import com.enonic.xp.content.ContentId;
import com.enonic.xp.content.ContentNotFoundException;
import com.enonic.xp.content.ContentPath;
import com.enonic.xp.content.ContentService;
import com.enonic.xp.data.PropertyTree;
=======
imp... |
<<<<<<<
private final IndexConfigs indexConfigs;
=======
private final ValidationSettings validationSettings;
private final IndexDefinitions indexDefinitions;
>>>>>>>
private final IndexDefinitions indexDefinitions;
<<<<<<<
indexConfigs = builder.indexConfigs;
=======
validationSe... |
<<<<<<<
import java.util.Objects;
import com.google.common.annotations.Beta;
=======
import com.google.common.base.Objects;
>>>>>>>
import java.util.Objects; |
<<<<<<<
private static final String KEEP_SIZE_TRUE = "?keepsize=true";
=======
private static final String IMAGE_FORMAT = "jpeg";
private static final String KEEP_SIZE = "keepSize";
private static final String SCALE = "scale";
>>>>>>>
private static final String KEEP_SIZE = "keepSize";
pri... |
<<<<<<<
import com.enonic.xp.portal.PortalRequest;
=======
import com.enonic.xp.module.ModuleKey;
import com.enonic.xp.portal.PortalContext;
>>>>>>>
import com.enonic.xp.module.ModuleKey;
import com.enonic.xp.portal.PortalRequest;
<<<<<<<
final Component previousComponent = portalRequest.getComponent();
==... |
<<<<<<<
=======
import com.google.common.collect.Iterables;
import com.google.common.collect.ListMultimap;
>>>>>>>
import com.google.common.collect.Iterables; |
<<<<<<<
addPageTemplate( mainPageLandingPageTemplate ).
addPageTemplate( productGridPageTemplate ) );
=======
addTemplate( mainPageLandingPageTemplate ).
addTemplate( productGridPageTemplate ).
addTemplate( myPartTemplate );
homepageSiteTemplate = si... |
<<<<<<<
=======
protected static final String resources = MesosAgent.DEFAULT_PORT_RESOURCES + "; cpus(*):0.2; mem(*):256; disk(*):200";
>>>>>>>
<<<<<<<
.withMaster(zooKeeper -> new MesosMaster(dockerClient, zooKeeper, masterConfig ))
.withSlave(zooKeeper -> new MesosSlave(docke... |
<<<<<<<
return dockerClient.createContainerCmd(MESOS_LOCAL_IMAGE + ":" + REGISTRY_TAG)
.withName("minimesos-zookeeper-" + getClusterId() + "-" + getRandomId())
=======
return dockerClient.createContainerCmd(MESOS_LOCAL_IMAGE + ":" + zooKeeperImageTag)
.withName("minimes... |
<<<<<<<
import com.containersol.minimesos.config.ClusterConfig;
import com.containersol.minimesos.config.ConsulConfig;
import com.containersol.minimesos.config.MarathonConfig;
import com.containersol.minimesos.config.MesosMasterConfig;
import com.containersol.minimesos.container.AbstractContainer;
import com.containers... |
<<<<<<<
=======
protected static final String resources = MesosAgent.DEFAULT_PORT_RESOURCES + "; cpus(*):0.2; mem(*):256; disk(*):200";
>>>>>>>
<<<<<<<
.withSlave(zooKeeper -> new MesosSlave(dockerClient, zooKeeper))
.withSlave(zooKeeper -> new MesosSlave(dockerClient, zooKeeper))
... |
<<<<<<<
import com.containersol.minimesos.MinimesosException;
import com.containersol.minimesos.marathon.Marathon;
import com.containersol.minimesos.mesos.*;
import com.github.dockerjava.api.DockerClient;
import org.apache.commons.lang.StringUtils;
=======
import com.containersol.minimesos.mesos.MesosClusterConfig;
i... |
<<<<<<<
if (running) {
throw new IllegalStateException("Cluster " + clusterId + " is already running");
}
LOGGER.info("Cluster " + getClusterId() + " - start");
=======
LOGGER.debug("Cluster " + getClusterId() + " - start");
>>>>>>>
if (running) {
th... |
<<<<<<<
public void start() {
=======
public void start(int timeout) {
if (config == null && clusterArchitecture == null) {
throw new ClusterArchitecture.MesosArchitectureException("No cluster architecture specified");
}
// If the user is still using the old configuration m... |
<<<<<<<
try {
switch (jc.getParsedCommand()) {
case "up":
doUp();
break;
case "info":
printInfo();
break;
case "destroy":
MesosCluster.destroy();
... |
<<<<<<<
public ResourceClassGenerator( GenerateSourcesMojo mojo, Set<Artifact> libraries, File targetDirectory,
File genDirectory, Log log )
=======
public ResourceClassGenerator( GenerateSourcesMojo mojo, List<Artifact> libraries, File targetDirectory,
... |
<<<<<<<
if ( getJack().isEnabled() )
{
//Dexxing is handled by Jack
return;
}
=======
>>>>>>>
if ( getJack().isEnabled() )
{
//Dexxing is handled by Jack
return;
}
<<<<<<<
return mainDexClasses;
}
=======... |
<<<<<<<
if ( AndroidExtension.APK.equalsIgnoreCase( artifact.getType() ) )
{
continue;
}
if ( acceptAllArtifacts || acceptTypeList.contains( artifact.getType() ) )
{
results.add( artifact );
}
=======
... |
<<<<<<<
private void generateRJavaFromRTxt( Set<Artifact> librariesToGenerateR ) throws MojoExecutionException
=======
private void generateRJavaFromRTxt( List<Artifact> librariesToGenerateR, String type ) throws MojoExecutionException
>>>>>>>
private void generateRJavaFromRTxt( Set<Artifact> librariesTo... |
<<<<<<<
// provider attributes
private static final String ATTR_NAME = "android:name";
private static final String ATTR_AUTHORITIES = "android:authorities";
=======
// application attributes
private static final String ATTR_APPLICATION_ICON = "android:icon";
private static final String ATTR_A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.