conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
List<SubmitStrategyOp> ops = new ArrayList<>(sorted.size());
boolean first = true;
=======
for (CodeReviewCommit c : sorted) {
if (c.getParentCount() > 1) {
// Since there is a merge commit, sort and prune again using
// MERGE_IF_NECESSARY semantics to avoid creating duplic... |
<<<<<<<
import org.molgenis.data.meta.model.AttributeMetaData;
import org.molgenis.data.meta.model.EntityType;
=======
import org.molgenis.data.meta.model.Attribute;
import org.molgenis.data.meta.model.EntityMetaData;
>>>>>>>
import org.molgenis.data.meta.model.Attribute;
import org.molgenis.data.meta.model.EntityTy... |
<<<<<<<
@DefaultMessage("Copy")
String copy();
@DefaultMessage("Copy text and paste into editor")
String copyTooltip();
=======
@DefaultMessage("Glossary Details")
String glossaryDetails();
@DefaultMessage("Dismiss")
String dismiss();
@DefaultMessage("Save")
String save();
@Defa... |
<<<<<<<
import org.hibernate.validator.constraints.NotEmpty;
=======
import org.hibernate.search.annotations.Index;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.validator.Length;
import org.hibernate.validator.NotEmpty;
>>>>>>>
import org.hibernate.validator.constraints.NotEmpty;
import org.... |
<<<<<<<
import com.google.common.base.Optional;
=======
import com.google.common.collect.ImmutableList;
import lombok.AllArgsConstructor;
import lombok.Getter;
>>>>>>>
import com.google.common.collect.ImmutableList;
import com.google.common.base.Optional;
import lombok.AllArgsConstructor;
import lombok.Getter;
<<... |
<<<<<<<
import com.extjs.gxt.ui.client.widget.Text;
import com.extjs.gxt.ui.client.widget.button.Button;
=======
>>>>>>>
import com.extjs.gxt.ui.client.widget.Text;
<<<<<<<
import com.extjs.gxt.ui.client.widget.layout.VBoxLayout;
import com.extjs.gxt.ui.client.widget.layout.VBoxLayoutData;
import com.extjs.gxt.ui.c... |
<<<<<<<
// Credentials mockCredentials = new Credentials();
// mockCredentials.setInitialized(true);
// mockCredentials.setUsername( translator.getUsername() );
=======
Credentials mockCredentials = new Credentials();
mockCredentials.setInitialized(true);
mockCredentials.setUse... |
<<<<<<<
synchronized (wiserLock) {
if (HasEmailRule.wiser == null) {
String port = PropertiesHolder.getProperty("smtp.port");
int portNum = Integer.parseInt(port);
HasEmailRule.wiser = new Wiser(portNum);
HasEmailRule.wiser.getServer().... |
<<<<<<<
import com.google.common.base.Charsets;
=======
import com.google.common.collect.ImmutableList;
import com.google.gerrit.entities.BooleanProjectConfig;
>>>>>>>
import com.google.common.base.Charsets;
import com.google.gerrit.entities.BooleanProjectConfig;
<<<<<<<
public void modifyMessage(Repository repos... |
<<<<<<<
import java.io.Serializable;
import javax.persistence.Access;
import javax.persistence.AccessType;
=======
>>>>>>>
import java.io.Serializable;
<<<<<<<
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Type;
=======
>>>... |
<<<<<<<
public void setTargets(ArrayList<String> targets)
=======
public void setSaveButtonTitle(String title)
{
Preconditions.checkState(editors.size() > 0);
lastEditor().setSaveButtonTitle(title);
}
private ToggleEditor lastEditor()
{
return editors.get(editors.size() - 1);
}... |
<<<<<<<
// check if all gml:id are unique
XmlHelper.makeGmlIdsUnique(encodedObject.getDomNode());
LOGGER.debug("Encoded object {} is valid: {}", encodedObject.schemaType().toString(),
XmlHelper.validateDocument(encodedObject));
=======
if (LOGGER.isDebugEnabled()) {
... |
<<<<<<<
private final @Nonnull Iterator<TU> tuIter;
private final @Nullable LocaleId targetLocale;
private final ExportTUStrategy<TU> exportTUStrategy;
=======
private final @Nonnull Iterator<? extends SourceContents> tuIter;
private final ExportTUStrategy exportTUStrategy;
>>>>>>>
private final @N... |
<<<<<<<
import org.zanata.webtrans.client.resources.NavigationMessages;
=======
import org.zanata.webtrans.client.ui.UserConfigConstants;
>>>>>>>
import org.zanata.webtrans.client.resources.NavigationMessages;
import org.zanata.webtrans.client.ui.UserConfigConstants;
<<<<<<<
public void setShowOperationButtons(... |
<<<<<<<
state.useCodeMirrorEditor = true;
state.showSaveApprovedWarning = true;
=======
state.useCodeMirrorEditor = false;
>>>>>>>
state.useCodeMirrorEditor = false;
state.showSaveApprovedWarning = true; |
<<<<<<<
mockDisplay = createMock(AppPresenter.Display.class);
mockDocumentListPresenter = createMock(DocumentListPresenter.class);
mockDocumentsLink = createMock(HasClickHandlers.class);
mockErrorNotificationBtn = createMock(HasClickHandlers.class);
mockSearchButton = createMock(HasClickHa... |
<<<<<<<
@Nonnull AsyncTask<V, H> task) {
=======
AsyncTask<V, H> task, Runnable onComplete) {
>>>>>>>
@Nonnull AsyncTask<V, H> task, Runnable onComplete) { |
<<<<<<<
import org.zanata.rest.dto.DTOUtil;
import org.zanata.rest.dto.User;
import org.zanata.rest.editor.dto.Permission;
import org.zanata.rest.editor.service.UserService;
=======
import org.apache.deltaspike.jpa.api.transaction.Transactional;
>>>>>>>
import org.zanata.rest.dto.DTOUtil;
import org.apache.deltaspik... |
<<<<<<<
import javax.servlet.http.HttpServletRequest;
=======
import org.apache.deltaspike.jpa.api.transaction.Transactional;
>>>>>>>
import org.apache.deltaspike.jpa.api.transaction.Transactional;
import javax.servlet.http.HttpServletRequest; |
<<<<<<<
private List<String> contents;
=======
>>>>>>>
private List<String> contents;
<<<<<<<
this.contents = new ArrayList<String>(textFlow.getContents());
=======
setContents(textFlow.getContents());
>>>>>>>
this.contents = new ArrayList<String>(textFlow.getContents());
<<<<<<<
@Typ... |
<<<<<<<
selectedDocumentStats = new CommonContainerTranslationStatistics();
selectedDocumentStats.addStats(new TranslationStatistics(new TransUnitCount(1, 2, 3, 0, 0), LocaleId.EN_US.toString()));
selectedDocumentStats.addStats(new TranslationStatistics(new TransUnitWords(4, 5, 6, 0, 0), LocaleId.EN_U... |
<<<<<<<
/**
* Shift focus to the page, in order to activate some elements that
* only exhibit behaviour on losing focus.
*/
public void defocus() {
getDriver().findElement(By.tagName("body")).click();
}
=======
public boolean hasNoCriticalErrors() {
return getDriver().f... |
<<<<<<<
import java.util.List;
import net.customware.gwt.presenter.client.EventBus;
=======
>>>>>>>
import java.util.List;
import net.customware.gwt.presenter.client.EventBus;
<<<<<<<
=======
import com.allen_sauer.gwt.log.client.Log;
>>>>>>>
import com.allen_sauer.gwt.log.client.Log;
<<<<<<<
undo... |
<<<<<<<
private static final String DOC_STATS_CACHE_NAME = BASE + ".docStatsCache";
=======
private static final String CACHE_NAME = BASE + ".filterCache";
private static final String TRANSLATED_TEXT_FLOW_CACHE_NAME = BASE + ".translatedTextFlowCache";
private static final String DOC_STATUS_CACHE_NAME = B... |
<<<<<<<
Optional<Long> textFlowTargetId,
Class<?>... entities) {
=======
@Nonnull Class<?>... entityTypes) {
>>>>>>>
Optional<Long> textFlowTargetId,
@Nonnull Class<?>... entityTypes) {
<<<<<<<
targetLocaleId, maxResults, textFl... |
<<<<<<<
import javax.inject.Inject;
import javax.inject.Named;
import org.apache.deltaspike.jpa.api.transaction.Transactional;
import org.zanata.security.annotations.Authenticated;
import org.zanata.security.annotations.CheckLoggedIn;
import org.zanata.security.annotations.CheckPermission;
=======
import org.jboss.se... |
<<<<<<<
import org.fedorahosted.flies.rest.dto.DocumentInline;
import org.fedorahosted.flies.rest.dto.ProjectIteration;
=======
>>>>>>>
import org.fedorahosted.flies.rest.dto.DocumentInline;
import org.fedorahosted.flies.rest.dto.ProjectIteration;
<<<<<<<
public HProjectContainer(ProjectIteration project) {
}
... |
<<<<<<<
/*
* 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 |
<<<<<<<
import org.apache.deltaspike.jpa.api.transaction.Transactional;
import org.jboss.seam.persistence.PersistenceProvider;
=======
import org.jboss.seam.annotations.Transactional;
>>>>>>>
import org.apache.deltaspike.jpa.api.transaction.Transactional; |
<<<<<<<
=======
public void saveAndMoveRow(NavigationType nav)
{
savePendingChange(true);
gotoRow(nav);
}
private boolean newMode = true, fuzzyMode = true;
>>>>>>>
public void saveAndMoveRow(NavigationType nav)
{
savePendingChange(true);
gotoRow(nav);
} |
<<<<<<<
public class AbstractPage
{
private final WebDriver driver;
private final FluentWait<WebDriver> ajaxWaitForTenSec;
public void deleteCookiesAndRefresh()
{
getDriver().manage().deleteAllCookies();
Set<Cookie> cookies = getDriver().manage().getCookies();
if (cookies.size() > 0)
... |
<<<<<<<
import static com.google.gerrit.server.project.ProjectCache.illegalState;
import com.google.gerrit.common.FooterConstants;
=======
>>>>>>>
import static com.google.gerrit.server.project.ProjectCache.illegalState;
<<<<<<<
sanitizedCommitMessage =
ensureChangeIdIsCorrect(
projectCach... |
<<<<<<<
import com.google.gwt.user.client.ui.HasVisibility;
=======
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HasVerticalAlignment;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Image;
>>>>>>>
<<<<<<<
public void... |
<<<<<<<
import org.fedorahosted.flies.webtrans.editor.WebTransEditorFooter;
import org.fedorahosted.flies.webtrans.editor.WebTransEditorHeader;
import org.fedorahosted.flies.webtrans.editor.WebTransEditorPresenter;
import org.fedorahosted.flies.webtrans.editor.WebTransEditorView;
import org.fedorahosted.flies.webtrans.... |
<<<<<<<
import javax.inject.Inject;
import javax.inject.Named;
import org.jboss.seam.core.Conversation;
=======
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.core.Conversation;
>>>>>>>
impo... |
<<<<<<<
import org.zanata.rest.client.IVersionResource;
=======
import org.zanata.rest.client.IVersion;
import org.zanata.rest.client.TestProxyFactory;
>>>>>>>
import org.zanata.rest.client.IVersionResource;
import org.zanata.rest.client.TestProxyFactory;
<<<<<<<
private static final String AUTH_KEY = "b6d7044e9... |
<<<<<<<
void setErrorNotificationText(int count);
void setLayoutMenuVisible(boolean visible);
=======
void setNotificationText(int count, Severity severity);
>>>>>>>
void setLayoutMenuVisible(boolean visible);
void setNotificationText(int count, Severity severity);
<<<<<<<
lay... |
<<<<<<<
=======
public ManageUserPage cancelEditUser()
{
cancelButton.click();
return new ManageUserPage(getDriver());
}
public ManageUserAccountPage clearFields()
{
waitForTenSec().until(new Predicate<WebDriver>()
{
@Override
public boolean apply(WebDriver i... |
<<<<<<<
expect(mockMessages.thisIsAPublicChannel()).andReturn(PUBLIC_CHANNEL_WARN);
mockDisplay.appendChat(null, null, PUBLIC_CHANNEL_WARN, MESSAGE_TYPE.SYSTEM_WARNING);
expectLastCall().once();
expect(mockSessionService.getColor("sessionId1")).andReturn("color1");
expect(mockSessionServ... |
<<<<<<<
=======
import com.google.common.util.concurrent.MoreExecutors;
import org.jboss.seam.Component;
>>>>>>>
import com.google.common.util.concurrent.MoreExecutors; |
<<<<<<<
=======
import javax.annotation.Nonnull;
>>>>>>>
import javax.annotation.Nonnull;
<<<<<<<
import org.hibernate.search.annotations.Analyze;
=======
>>>>>>>
import org.hibernate.search.annotations.Analyze;
<<<<<<<
import org.hibernate.validator.constraints.NotEmpty;
=======
import org.hibernate.valid... |
<<<<<<<
PropWriter.write(docIn, TEST_OUTPUT_DIR, ISO_8859_1);
=======
PropWriter.write(docIn, new File("target/test-output"));
>>>>>>>
PropWriter.write(docIn, TEST_OUTPUT_DIR);
<<<<<<<
PropWriter.write(null, docIn, TEST_OUTPUT_DIR, "test", locale, ISO_8859_1);
assertInputAndOutputDocC... |
<<<<<<<
indexables.add(HProjectIteration.class);
=======
indexables.add(HTextFlowTarget.class);
>>>>>>>
indexables.add(HProjectIteration.class);
indexables.add(HTextFlowTarget.class); |
<<<<<<<
validateParentUpdate(ctl, input.parent, checkIfAdmin);
=======
String parentName = MoreObjects.firstNonNull(
Strings.emptyToNull(input.parent), allProjects.get());
validateParentUpdate(ctl, parentName, true);
IdentifiedUser user = (IdentifiedUser) ctl.getCurrentUser();
>>>>>>>
Str... |
<<<<<<<
import org.zanata.webtrans.client.events.NavTransUnitEvent;
import org.zanata.webtrans.client.events.PublishWorkspaceChatEvent;
import org.zanata.webtrans.client.events.PublishWorkspaceChatEventHandler;
=======
import org.zanata.webtrans.client.events.NativeEvent;
>>>>>>>
import org.zanata.webtrans.client.ev... |
<<<<<<<
=======
import java.util.HashMap;
import java.util.Map;
import net.customware.gwt.dispatch.client.DispatchAsync;
>>>>>>>
import java.util.HashMap;
import java.util.Map;
<<<<<<<
=======
import org.zanata.webtrans.client.events.ButtonDisplayChangeEvent;
import org.zanata.webtrans.client.events.FilterViewE... |
<<<<<<<
import com.google.gerrit.reviewdb.client.Change;
import com.google.gerrit.server.change.NotifyResolver;
=======
import com.google.gerrit.reviewdb.server.ReviewDb;
import com.google.gerrit.server.change.DeleteReviewerByEmailOp;
import com.google.gerrit.server.change.DeleteReviewerOp;
>>>>>>>
import com.google... |
<<<<<<<
account.getPerson().getName(),
account.getPerson().getEmail(),
account.getAccountActivationKey().getKeyHash());
facesMessages.addGlobal(message);
=======
account.getPerson().getName(),
accou... |
<<<<<<<
import net.openl10n.flies.webtrans.shared.rpc.GetTransUnits;
=======
import net.openl10n.flies.webtrans.shared.rpc.GetTransUnit;
import net.openl10n.flies.webtrans.shared.rpc.GetTransUnitResult;
import net.openl10n.flies.webtrans.shared.rpc.GetTransUnitList;
import net.openl10n.flies.webtrans.shared.rpc.GetTr... |
<<<<<<<
final SuggestBox suggestBox = new SuggestBox(
new RemoteSuggestOracle(new SearchSuggestOracle()),
searchBox, suggestionDisplay);
searchBox.setStyleName("searchTextBox");
=======
final SuggestBox suggestBox =
new SuggestBox(new SearchSuggestOracle(), searchBox, suggestionDis... |
<<<<<<<
import javax.inject.Inject;
import javax.inject.Named;
=======
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.zanata.common.ContentState;
>>>>>>>
import javax.inject.Inject;
import javax.inject... |
<<<<<<<
import org.zanata.webtrans.client.service.UserColorService;
import org.zanata.webtrans.client.service.UserSessionService;
=======
>>>>>>>
import org.zanata.webtrans.client.service.UserColorService;
import org.zanata.webtrans.client.service.UserSessionService;
<<<<<<<
private final UserColorService transl... |
<<<<<<<
public class MediaTypes {
public static enum Format{
XML("xml"),
JSON("json");
private final String format;
private Format(String format) {
this.format = format;
}
public String toString() {
return "+" + format;
};
}
private static final String XML = "+xml";
private static final St... |
<<<<<<<
documentsTabLanguageFilter.reset();
=======
>>>>>>>
<<<<<<<
languageTabDocumentFilter.reset();
=======
>>>>>>>
<<<<<<<
documentsTabDocumentFilter.reset();
=======
>>>>>>>
<<<<<<<
settingsTabDocumentFilter.reset();
=======
>>>>>>> |
<<<<<<<
this.transUnitInfoPresenter = transUnitInfoPresenter;
bind();
=======
>>>>>>>
this.transUnitInfoPresenter = transUnitInfoPresenter; |
<<<<<<<
=======
import com.google.common.base.Optional;
>>>>>>>
import com.google.common.base.Optional; |
<<<<<<<
import org.zanata.util.FacesNavigationUtil;
=======
import org.zanata.ui.faces.FacesMessages;
>>>>>>>
import org.zanata.util.FacesNavigationUtil;
import org.zanata.ui.faces.FacesMessages;
<<<<<<<
sourceVersionSlug, targetProjectSlug, targetVersionSlug,
!keepExistingTranslation);
... |
<<<<<<<
public void exitWorkspace(@Observes Logout payload, @DeltaSpike HttpSession session) {
exitWorkspace(payload.getUsername(), session.getId());
=======
@Observer(LogoutEvent.EVENT_NAME)
public void exitWorkspace(@Observes LogoutEvent payload) {
exitWorkspace(payload.getUsername());
... |
<<<<<<<
import javax.inject.Inject;
import javax.inject.Named;
=======
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Begin;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.faces.Redirect;
>>>>>>>
import... |
<<<<<<<
Integer rowIndex = getRowIndex(event.getUpdateInfo().getTransUnit());
// - add TU index to model
if (rowIndex != null)
{
Log.info("onTransUnitUpdated - update row:" + rowIndex);
display.getTableModel().setRowValueOve... |
<<<<<<<
=======
import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent.Type;
import com.google.gwt.event.shared.HandlerRegistration;
>>>>>>>
import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent.Type;
import com.google.gwt.event.shared.Han... |
<<<<<<<
import org.zanata.webtrans.shared.model.ValidationAction;
=======
import org.zanata.model.HProjectIteration;
import org.zanata.webtrans.shared.model.ValidationObject;
>>>>>>>
import org.zanata.webtrans.shared.model.ValidationAction;
import org.zanata.model.HProjectIteration;
<<<<<<<
Collection<Validation... |
<<<<<<<
String[] projectFields = {"slug", "name", "description"};
QueryParser parser = new MultiFieldQueryParser(projectFields, new StandardAnalyzer());
=======
String[] projectFields = {"name", "description"};
QueryParser parser = new MultiFieldQueryParser(Version.LUCENE_29, projectFi... |
<<<<<<<
} catch (PatchListNotAvailableException e) {
throw new NoSuchChangeException(changeId, e);
} catch (IOException e) {
log.error("File content unavailable", e);
throw new NoSuchChangeException(changeId, e);
=======
} catch (IOException e) {
log.error("File content unavail... |
<<<<<<<
=======
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableList;
>>>>>>>
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableList; |
<<<<<<<
import org.zanata.webtrans.shared.rpc.GetGlossary;
import org.zanata.webtrans.shared.rpc.GetGlossaryResult;
import org.zanata.webtrans.shared.rpc.GetProjectStatusCount;
import org.zanata.webtrans.shared.rpc.GetProjectStatusCountResult;
=======
>>>>>>>
import org.zanata.webtrans.shared.rpc.GetGlossary;
import... |
<<<<<<<
import org.zanata.webtrans.client.events.NavTransUnitEvent.NavigationType;
import org.zanata.webtrans.client.events.NotificationEvent.Severity;
import org.zanata.webtrans.client.resources.TableEditorMessages;
=======
>>>>>>>
import org.zanata.webtrans.client.resources.TableEditorMessages;
<<<<<<<
s... |
<<<<<<<
import javax.inject.Inject;
import javax.inject.Named;
import org.zanata.security.annotations.Authenticated;
import org.zanata.security.annotations.CheckLoggedIn;
import org.zanata.security.annotations.CheckPermission;
import org.zanata.security.annotations.CheckRole;
=======
import org.apache.commons.lang.S... |
<<<<<<<
@DefaultMessage("Style")
String style();
@DefaultMessage("Description")
String description();
@DefaultMessage("Blue color")
String blueColor();
@DefaultMessage("Red color + crossed out")
String redColorCrossedOut();
@DefaultMessage("Plain text")
String plainText();
@Defaul... |
<<<<<<<
=======
import static org.zanata.rest.dto.stats.TranslationStatistics.StatUnit.WORD;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
>>>>>>>
import static org.zanata.rest.dto.stats.TranslationStatistics.StatUnit.WORD;
import java.io.File;
import java.io.FileInputS... |
<<<<<<<
@Path(VersionResource.SERVICE_PATH)
=======
@Path(VersionService.SERVICE_PATH)
@IgnoreInterfacePath
>>>>>>>
@Path(VersionResource.SERVICE_PATH)
@IgnoreInterfacePath |
<<<<<<<
=======
import org.zanata.webtrans.client.ui.OptionsPanelView;
import org.zanata.webtrans.client.ui.TransMemoryMergePopupPanelDisplay;
import org.zanata.webtrans.client.ui.TransMemoryMergePopupPanelView;
>>>>>>>
import org.zanata.webtrans.client.ui.OptionsPanelView;
import org.zanata.webtrans.client.ui.Trans... |
<<<<<<<
=======
import java.util.Arrays;
>>>>>>>
<<<<<<<
public class SmartForest<P> extends AbstractWood<P, SmartForest<P>> {
private double rate = 0.9;
// root
public SmartForest() {
}
// for search
private SmartForest(final char c) {
this.c = c;
}
// 首位直接数组定位
@S... |
<<<<<<<
public String str2QP(final String str) {
List<PinyinWord> list = Pinyin.str2Pinyin(str);
StringBuilder sb = new StringBuilder();
for (PinyinWord pinyinWord : list) {
sb.append(pinyinWord.py);
}
return sb.toString();
=======
public String str2QP(String str) {
return Pinyin.list2String(Pinyin.p... |
<<<<<<<
import com.bumptech.glide.resize.bitmap_recycle.BitmapPool;
=======
import com.bumptech.glide.presenter.target.Target;
>>>>>>>
import com.bumptech.glide.resize.bitmap_recycle.BitmapPool;
import com.bumptech.glide.presenter.target.Target;
<<<<<<<
public void testClearingTagReplacesPresenter() {
G... |
<<<<<<<
type.setLinkName(cfg.getString("gitweb", null, "linkname"));
=======
if (type == null) {
url = null;
gitweb_cgi = null;
gitweb_css = null;
gitweb_js = null;
git_logo_png = null;
return;
}
>>>>>>>
if (type == null) {
url = null;
gitweb_cgi = nul... |
<<<<<<<
// gets handle to currently open transaction
=======
>>>>>>>
// gets handle to currently open transaction
<<<<<<<
throw new IndexException("Error while creating index for type " + dataType, throwable);
=======
throw new MetadataException("Error while creatin... |
<<<<<<<
Referenceable processReferenceable = new Referenceable(HiveDataTypes.HIVE_PROCESS.getName());
processReferenceable.set("name", event.operation.getOperationName());
processReferenceable.set("startTime", queryStartTime);
processReferenceable.set("userName", event.user);
Li... |
<<<<<<<
final String EVENT_TYPE = "Method Profiling Sample";
final String EVENT_VALUE_STACK = "(stackTrace)";
/** the data model for live json */
LiveRecording liveRecording;
/** the data model for json */
StackFrame profile = new StackFrame("root");
/** the data model for folded stacks */... |
<<<<<<<
import com.google.gerrit.server.audit.AuditService;
=======
import com.google.gerrit.server.OutputFormat;
>>>>>>>
<<<<<<<
=======
import com.google.gerrit.server.git.LockFailureException;
import com.google.gerrit.server.group.GroupAuditService;
>>>>>>>
import com.google.gerrit.server.group.GroupAuditServ... |
<<<<<<<
import org.springframework.stereotype.Repository;
=======
import buct.software.domain.Semester;
import java.util.List;
>>>>>>>
import org.springframework.stereotype.Repository;
import buct.software.domain.Semester;
import java.util.List;
<<<<<<<
@Repository
public interface SemesterDao {
public ... |
<<<<<<<
import buct.software.views.GradeManagementView;
import org.safehaus.uuid.UUIDGenerator;
=======
>>>>>>>
import buct.software.views.GradeManagementView;
import org.safehaus.uuid.UUIDGenerator;
<<<<<<<
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
... |
<<<<<<<
private CustomResourceEventSource createCustomResourceEventSource(MixedOperation client,
ResourceCache resourceCache,
boolean watchAllNamespaces,
... |
<<<<<<<
import io.javaoperatorsdk.operator.processing.event.internal.TimerEventSource;
import java.util.*;
=======
import java.util.Collections;
import java.util.Map;
import java.util.Optional;
>>>>>>>
import io.javaoperatorsdk.operator.processing.event.internal.TimerEventSource;
import java.util.Collections;
import... |
<<<<<<<
private final ApprovalsUtil approvalsUtil;
=======
>>>>>>>
<<<<<<<
ReviewDb db, ProjectCache projectCache,
ApprovalsUtil approvalsUtil,
=======
ProjectCache projectCache,
>>>>>>>
ProjectCache projectCache,
<<<<<<<
this.approvalsUtil = approvalsUtil;
=======
>... |
<<<<<<<
import android.support.v4.view.ViewPager;
=======
import android.support.v4.app.Fragment;
>>>>>>>
import android.support.v4.view.ViewPager;
import android.support.v4.app.Fragment;
<<<<<<<
import com.fastaccess.ui.modules.changelog.ChangelogBottomSheetDialog;
import com.fastaccess.ui.modules.profile.repos.Pr... |
<<<<<<<
import org.talend.core.model.process.IContext;
import org.talend.core.model.process.ProcessUtils;
=======
import org.talend.core.model.process.IProcess2;
>>>>>>>
import org.talend.core.model.process.IContext;
import org.talend.core.model.process.IProcess2;
import org.talend.core.model.process.ProcessUtils; |
<<<<<<<
@ModuleData(id = WorldModule.ID, name = "World")
=======
import javax.inject.Inject;
@ModuleData(id = "world", name = "World")
>>>>>>>
import javax.inject.Inject;
@ModuleData(id = WorldModule.ID, name = "World") |
<<<<<<<
ItemStack is = src.getItemInHand(HandTypes.MAIN_HAND).orElseThrow(() -> new ReturnMessageException(Util.getTextMessageWithFormat("command.generalerror.handempty")));
=======
ItemStack is = src.getItemInHand().orElseThrow(() -> new ReturnMessageException(plugin.getMessageProvider().getTextMessa... |
<<<<<<<
import io.github.essencepowered.essence.internal.CommandPermissionHandler;
import io.github.essencepowered.essence.internal.annotations.Modules;
import io.github.essencepowered.essence.internal.annotations.NoCooldown;
import io.github.essencepowered.essence.internal.annotations.NoCost;
import io.github.essencep... |
<<<<<<<
import io.github.essencepowered.essence.internal.CommandPermissionHandler;
import io.github.essencepowered.essence.internal.annotations.Modules;
import io.github.essencepowered.essence.internal.annotations.NoCooldown;
import io.github.essencepowered.essence.internal.annotations.NoCost;
import io.github.essencep... |
<<<<<<<
=======
import io.github.nucleuspowered.nucleus.internal.qsml.module.StandardModule;
import io.github.nucleuspowered.nucleus.util.Action;
>>>>>>>
import io.github.nucleuspowered.nucleus.util.Action;
<<<<<<<
=======
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
i... |
<<<<<<<
import org.spongepowered.api.command.args.CommandElement;
import org.spongepowered.api.data.type.HandTypes;
=======
>>>>>>>
import org.spongepowered.api.data.type.HandTypes; |
<<<<<<<
import com.google.gerrit.server.git.MetaDataUpdate;
=======
import com.google.gerrit.server.git.MetaDataUpdate;
import com.google.gerrit.server.git.ProjectConfig;
import com.google.gerrit.server.git.validators.CommitValidators;
import com.google.gerrit.server.index.IndexConfig;
import com.google.gerrit.server... |
<<<<<<<
@Inject private GeneralService gds;
@Inject private CoreConfigAdapter coreConfigAdapter;
@Inject private KitHandler handler;
=======
@Inject private KitService gds;
>>>>>>>
@Inject private CoreConfigAdapter coreConfigAdapter;
@Inject private KitHandler handler;
@Inject private Kit... |
<<<<<<<
import org.spongepowered.api.item.inventory.property.InventoryDimension;
=======
import org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult;
>>>>>>>
import org.spongepowered.api.item.inventory.property.InventoryDimension;
import org.spongepowered.api.item.inventory.transaction.Invento... |
<<<<<<<
import org.spongepowered.api.data.persistence.DataTranslators;
=======
import org.spongepowered.api.data.key.Keys;
import org.spongepowered.api.data.translator.ConfigurateTranslator;
import org.spongepowered.api.item.inventory.ItemStack;
>>>>>>>
import org.spongepowered.api.data.persistence.DataTranslators;
... |
<<<<<<<
Optional<Map<String, ?>> kwarg, TypeToken<R> returnType,
Optional<?> metadata, Optional<Integer> timeout,
Optional<Integer> gatherJobTimeout) {
this.functionName = functionName;
=======
Optional<Map<String, ?>> kwargs, TypeToken<R> returnType,
... |
<<<<<<<
payload.put("fun", getFunctionName());
kwargs.ifPresent(kwargs -> payload.put("kwargs", kwargs));
=======
payload.put("fun", functionName);
kwargs.ifPresent(kwargs -> payload.put("kwarg", kwargs));
>>>>>>>
payload.put("fun", getFunctionName());
kwargs.ifPresent... |
<<<<<<<
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
=======
>>>>>>>
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.