conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import org.geometerplus.zlibrary.ui.android.R;
import org.geometerplus.zlibrary.ui.android.library.ZLAndroidLibrary;
import org.geometerplus.fbreader.fbreader.options.PageTurningOptions;
=======
import org.geometerplus.zlibrary.ui.android.view.animation.*;
>>>>>>>
import org.geometerplus.zlibrary.ui.androi... |
<<<<<<<
import org.geometerplus.fbreader.Paths;
import net.sourceforge.arabicReader.R;
=======
import org.geometerplus.zlibrary.ui.android.R;
>>>>>>>
import net.sourceforge.arabicReader.R; |
<<<<<<<
private OPDSBookItem myItem;
private NetworkImage myCover;
public void setData(OPDSBookItem item) {
final String bookUrl = item.getUrl(UrlInfo.Type.Book);
String coverUrl = item.getUrl(UrlInfo.Type.Image);
if (coverUrl == null) {
coverUrl = item.getUrl(UrlInfo.Type.Thumbnail);
}
if (bookUrl == ... |
<<<<<<<
new BitmapFactory().decodeStream(wallpaperFile.getInputStream());
final int w = fileBitmap.getWidth();
final int h = fileBitmap.getHeight();
=======
BitmapFactory.decodeStream(wallpaperFile.getInputStream());
>>>>>>>
BitmapFactory.decodeStream(wallpaperFile.getInputStream());
final... |
<<<<<<<
public void refreshYotaScreen() {
final Intent intent = new Intent(this, FBReaderYotaService.class);
intent.putExtra(
FBReaderYotaService.KEY_BACK_SCREEN_IS_ACTIVE,
myFBReaderApp.ViewOptions.YotaDrawOnBackScreen.getValue()
);
if (myFBReaderApp.Model != null) {
FBReaderIntents.putBookExtra(int... |
<<<<<<<
=======
switchWakeLock(
getZLibrary().BatteryLevelToTurnScreenOffOption.getValue() <
FBReaderApp.Instance().getBatteryLevel()
);
myStartTimer = true;
final int brightnessLevel =
getZLibrary().ScreenBrightnessLevelOption.getValue();
if (brightnessLevel != 0) {
setScreenBrightness(brightne... |
<<<<<<<
public final ZLBooleanOption ShowStatusBarOption = new ZLBooleanOption("LookNFeel", "ShowStatusBar", false);
public final ZLBooleanOption ShowActionBarOption = new ZLBooleanOption("LookNFeel", "ShowActionBar", true);
=======
public final ZLBooleanOption ShowStatusBarOption = new ZLBooleanOption("LookNFeel"... |
<<<<<<<
import org.geometerplus.zlibrary.core.util.ZLAdUtil;
=======
import org.geometerplus.zlibrary.core.view.ZLViewWidget;
>>>>>>>
import org.geometerplus.zlibrary.core.view.ZLViewWidget;
import org.geometerplus.zlibrary.core.util.ZLAdUtil;
<<<<<<<
import net.sourceforge.arabicReader.R;
import org.geometerplus.z... |
<<<<<<<
public static interface CredentialsCreator {
Credentials createCredentials(String scheme, AuthScope scope, boolean quietMode);
boolean credentialsExist(AuthScope scope);
void removeCredentials(AuthScope scope);
}
public static abstract class BasicCredentialsCreator implements ZLNetworkManager.Credenti... |
<<<<<<<
=======
import org.geometerplus.zlibrary.core.resources.ZLResource;
import org.geometerplus.zlibrary.core.util.ZLAdUtil;
>>>>>>>
import org.geometerplus.zlibrary.core.util.ZLAdUtil; |
<<<<<<<
fbReader.addAction(ActionCode.SPEAK, new SpeakAction(this, fbReader));
=======
fbReader.addAction(ActionCode.CANCEL, new CancelAction(this, fbReader));
}
@Override
protected void onNewIntent(Intent intent) {
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
final String pattern = intent... |
<<<<<<<
canvas.drawBitmap(myFooterBitmap, 0, getHeight() - myHDiff - footer.getHeight(), myPaint);
=======
final int voffset = getHeight() - footer.getHeight();
if (animator != null) {
animator.drawFooterBitmap(canvas, myFooterBitmap, voffset);
} else {
canvas.drawBitmap(myFooterBitmap, 0, voffset, myPa... |
<<<<<<<
private final RootTree myRootTree;
=======
private final Map<ZLFile,Book> myBooks =
Collections.synchronizedMap(new HashMap<ZLFile,Book>());
private final RootTree myRootTree;
>>>>>>>
private final RootTree myRootTree;
<<<<<<<
myRootTree = new RootTree(collection);
new FavoritesTree(myRootTree);... |
<<<<<<<
=======
private BooksDatabase myDatabase;
>>>>>>>
<<<<<<<
mySelectedBook =
SerializerUtil.deserializeBook(getIntent().getStringExtra(SELECTED_BOOK_KEY));
=======
mySelectedBook =
SerializerUtil.deserializeBook(getIntent().getStringExtra(FBReader.BOOK_KEY));
>>>>>>>
mySelectedBook =
Serial... |
<<<<<<<
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.util.TypedValue;
import android.view.*;
import android.widget.PopupWindow;
import android.widget.*;
import org.geometerplus.zlibrary.core.resources.ZLResource;
=======
import android.view.View;
import android.widget.Popup... |
<<<<<<<
import org.geometerplus.zlibrary.core.util.MiscUtil;
import org.geometerplus.zlibrary.core.util.ZLColor;
import org.geometerplus.zlibrary.core.util.ZLLogUtil;
=======
import org.geometerplus.zlibrary.core.util.*;
>>>>>>>
import org.geometerplus.zlibrary.core.util.*;
import org.geometerplus.zlibrary.core.util... |
<<<<<<<
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
final View view = findViewById(R.id.main_view);
return (view != null && view.onKeyDown(keyCode, event)) || super.onKeyDown(keyCode, event);
}
@Override
public boolean onKeyUp(int keyCode, KeyEvent event) {
final View view = findViewBy... |
<<<<<<<
//new TipRunner().start();
DictionaryUtil.init(FBReader.this);
=======
new TipRunner().start();
DictionaryUtil.init(FBReader.this, null);
>>>>>>>
//new TipRunner().start();
DictionaryUtil.init(FBReader.this, null);
<<<<<<<
ZLAdUtil ad = new ZLAdUtil(this, myRootView);
... |
<<<<<<<
=======
setupButton(R.id.book_info_button_open, "openBook", new View.OnClickListener() {
public void onClick(View view) {
if (myDontReloadBook) {
finish();
} else {
startActivity(
new Intent(getApplicationContext(), FBReader.class)
.setAction(Intent.ACTION_VIEW)
.put... |
<<<<<<<
setResult(1, intent);
=======
myResult = FBReader.RESULT_DO_NOTHING;
setResult(myResult, getIntent());
>>>>>>>
myResult = FBReader.RESULT_DO_NOTHING;
setResult(myResult, intent); |
<<<<<<<
static final int ACTION_BAR_COLOR = Color.DKGRAY;
=======
public static final String ACTION_OPEN_BOOK = "android.fbreader.action.VIEW";
>>>>>>>
public static final String ACTION_OPEN_BOOK = "android.fbreader.action.VIEW";
<<<<<<<
private boolean myShowStatusBarFlag;
private boolean myShowActionBarFlag... |
<<<<<<<
=======
import bjoern.pluginlib.plugintypes.OrientGraphConnectionPlugin;
import bjoern.pluginlib.structures.Aloc;
>>>>>>>
import bjoern.pluginlib.structures.Aloc;
<<<<<<<
=======
import bjoern.plugins.vsa.transformer.esil.stack.Flag;
import bjoern.plugins.vsa.transformer.esil.stack.Register;
>>>>>>>
impo... |
<<<<<<<
(ClipboardManager)ZLAndroidApplication.Instance().getSystemService(Application.CLIPBOARD_SERVICE);
clipboard.setPrimaryClip(ClipData.newPlainText("FBReader", text));
=======
(ClipboardManager)BaseActivity.getApplication().getSystemService(Application.CLIPBOARD_SERVICE);
clipboard.setText(text);
>>>... |
<<<<<<<
private static final String START_STATE_NOTIFICATIONS = "startStateNotifications";
private static final String STOP_STATE_NOTIFICATIONS = "stopStateNotifications";
=======
>>>>>>>
private static final String START_STATE_NOTIFICATIONS = "startStateNotifications";
private static final Strin... |
<<<<<<<
if (myCoverManager == null) {
view.measure(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
final int height = view.getMeasuredHeight();
myCoverManager = new CoverManager(getActivity(), height * 15 / 32, height);
view.requestLayout();
}
CoverHolder holder = (CoverHold... |
<<<<<<<
=======
private static class ParagonInfoReader extends ZLXMLReaderAdapter {
private final Context myContext;
private int myCounter;
ParagonInfoReader(Context context) {
myContext = context;
}
@Override
public boolean dontCacheAttributeValues() {
return true;
}
@Override
public bool... |
<<<<<<<
public String getTitle() {
return myTitle;
}
=======
protected void showErrorMessage(String resourceKey) {
if (myWindow != null) {
myWindow.showErrorMessage(resourceKey);
}
}
protected void showErrorMessage(String resourceKey, String parameter) {
if (myWindow != null) {
myWindow.showError... |
<<<<<<<
public static final Pattern AUTO_LINK_HASHTAGS = Pattern.compile("(^|[^&/" + HASHTAG_ALPHA_NUMERIC_CHARS + "]+)(#|\uFF03)(" + HASHTAG_ALPHA_NUMERIC + "*" + HASHTAG_ALPHA + HASHTAG_ALPHA_NUMERIC + "*)", Pattern.CASE_INSENSITIVE);
=======
public static final Pattern SCREEN_NAME_MATCH_END = Pattern.compile("... |
<<<<<<<
private static final String URL_VALID_SUBDOMAIN = "(?:(?:[^\\p{Punct}\\s](?:[_-]|[^\\p{Punct}\\s])*)?[^\\p{Punct}\\s]\\.)";
private static final String URL_VALID_DOMAIN_NAME = "(?:[^\\p{Punct}\\s](?:[-]|[^\\p{Punct}\\s])*)?[^\\p{Punct}\\s]";
private static final String URL_VALID_DOMAIN = URL_VALID_SUBDOMA... |
<<<<<<<
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.http.DefaultFullHttpRequest;
import io.netty.handler.codec.http.FullHttpRequest;
import io.nett... |
<<<<<<<
* calculate hash value (just n least significat bits of fp) which is used as an index address
* @param fp
* @return
*/
protected int getIndex(long fp) {
return (int) (fp & this.mask);
}
/**
=======
* Checks if the given fingerprint has a value that can be correctly stored
* by this FPSet
*... |
<<<<<<<
@Override
public String getStoreAndForwordModeStr() {
if (storeAndForwordMode != null)
return storeAndForwordMode.toString();
else
return null;
}
@Override
public void setStoreAndForwordModeStr(String storeAndForwordMode) {
this.storeAndForwor... |
<<<<<<<
=======
Log.d(TAG, "stopThread");
boolean shouldRefresh = false;
>>>>>>>
Log.d(TAG, "stopThread");
boolean shouldRefresh = false;
<<<<<<<
if (provider != null) {
provider.shutdown();
mThread.interrupt();
... |
<<<<<<<
import com.kayhut.fuse.asg.util.AsgQueryUtils;
=======
import com.kayhut.fuse.asg.AsgQueryStore;
import com.kayhut.fuse.dispatcher.utils.AsgQueryUtil;
>>>>>>>
import com.kayhut.fuse.dispatcher.utils.AsgQueryUtil; |
<<<<<<<
package com.yangdb.fuse.model.results;
/*-
* #%L
* Assignment.java - fuse-model - yangdb - 2,016
* org.codehaus.mojo-license-maven-plugin-1.16
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2016 - 2018 yangdb ------ www.yangdb.org ------
* %%
* Licensed under the Apache License, Version 2.0 (the "License")... |
<<<<<<<
//region Properties
public Plan withOp(PlanOpBase op) {
Plan newPlan = new Plan(this.getOps());
newPlan.getOps().add(op);
newPlan.trace = this.trace;
return newPlan;
}
public List<PlanOpBase> getOps() {
return this.ops;
}
//endregion
//region... |
<<<<<<<
String organization = eventHeaders.get(Constants.ORG_HEADER);
String tableName = eventHeaders.get(Constants.DESTINATION).replaceAll("-", "_");
=======
String organization = eventHeaders.get(Constants.HEADER_SERVICE);
String tableName = this.namingPrefix + eventHeaders.get(Const... |
<<<<<<<
rPropGroup = new RelPropGroup();
rPropGroup.seteNum(Stream.ofAll(AsgQueryUtils.getEnums(query)).max().get() + 1);
=======
rPropGroup.seteNum(Stream.ofAll(AsgQueryUtil.getEnums(query)).max().get() + 1);
>>>>>>>
rPropGroup = new RelPropGroup();
rPropG... |
<<<<<<<
expr1 = ((RelPropGroup) AsgQueryUtils.getElement(asgQueryWithRelPropsOriginal, 4).get().geteBase()).getProps().get(0).getCon().getExpr();
expr2 = ((RelPropGroup) AsgQueryUtils.getElement(asgQueryWithRelPropsOriginal, 4).get().geteBase()).getProps().get(1).getCon().getExpr();
=======
ex... |
<<<<<<<
GraphTraversal actualTraversal = strategy.translate(__.start(), new PlanWithCost<>(plan, null), plan.getOps().get(0), context);
GraphTraversal expectedTraversal = __.start().V().as("A").has(T.label, "Person");
=======
GraphTraversal actualTraversal = strategy.translate(__.start(), plan... |
<<<<<<<
package com.kayhut.fuse.model.query.properties;
import com.kayhut.fuse.model.query.quant.QuantType;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Created by benishue on 25-Apr-17.
*/
public class EPropGroup extends BasePropGroup<EProp, EPropGroup> {
//region Con... |
<<<<<<<
public abstract class AbstractObservationTime
extends AbstractIdentifierNameDescriptionEntity
implements Serializable,
HasDeletedFlag,
HasOfferings,
HasPhenomenonTime,
HasResultTime,
HasValidTime,
... |
<<<<<<<
Optional<AsgEBase<EEntityBase>> fromEntity = AsgQueryUtil.getNextDescendant(nextRelation.get(), EEntityBase.class);
Optional<AsgEBase<EEntityBase>> toEntity = AsgQueryUtil.getAncestor(nextRelation.get(), EEntityBase.class);
=======
Optional<AsgEBase<EEntityBase>> toEntity = AsgQueryUti... |
<<<<<<<
AsgEBase<EUntyped> next = AsgQueryUtil
.element$(query, EUntyped.class);
Assert.assertEquals(0, next.geteBase().getvTypes().size());
=======
AsgEBase<EUntyped> next = AsgQueryUtil.<EUntyped>elements(query, EUntyped.class).iterator().next();
Assert.assertTrue(nex... |
<<<<<<<
import com.kayhut.fuse.dispatcher.driver.SimpleOntologyProvider;
import com.kayhut.fuse.dispatcher.ontolgy.OntologyProvider;
import com.kayhut.fuse.dispatcher.utils.AsgQueryUtil;
=======
>>>>>>>
import com.kayhut.fuse.dispatcher.utils.AsgQueryUtil; |
<<<<<<<
import com.kayhut.fuse.asg.util.AsgQueryUtils;
=======
import com.kayhut.fuse.asg.AsgQueryStore;
import com.kayhut.fuse.dispatcher.utils.AsgQueryUtil;
>>>>>>>
import com.kayhut.fuse.dispatcher.utils.AsgQueryUtil; |
<<<<<<<
public QueryResource(Query query, QueryMetadata queryMetadata, Plan<SingleCost> plan) {
=======
public QueryResource(Query query, AsgQuery asgQuery, QueryMetadata queryMetadata, Tuple2<Plan,SingleCost> plan) {
>>>>>>>
public QueryResource(Query query, AsgQuery asgQuery, QueryMetadata queryMetada... |
<<<<<<<
"repast.simphony.batch.standalone.StandAloneMain");
launchConfigurationWorkingCopy.setAttribute(PREFERRED_LAUNCHERS, preferredLaunchers);
=======
"repast.simphony.runtime.RepastBatchMain");
// launchConfigurationWorkingCopy.setAttribute(PREFERRED_LAUNCHERS, preferredLaunchers);
... |
<<<<<<<
=======
import net.minecraft.util.Pair;
import net.minecraft.util.math.BlockPos;
>>>>>>>
import net.minecraft.util.Pair;
import net.minecraft.util.math.BlockPos;
<<<<<<<
ServerWorld originalWorld = McHelper.getServer().getWorld(dimensionBefore);
Entity portalEntity = originalWorld.getEntity(... |
<<<<<<<
import net.minecraft.client.render.WorldRenderer;
=======
import net.minecraft.client.render.Frustum;
>>>>>>>
import net.minecraft.client.render.Frustum;
import net.minecraft.client.render.WorldRenderer;
<<<<<<<
import net.minecraft.util.math.Matrix3f;
import net.minecraft.util.math.Matrix4f;
import net.min... |
<<<<<<<
import net.minecraft.entity.Entity;
import net.minecraft.text.TranslatableText;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Matrix4f;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.GameMode;
import net.minecraft.world.dimension.DimensionType;
=======
>>>>>>>
im... |
<<<<<<<
import net.minecraft.world.World;
import net.minecraft.world.WorldAccess;
=======
>>>>>>>
import net.minecraft.world.World;
import net.minecraft.world.WorldAccess;
<<<<<<<
RegistryKey<World> from;
RegistryKey<World> to;
BlockPortalShape fromShape;
BlockPortalShape toShape;
=... |
<<<<<<<
CompoundTag logicTag = mobSpawner.getLogic().toTag(new CompoundTag());
logicTag.putShort("RequiredPlayerRange", (short) 64);
=======
CompoundTag logicTag = mobSpawner.getLogic().serialize(new CompoundTag());
logicTag.putShort("RequiredPlayerRange", (short) 32);
>>>>>>>
... |
<<<<<<<
SpawnGroup.MISC,
BorderPortal::new
=======
EntityCategory.MISC,
WorldWrappingPortal::new
>>>>>>>
SpawnGroup.MISC,
BorderPortal::new
EntityCategory.MISC,
WorldWrappingPortal::new |
<<<<<<<
//nullable
=======
>>>>>>>
//nullable |
<<<<<<<
.flatMap(function((domainId, serviceInstanceId, spaceId) -> Mono.zip(
createRouteId(this.cloudFoundryClient, domainId, hostName, spaceId),
=======
.then(function((domainId, serviceInstanceId, spaceId) -> Mono.when(
createRouteId(this.cloudFoundryClient, ... |
<<<<<<<
.flatMap(function((serviceBrokerId, spaceId) -> seedEvents(this.cloudFoundryClient, this.nameFactory, serviceBrokerId, spaceId)))
.then(getFirstEvent(this.cloudFoundryClient))
.flatMap(resource -> Mono.when(
=======
.then(function((serviceBrokerId, spaceId) -> s... |
<<<<<<<
.flatMap(function((organizationId, userId) -> Mono.when(
requestAssociateAuditor(this.cloudFoundryClient, organizationId, userId)
.map(ResourceUtils::getId),
Mono.just(organizationId)
=======
.then(function((organizationId, userId) ->... |
<<<<<<<
public static class Usage {
private double cpu;
private long disk;
private long mem;
private Date time;
public Usage(Map<String, Object> attributes) {
this.time = parseDate(parse(String.class, attributes.get("time")));
this.cpu = parse(Double.class, attributes.get("cpu"));
this.disk = pars... |
<<<<<<<
import static org.apache.http.conn.ssl.SSLSocketFactory.BROWSER_COMPATIBLE_HOSTNAME_VERIFIER;
import java.net.URL;
import java.security.GeneralSecurityException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
=======
>>>>>>>
<<<<<<<
public RestTemplate createRestTemplate... |
<<<<<<<
=======
import es.tid.fiware.fiwareconnectors.cygnus.http.HttpClientFactory;
import es.tid.fiware.fiwareconnectors.cygnus.log.CygnusLogger;
>>>>>>>
import es.tid.fiware.fiwareconnectors.cygnus.log.CygnusLogger;
<<<<<<<
if (persistenceBackend.exists(null, organization + "/" + entityDescriptor + "... |
<<<<<<<
.flatMap(organizationId -> Mono.zip(
this.serviceBrokerId,
createSpaceId(this.cloudFoundryClient, organizationId, spaceName)
))
.flatMap(function((serviceBrokerId, spaceId) -> createServiceInstanceId(this.cloudFoundryClient, serviceBrokerId, se... |
<<<<<<<
String fiwareService = eventHeaders.get(Constants.HEADER_NOTIFIED_SERVICE);
String[] servicePaths;
String[] destinations;
if (enableGrouping) {
servicePaths = eventHeaders.get(Constants.HEADER_GROUPED_SERVICE_PATHS).split(",");
destinations = even... |
<<<<<<<
import org.n52.iceland.ds.ConnectionProvider;
import org.n52.iceland.ds.HibernateDatasourceConstants;
=======
import org.n52.iceland.exception.ows.CompositeOwsException;
>>>>>>>
import org.n52.iceland.ds.ConnectionProvider;
import org.n52.iceland.exception.ows.CompositeOwsException; |
<<<<<<<
=======
import reactor.core.publisher.Mono;
import reactor.ipc.netty.options.ClientOptions;
import reactor.ipc.netty.resources.LoopResources;
>>>>>>>
import reactor.core.publisher.Mono;
import reactor.ipc.netty.resources.LoopResources;
<<<<<<<
options
.host(host)
... |
<<<<<<<
public void get() throws TimeoutException, InterruptedException {
Mono
.zip(this.serviceBrokerId, this.spaceId)
.flatMap(function((serviceBrokerId, spaceId) -> seedEvents(this.cloudFoundryClient, this.nameFactory, serviceBrokerId, spaceId)))
=======
public void get() {
... |
<<<<<<<
import org.cloudfoundry.uaa.clients.Metadata;
import org.cloudfoundry.uaa.clients.MixedActionsRequest;
import org.cloudfoundry.uaa.clients.UpdateClient;
import org.cloudfoundry.uaa.clients.UpdateClientAction;
=======
>>>>>>>
import org.cloudfoundry.uaa.clients.MixedActionsRequest;
import org.cloudfoundry.uaa... |
<<<<<<<
.flatMap(spaceId -> getCreateUserProvidedServiceInstanceId(this.cloudFoundryClient, instanceName, spaceId))
.flatMap(instanceId -> this.cloudFoundryClient.userProvidedServiceInstances()
=======
.then(spaceId -> createUserProvidedServiceInstanceId(this.cloudFoundryClient, in... |
<<<<<<<
import org.cloudfoundry.client.lib.domain.CloudServiceBinding;
import org.cloudfoundry.client.lib.domain.CloudServiceInstance;
=======
import org.cloudfoundry.client.lib.domain.CloudServiceBroker;
>>>>>>>
import org.cloudfoundry.client.lib.domain.CloudServiceBinding;
import org.cloudfoundry.client.lib.domain... |
<<<<<<<
=======
/**
*/
>>>>>>>
<<<<<<<
=======
/**
*/
>>>>>>>
<<<<<<<
=======
/**
*/
>>>>>>> |
<<<<<<<
ScheduleUsernameUnmuteAt(username, muteExpires);
=======
scheduleUsernameUnmuteAt(username, muteExpires.getTime());
>>>>>>>
scheduleUsernameUnmuteAt(username, muteExpires);
<<<<<<<
private void ScheduleMacUnmuteAt(final String mac, final Instant checkTime) {
=======
private voi... |
<<<<<<<
JScrollPane scrollPane = new JScrollPane(localPlayerPanel);
localPlayerPanel.addHierarchyListener(new HierarchyListener() {
=======
final JScrollPane scrollPane = new JScrollPane(m_localPlayerPanel);
m_localPlayerPanel.addHierarchyListener(new HierarchyListener() {
>>>>>>>
final JScrollPa... |
<<<<<<<
commands.add("-Xmx" + maxMemory);
// this should never ever go above 1000mb, because some users have errors because some JVM's can't handle
// that much
// commands.add("-Xmx896m");
=======
if (maxMemory.isPresent()) {
System.out.println("Setting memory for new triplea process to: " ... |
<<<<<<<
try {
SwingUtilities.invokeAndWait(new Runnable() {
@Override
public void run() {
final JList<Territory> list = new JList<>(new Vector<Territory>(candidates));
list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
list.setSelectedIndex(0);
... |
<<<<<<<
private static boolean canTerritoryUsePurchaseOption(final PlayerID player, final ProPurchaseOption ppo,
final Territory t) {
=======
public static boolean canTerritoryUsePurchaseOption(final PlayerID player, final ProPurchaseOption ppo,
final Territory t, final boolean isBid) {
>>>>>>>
pri... |
<<<<<<<
Locale language, String pdf, Session session) {
super(request, language, serviceProvider, pdf, session);
=======
Locale language, DaoFactory daoFactory, Session session) {
super(request, language, serviceProvider, daoFactory, session);
>>>>>>>
Locale langua... |
<<<<<<<
import java.util.Map;
/*
* MIT License
*
* Copyright (c) 2014 Klemm Software Consulting, Mirko Klemm
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, inc... |
<<<<<<<
import java.util.Map;
=======
import java.util.List;
import java.util.logging.Logger;
>>>>>>>
import java.util.Map;
import java.util.List;
import java.util.logging.Logger;
<<<<<<<
final BuilderOutline childBuilderOutline = getBuilderDeclaration(elementType);
=======
final JMethod withListMethod =... |
<<<<<<<
}
public void testOperatorPrecedence() throws IOException {
String script = "list = [1, 2, 3]; x = 10; list contains x || x == 20";
Serializable expression = MVEL.compileExpression(script);
Object result = MVEL.executeExpression(expression, new HashMap());
assertEquals... |
<<<<<<<
public boolean isAllowNakedMethCall() {
return allowNakedMethCall;
}
public void setAllowNakedMethCall(boolean allowNakedMethCall) {
this.allowNakedMethCall = allowNakedMethCall;
}
=======
public boolean isAllowBootstrapBypass() {
return allowBootstrapBypass;
}
public void setAllowBootstrapByp... |
<<<<<<<
public String demo(HttpServletRequest request, Model model) throws Exception {
String lang = (String)request.getSession().getAttribute(SessionKey.LANG.name());
=======
public String demo(HttpServletRequest request, Model model) {
log.info("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@... |
<<<<<<<
import com.aserbao.aserbaosandroid.AudioAndVideo.AudioAndVideoActivity;
import com.aserbao.aserbaosandroid.aaSource.android.hardware.camera2.show.Camera2SimpleShowSVActivity;
import com.aserbao.aserbaosandroid.aaSource.android.support.design.widget.CoordinatorLayout.CoordinatorLayoutActivity;
import com.aserbao... |
<<<<<<<
import android.support.annotation.*;
=======
import android.support.annotation.Nullable;
import org.isoron.uhabits.R;
import org.isoron.uhabits.models.Habit;
import org.json.JSONException;
import org.json.JSONObject;
>>>>>>>
import android.support.annotation.*;
<<<<<<<
@Override
public void undo()
... |
<<<<<<<
=======
import LANG_PROJECT_ID.ide.core.bundle_model.LANGUAGE_BundleModelManager;
import LANG_PROJECT_ID.ide.core.engine.LANGUAGE_LanguageServerHandler;
import LANG_PROJECT_ID.ide.core.engine.LANGUAGE_SourceModelManager;
import LANG_PROJECT_ID.ide.core.operations.LANGUAGE_BuildManager;
import LANG_PROJECT_ID.... |
<<<<<<<
=======
import melnorme.lang.ide.core.text.format.ILastKeyInfoProvider;
import melnorme.lang.ide.ui.editor.actions.AbstractEditorToolOperation;
>>>>>>>
import melnorme.lang.ide.core.text.format.ILastKeyInfoProvider;
<<<<<<<
public static DeeAutoEditStrategy createAutoEditStrategy(ISourceViewer sourceViewer... |
<<<<<<<
@Override
public void configure (Context context) {
String attrPersistenceStr = context.getString("attr_persistence");
if (attrPersistenceStr.equals("row") || attrPersistenceStr.equals("column")) {
this.rowAttrPersistence = attrPersistenceStr.equals("row");
... |
<<<<<<<
import melnorme.lang.tooling.common.ops.CommonResultOperation;
import melnorme.lang.tooling.common.ops.IOperationMonitor;
import melnorme.lang.tooling.toolchain.ops.SourceOpContext;
import melnorme.lang.tooling.toolchain.ops.ToolOpResult;
import melnorme.utilbox.concurrency.OperationCancellation;
=======
impo... |
<<<<<<<
super(preferenceStore, null);
}
@Override
public IAutoEditStrategy[] getAutoEditStrategies(ISourceViewer sourceViewer, String contentType) {
return null;
=======
super(preferenceStore);
>>>>>>>
super(preferenceStore, null); |
<<<<<<<
import dtool.dub.DubBundle;
import dtool.dub.DubBundleDescription;
import melnorme.lang.ide.core.BundleInfo;
import melnorme.lang.ide.core.project_model.view.AbstractDependenciesContainer;
import melnorme.lang.ide.core.project_model.view.BundleErrorElement;
import melnorme.lang.ide.core.project_model.view.IBund... |
<<<<<<<
=======
public static final String ROOT_PREF_PAGE_ID = PLUGIN_ID + ".PreferencePages.Root";
public static final String RULER_CONTEXT = "#LANGUAGE_RulerContext";
public static final String EDITOR_CONTEXT = "#LANGUAGE_EditorContext";
>>>>>>> |
<<<<<<<
import mmrnmhrm.ui.editor.codeassist.DeeCompletionProposalComputer;
=======
import melnorme.lang.tooling.common.ISourceBuffer;
>>>>>>>
import melnorme.lang.tooling.common.ISourceBuffer;
import mmrnmhrm.ui.editor.codeassist.DeeCompletionProposalComputer; |
<<<<<<<
private static final String DEFAULT_LAST_DATA = "false";
private static final String DEFAULT_LAST_DATA_TABLE_SUFFIX = "_last_data";
private static final String DEFAULT_LAST_DATA_UNIQUE_KEY = NGSIConstants.ENTITY_ID;
private static final String DEFAULT_LAST_DATA_TIMESTAMP_KEY = NGSIConstants.RECV... |
<<<<<<<
import melnorme.util.swt.SWTFactoryUtil_Old;
import mmrnmhrm.core.projectmodel.CoreDubModel;
=======
import mmrnmhrm.core.projectmodel.DubModelManager;
>>>>>>>
import mmrnmhrm.core.projectmodel.CoreDubModel; |
<<<<<<<
public static final String LANGUAGE_NAME = "D";
=======
// Note: the variable shoudl not be named with a prefix of LANGUAGE_,
// or it will interfere with MelnormeEclipse templating
public static final String NAME_OF_LANGUAGE = "LANG_NAME";
>>>>>>>
// Note: the variable shoudl not be named with a prefi... |
<<<<<<<
public IStatus run(final IProgressMonitor monitor)
throws OperationCanceledException {
final ErlideBackend backend = ErlangCore.getBackendManager()
.getIdeBackend();
fResult = ErlideSearchServer.findRefs(backend, pattern, scope,
getStateDir());
... |
<<<<<<<
=======
// private String[] findErlDirectories() {
// List<String> result = new ArrayList<String>();
// for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
// ;
// }
// return result.toArray(new String[result.size()]);
// }
//
// private String[] findHrlDirectories() {
// List<String> ... |
<<<<<<<
if (dir_path != null) {
e = b.getEntryPaths(dir_path + "/" + ver);
if (e == null || !e.hasMoreElements()) {
e = b.getEntryPaths(dir_path);
}
}
if (e == null) {
... |
<<<<<<<
import org.erlide.backend.util.PreferencesUtils;
import org.erlide.backend.util.StringUtils;
import org.erlide.backend.util.Util;
=======
>>>>>>>
import org.erlide.backend.util.PreferencesUtils;
import org.erlide.backend.util.Util;
<<<<<<<
=======
import org.erlide.jinterface.backend.Backend;
import org.e... |
<<<<<<<
ProjectConfigType getConfigType();
void setConfigType(ProjectConfigType config);
void storeAllProperties();
BuilderProperties getBuilderProperties();
void setBuilderProperties(BuilderProperties props);
=======
IErlangProjectProperties getProperties();
>>>>>>>
ProjectConfigTy... |
<<<<<<<
import org.erlide.core.model.erlang.IErlModule;
import org.erlide.jinterface.util.IDisposable;
=======
import org.erlide.utils.IDisposable;
>>>>>>>
import org.erlide.core.model.erlang.IErlModule;
import org.erlide.utils.IDisposable; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.