conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import org.globus.cog.karajan.workflow.service.UserContext;
=======
>>>>>>>
import org.globus.cog.karajan.workflow.service.UserContext;
<<<<<<<
public static final int DEFAULT_HEARTBEAT_INTERVAL = 30; // seconds
// some random spread to avoid sending all heartbeats at once
public static final int DEFAULT... |
<<<<<<<
* @param type non-null; the type of the array
* @param initVals non-null; list of bytecode offsets for init values
=======
* @param cst {@code non-null;} the type of the array
* @param initVals {@code non-null;} list of bytecode offsets for init values
>>>>>>>
* @... |
<<<<<<<
static class PWriter implements Runnable {
PipedOutputStream pos;
public byte bytes[];
public void run() {
try {
pos.write(bytes);
synchronized (this) {
notify();
}
} catch (IOException e) {
e.printStackTrace(System.out);
System.out.println("Could not write bytes");
}
... |
<<<<<<<
* @param cst {@code non-null;} the type of the array
* @param initVals {@code non-null;} list of bytecode offsets for init values
=======
* @param type non-null; the type of the array
* @param initVals non-null; list of bytecode offsets for init values
>>>>>>>
* @... |
<<<<<<<
private Set<String> putIfAbsentCandidates(String prefName, Map<String, Set<String>> allCandidates) {
if (allCandidates.containsKey(prefName)) {
return allCandidates.get(prefName);
}
ConcurrentSkipListSet<String> set = new ConcurrentSkipListSet<>();
allCandidates.p... |
<<<<<<<
try {
return getAllInternal();
} catch (Exception e) {
exceptionHandler.handle(e);
=======
synchronized (lock) {
try {
return getStringMapInternal();
} catch (Exception e) {
exceptionHandler.handle(e);
... |
<<<<<<<
import org.apache.maven.plugin.surefire.booterclient.lazytestprovider.NotifiableTestStream;
import org.apache.maven.plugin.surefire.log.api.ConsoleLogger;
import org.apache.maven.plugin.surefire.report.DefaultReporterFactory;
import org.apache.maven.shared.utils.cli.StreamConsumer;
import org.apache.maven.suref... |
<<<<<<<
/**
* Perform a forEach operation over the Stream without closing it, capturing any elements and errors in the supplied consumers, but only consuming
* the specified number of elements from the Stream, at this time. More elements can be consumed later, by called request on the returned Subscription
*... |
<<<<<<<
import net.thucydides.core.reports.html.history.TestResultSnapshot;
import net.thucydides.core.util.ExtendedTemporaryFolder;
=======
>>>>>>>
import net.thucydides.core.util.ExtendedTemporaryFolder; |
<<<<<<<
private final Context mContext;
private final HashMap<Class<F>, F> mFeatures;
=======
private final C mContext;
private final ArrayMap<String, Feature> mFeatures;
>>>>>>>
private final C mContext;
private final HashMap<String, Feature> mFeatures;
<<<<<<<
public FeatureHost(@NotNu... |
<<<<<<<
xdRuntime.add(entityLinks.linkFor(StreamDefinitionResource.class).withRel("triggers"));
=======
xdRuntime.add(entityLinks.linkFor(JobDefinitionResource.class).withRel("jobs"));
>>>>>>>
xdRuntime.add(entityLinks.linkFor(StreamDefinitionResource.class).withRel("triggers"));
xdRuntime.add(entityLinks.li... |
<<<<<<<
=======
import java.util.List;
import org.openstack4j.api.identity.v3.ProjectService;
import org.openstack4j.api.identity.v3.RoleService;
import org.openstack4j.api.identity.v3.UserService;
>>>>>>>
<<<<<<<
UserService users();
=======
org.openstack4j.api.identity.UserService users();
/**
* Role Se... |
<<<<<<<
import org.openstack4j.api.sahara.ClusterService;
import org.openstack4j.api.sahara.NodeGroupTemplateService;
import org.openstack4j.api.sahara.SaharaService;
=======
import org.openstack4j.api.networking.ext.VipService;
>>>>>>>
import org.openstack4j.api.networking.ext.VipService;
import org.openstack4j.api... |
<<<<<<<
import org.openstack4j.model.sahara.builder.ClusterCreateBuilder;
import org.openstack4j.model.sahara.builder.NodeGroupTemplateBuilder;
import org.openstack4j.model.sahara.builder.ServiceConfigBuilder;
=======
import org.openstack4j.model.network.ext.builder.HealthMonitorAssociateBuilder;
import org.openstack... |
<<<<<<<
if (bindings.containsKey(api)) {
try {
T impl = (T) bindings.get(api).newInstance();
instances.put(api, impl);
return impl;
}
catch (Exception e) {
e.printStackTrace();
throw new ApiNotFou... |
<<<<<<<
bind(MagnumService.class, MagnumServiceImpl.class);
=======
bind(BlockStroageServicesService.class, BlockStorageServicesServiceImpl.class);
>>>>>>>
bind(MagnumService.class, MagnumServiceImpl.class);
bind(BlockStroageServicesService.class, BlockStorageServicesServiceI... |
<<<<<<<
import org.openstack4j.api.senlin.SenlinActionService;
import org.openstack4j.api.senlin.SenlinBuildInfoService;
import org.openstack4j.api.senlin.SenlinClusterPolicyService;
import org.openstack4j.api.senlin.SenlinClusterService;
import org.openstack4j.api.senlin.SenlinEventService;
import org.openstack4j.api.... |
<<<<<<<
@Override
public ServerCreateBuilder userData(String userData) {
m.userData = userData;
return this;
}
=======
@Override
public ServerCreateBuilder keypairName(String name) {
m.keyName = name;
return this;
}
@Override
... |
<<<<<<<
import org.openstack4j.model.trove.builder.DBServiceBuilders;
=======
import org.openstack4j.openstack.barbican.domain.BarbicanContainer;
import org.openstack4j.openstack.barbican.domain.BarbicanContainerSecret;
>>>>>>>
import org.openstack4j.model.trove.builder.DBServiceBuilders;
import org.openstack4j.open... |
<<<<<<<
import java.util.HashMap;
=======
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
>>>>>>>
<<<<<<<
=======
import java.util.SortedSet;
import java.util.concurrent.ConcurrentHashMap;
>>>>>>>
import java.util.concurrent.ConcurrentHashMap;
<<<<<<<
private static final Map<... |
<<<<<<<
import org.openstack4j.model.compute.builder.BlockDeviceMappingBuilder;
import org.openstack4j.model.compute.builder.FlavorBuilder;
import org.openstack4j.model.compute.builder.FloatingIPBuilder;
import org.openstack4j.model.compute.builder.QuotaSetUpdateBuilder;
import org.openstack4j.model.compute.builder.Sec... |
<<<<<<<
=======
@Test
public void testConvertToAsync() {
FutureW<Stream<Integer>> async = FutureW.ofSupplier(()->just.visit(f->Stream.of((int)f),()->Stream.of()));
assertThat(async.get().collect(Collectors.toList()),equalTo(ListX.of(10)));
}
@Test
public void testGetMatchable(... |
<<<<<<<
=======
import net.openhft.chronicle.core.Jvm;
>>>>>>>
import net.openhft.chronicle.core.Jvm;
<<<<<<<
private static final int JVM_STARTUP_WAIT_TIME_MS = 5_000;
=======
private static final int JVM_STARTUP_WAIT_TIME_MS = 2_000;
>>>>>>>
private static final int JVM_STARTUP_WAIT_TIME_MS = 5_00... |
<<<<<<<
private final StringBuilder methodName = new StringBuilder();
private final Supplier<ChronicleHashInstanceBuilder<ChronicleMap<K, V>>> mapFactory;
=======
private final Supplier<ChronicleHashInstanceBuilder<ChronicleMap<K, V>>> chronicleHashInstanceBuilder;
>>>>>>>
private final Supplier<Chr... |
<<<<<<<
/**
* Set minimum number of segments. See concurrencyLevel in {@link java.util.concurrent.ConcurrentHashMap}.
*
* @param minSegments the minimum number of segments in maps, constructed by this builder
* @return this builder object back
*/
=======
@Override
>>>>>>>
@Overr... |
<<<<<<<
private InetSocketAddress[] pushToAddresses;
=======
public boolean bootstapOnlyLocalEntries = false;
>>>>>>>
private InetSocketAddress[] pushToAddresses;
public boolean bootstapOnlyLocalEntries = false; |
<<<<<<<
gmlIdLabel = new JLabel();
gmlIdText = new JTextField();
gmlNameLabel = new JLabel();
gmlNameText = new JTextField();
=======
attributeFilterPanel = new TitledPanel().withToggleButton(useAttributeFilter);
counterFilterPanel = new TitledPanel().withToggleButton(useCounterFilter);
bboxFilterPanel ... |
<<<<<<<
private final DBGmlIdLookupServerManager lookupServerManager;
=======
private final UIDCacheManager uidCacheManager;
private final Config config;
>>>>>>>
private final UIDCacheManager uidCacheManager;
<<<<<<<
public DBGmlIdResolver(Connection commitConn, DBGmlIdLookupServerManager lookupServerManager) ... |
<<<<<<<
if (config.getGuiConfig().getPreferencesGuiConfig().isShowPreferencesConfirmDialog()) {
ConfirmationCheckDialog dialog = new ConfirmationCheckDialog(getTopLevelAncestor(),
Language.I18N.getString("pref.dialog.apply.title"),
Language.I18N.getString("pref.dialog.apply.msg"));
=======
if (c... |
<<<<<<<
// gml:id filter
component.add(gmlIdLabel, GuiUtil.setConstraints(0, 0, 0, 0, GridBagConstraints.HORIZONTAL, 0, 0, 5, 5));
component.add(gmlIdText, GuiUtil.setConstraints(1, 0, 1, 0, GridBagConstraints.HORIZONTAL, 0, 5, 5, 0));
=======
// resource id filter
component.ad... |
<<<<<<<
=======
import org.citydb.file.InputFile;
import org.citydb.config.project.database.Workspace;
>>>>>>>
<<<<<<<
importer = new CityGMLImportManager(connection,
=======
globalTransaction = true;
init(inputFile, databaseAdapter, schemaMapping, cityGMLBuilder, xlinkPool, uidCacheManager, affineTransform... |
<<<<<<<
import org.citydb.config.project.database.DatabaseConnection;
=======
import org.citydb.config.project.database.DBConnection;
import org.citydb.util.CoreConstants;
>>>>>>>
import org.citydb.config.project.database.DatabaseConnection;
import org.citydb.util.CoreConstants;
<<<<<<<
public ImportLogger(Path lo... |
<<<<<<<
private Map<String, Object> properties;
=======
private ConcurrentHashMap<String, Object> properties;
private Config config;
>>>>>>>
private Map<String, Object> properties;
private Config config;
<<<<<<<
if (properties == null)
properties = new HashMap<>();
=======
if (properties == null) {
... |
<<<<<<<
@Override
default POrderedSetX<T> take(final long num) {
=======
/* (non-Javadoc)
* @see com.aol.cyclops.data.collections.extensions.CollectionX#forEach4(java.util.function.Function, java.util.function.BiFunction, com.aol.cyclops.util.function.TriFunction, com.aol.cyclops.util.function.Q... |
<<<<<<<
import org.citydb.config.project.database.Workspace;
=======
import org.citydb.file.InputFile;
>>>>>>>
import org.citydb.config.project.database.Workspace;
<<<<<<<
private final Logger log = Logger.getInstance();
private final ConnectionManager connectionManager;
private final boolean isManagedTransacti... |
<<<<<<<
private boolean useSequentialWriting;
=======
private boolean setAllCityGMLPrefixes;
>>>>>>>
private boolean setAllCityGMLPrefixes;
private boolean useSequentialWriting; |
<<<<<<<
public class ResourceIdOperator extends AbstractPredicate {
@XmlElement(name = "id")
private List<String> ids;
=======
public class ResourceIdOperator extends AbstractIdOperator {
@XmlElement(name = "id")
private List<String> ids;
public ResourceIdOperator() {
ids = new ArrayList<>();
}
publi... |
<<<<<<<
SchemaPath schemaPath = valueReference.getSchemaPath().copy();
PredicateToken token = buildIsNullPredicate((AbstractProperty)valueReference.getTarget(), schemaPath, queryContext, negate);
=======
SchemaPath schemaPath = valueReference.getSchemaPath();
PredicateToken token = buildIsNullPredicate((Abstr... |
<<<<<<<
public DBExportXlinkWorker(Connection connection, AbstractDatabaseAdapter databaseAdapter, Config config, EventDispatcher eventDispatcher) {
this.connection = connection;
=======
public DBExportXlinkWorker(OutputFile outputFile, Config config, EventDispatcher eventDispatcher) throws SQLException {
>>>>>>... |
<<<<<<<
return httpHeader.headers().entity(toMap(assignment)).build();
} catch (Exception exception) {
LOGGER.error("getAssignment failed for applicationName={}, experimentLabel={}, userID={}, context={},"
+ " createAssignment={}, ignoreSamplingPercent={}, headers={} ... |
<<<<<<<
experimentsResource = new ExperimentsResource(experiments, eventsExport, assignments,
authorization, buckets, mutex, pages, priorities, favorites, "US/New York", "YYYY-mm-DD", new HttpHeader("MyApp-???"), paginationHelper);
doReturn(Collections.emptyList()).when(favorites).getFav... |
<<<<<<<
command = "bash -c \"exec " + command + "\""; // use bash on Windows to fix output problem (no output can be read through standard shell on Win10)
=======
command = "bash -c \"exec " + command + "\""; // use bash on Windows to fix (presumed) output buffering problem (output cannot be read otherwise)
... |
<<<<<<<
private void startPokeyFly() {
=======
/**
* startPokeFly
* Starts the PokeFly background service which contains overlay logic
*/
private void startPokeyFly(){
>>>>>>>
/**
* startPokeFly
* Starts the PokeFly background service which contains overlay logic
*/
... |
<<<<<<<
IVButton.setOnTouchListener(new View.OnTouchListener() {
//private WindowManager.LayoutParams paramsF = IVButonParams;
//private int initialX;
//private int initialY;
//private float initialTouchX;
//private float initialTouchY;
@O... |
<<<<<<<
@OnClick({R.id.pokePickerToggleSpinnerVsInput})
/**
* In the input screen, switches between the two methods the user has of picking pokemon - a dropdown list, or typing
*/
public void toggleSpinnerVsInput(){
if (autoCompleteTextView1.getVisibility()==View.GONE){
autoCom... |
<<<<<<<
return new ScanResult(estimatedPokemonLevelRange, pokemonName, pokemonType, candyName, pokemonHP,
=======
return new ScanResult(estimatedPokemonLevel, pokemonName, pokemonType, pokemonGender, candyName, pokemonHP,
>>>>>>>
return new ScanResult(estimatedPokemonLevelRange, pokemonName, ... |
<<<<<<<
import cyclops.typeclasses.*;
=======
import cyclops.collections.immutable.LinkedListX;
import cyclops.typeclasses.Active;
import cyclops.typeclasses.InstanceDefinitions;
>>>>>>>
import cyclops.typeclasses.*;
import cyclops.collections.immutable.LinkedListX;
import cyclops.typeclasses.Active;
import cyclops.... |
<<<<<<<
IVScanResult ivScanResult = pokeInfoCalculator.getIVPossibilities(pokemon, estimatedPokemonLevelRange.min,
estimatedPokemonLevelRange.max,
pokemonHP.get(), pokemonCP.get());
=======
IVScanResult ivScanResult = pokeInfoCalculator.getIVPossibilities(pokemon, estim... |
<<<<<<<
private static final String ACTION_SCREENSHOT = "screenshot";
private static final String ACTION_PROCESS_BITMAP = "process-bitmap";
public static final String ACTION_SHOW_UPDATE_DIALOG = "show-update-dialog";
=======
>>>>>>>
public static final String ACTION_SHOW_UPDATE_DIALOG = "show-update-... |
<<<<<<<
import butterknife.ButterKnife;
import butterknife.OnClick;
import io.fabric.sdk.android.Fabric;
=======
import timber.log.Timber;
>>>>>>>
import butterknife.ButterKnife;
import butterknife.OnClick;
import timber.log.Timber;
<<<<<<<
private GoIVSettings settings;
=======
public static Intent crea... |
<<<<<<<
=======
private GoIVSettings settings;
private boolean checkingForUpdate;
private AlertDialog.Builder builder;
private AlertDialog dialog;
>>>>>>>
<<<<<<<
settings = GoIVSettings.getSettings(MainActivity.this);
=======
settings = GoIVSettings.getSettings(MainActivity.this)... |
<<<<<<<
import cn.skill6.common.entity.enums.SortType;
import cn.skill6.common.entity.po.ArticleInfo;
import cn.skill6.common.entity.to.ArticleInfoTo;
import cn.skill6.website.Skill6WebsiteApplicationTest;
=======
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util... |
<<<<<<<
assertThat(node.size(),equalTo(0));
}
@Test
public void orderCompare() {
HAMT.Node<String, String> a = HAMT.<String,String>empty().put("hello", "world").put("world", "hello");
HAMT.Node<String, String> b = HAMT.<String, String> empty().put("world", "hello").put("hello", "world");
assert... |
<<<<<<<
import java.util.List;
import java.util.Locale;
import java.util.stream.Collectors;
=======
import com.accolite.pru.health.AuthApp.exception.AppException;
import com.accolite.pru.health.AuthApp.exception.BadRequestException;
import com.accolite.pru.health.AuthApp.exception.InvalidTokenRequestException;
impor... |
<<<<<<<
import java.net.URI;
import java.util.Optional;
import javax.validation.Valid;
=======
import com.accolite.pru.health.AuthApp.event.OnRegenerateEmailVerificationEvent;
import com.accolite.pru.health.AuthApp.event.OnUserRegistrationCompleteEvent;
import com.accolite.pru.health.AuthApp.exception.InvalidTokenR... |
<<<<<<<
* The precision (number of fractional digits) to be used when displaying
* the measured execution time.
* @since 0.18
* @todo #86 Let's document the usage of this parameter, including its
* effects and default setting, in the annotation-loggable.apt.vm page.
*/
int precision()... |
<<<<<<<
import org.apache.log4j.SimpleLayout;
import org.apache.log4j.WriterAppender;
import org.cthul.matchers.CthulMatchers;
import org.hamcrest.MatcherAssert;
=======
import org.apache.log4j.PatternLayout;
import org.apache.log4j.WriterAppender;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
>>>... |
<<<<<<<
=======
addKeyCombinationAction("Show report window", new AbstractAction()
{
@Override
public void actionPerformed(ActionEvent e)
{
WindowController.showReportWindow();
}
}, KeyStroke.getKeyStroke(KeyEvent.VK_2, ActionEve... |
<<<<<<<
"SRGs including this node", "Total population in this node", "Site this node belongs to", "Node-specific tags", "Node-specific attributes");
private boolean updateVisualization = true;
=======
"SRGs including this node", "Total population in this node", "Node-specific tags", "Node-... |
<<<<<<<
public boolean hasAttributes()
{
for (int i = 0; i < this.getColumnCount(); i++)
if (this.getColumnName(i).equals(COLUMN_ATTRIBUTES))
return true;
return false;
}
protected static void updateRowSum (Object [] data , double [] aggreg , int index , dou... |
<<<<<<<
=======
import com.aol.cyclops.util.function.QuadFunction;
import com.aol.cyclops.util.function.TriFunction;
>>>>>>>
import com.aol.cyclops.util.function.QuadFunction;
import com.aol.cyclops.util.function.TriFunction;
<<<<<<<
return limit(num);
}
@Override
default PSetX<T> drop(final lo... |
<<<<<<<
=======
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
>>>>>>>
<<<<<<<
? DefaultValues.getDefaultValue(returnType.getName())
=======
? HookValues.getDefaultValue(returnTypeName)
>>>>>>>
? DefaultValues.getDefaultValue(retu... |
<<<<<<<
import net.flintmc.framework.inject.InjectedFieldBuilder;
=======
import net.flintmc.framework.eventbus.method.SubscribeMethod;
>>>>>>>
import net.flintmc.framework.eventbus.method.SubscribeMethod;
import net.flintmc.framework.inject.InjectedFieldBuilder;
<<<<<<<
"public void invoke(%s event... |
<<<<<<<
=======
private final ClassPool pool;
>>>>>>>
private final ClassPool pool;
<<<<<<<
private MinecraftClassRemapper(ClassMappingProvider classMappingProvider) {
super(collectMappings(classMappingProvider));
=======
private MinecraftClassRemapper(ClassPool pool, ClassMappingProvider mappingProvi... |
<<<<<<<
=======
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
>>>>>>>
<<<<<<<
private final ClassMappingProvider mappingProvider;
private final Provider<MethodInjectionUtils> methodInjectionUtils;
=======
private final ClassPool pool;
private final ClassMappingPro... |
<<<<<<<
private final AutoLoad2Processor autoLoadProcessor2;
=======
private static ProcessorState instance;
private final AutoLoadProcessor autoLoadProcessor;
>>>>>>>
private final AutoLoad2Processor autoLoadProcessor2;
private static ProcessorState instance;
<<<<<<<
this.autoLoadProcessor2 = new Au... |
<<<<<<<
import io.sentry.Sentry;
import io.sentry.event.BreadcrumbBuilder;
import javassist.CannotCompileException;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtConstructor;
=======
import javassist.*;
>>>>>>>
import io.sentry.Sentry;
import io.sentry.event.BreadcrumbBuilder;
import javas... |
<<<<<<<
import net.flintmc.framework.inject.InjectedFieldBuilder;
=======
import net.flintmc.framework.inject.primitive.InjectionHolder;
>>>>>>>
import net.flintmc.framework.inject.InjectedFieldBuilder;
<<<<<<<
public ImplementationGenerator(
ConfigMethodResolver methodResolver,
InjectedFieldBuilder... |
<<<<<<<
import com.vaadin.terminal.gwt.client.ui.dd.VLazyInitItemIdentifiers;
import com.vaadin.terminal.gwt.client.ui.dd.VOverTreeNode;
import com.vaadin.terminal.gwt.client.ui.dd.VTargetNodeIsChildOf;
import com.vaadin.terminal.gwt.client.ui.dd.VerticalDropLocation;
=======
import com.vaadin.tools.ReflectTools;
>>... |
<<<<<<<
import org.junit.Assert;
=======
import junit.framework.Assert;
>>>>>>>
import org.junit.Assert;
<<<<<<<
@Test
public void testBeanValidationException_OneValidationError() {
InvalidValueException[] causes = null;
BeanValidator validator = new BeanValidator(BeanToValidate.class,
... |
<<<<<<<
import com.vaadin.terminal.gwt.client.ComponentState;
=======
import com.vaadin.terminal.gwt.client.LayoutManager;
>>>>>>>
import com.vaadin.terminal.gwt.client.ComponentState;
import com.vaadin.terminal.gwt.client.LayoutManager;
<<<<<<<
// shared state from the server to the client
private Componen... |
<<<<<<<
@Test
public void testLongPolling() {
setDebug(true);
openTestURL();
int counter = getServerCounter();
assertGreaterOrEqual("Counter should be >= 1. Was: " + counter,
counter, 1);
new Select(getTransportSelect()).selectByVisibleText("LONG_POLLING")... |
<<<<<<<
=======
* Creates a new push button with a method listening button clicks. Using
* this method is discouraged because it cannot be checked during
* compilation. Use
* {@link #Button(String, com.vaadin.ui.Button.ClickListener)} instead. The
* method must have either no parameters, or o... |
<<<<<<<
recalculateColumnWidths();
// Vertical resizing could make editor positioning invalid so it
// needs to be recalculated on resize
if (isEditorActive()) {
editor.updateVerticalScrollPosition();
}
=======
... |
<<<<<<<
import com.vaadin.terminal.gwt.client.ComponentState;
import com.vaadin.terminal.gwt.client.Container;
import com.vaadin.terminal.gwt.client.RenderSpace;
import com.vaadin.terminal.gwt.client.StyleConstants;
=======
import com.vaadin.terminal.gwt.client.LayoutManager;
>>>>>>>
import com.vaadin.terminal.gwt.c... |
<<<<<<<
import com.vaadin.terminal.gwt.client.ComponentState;
import com.vaadin.terminal.gwt.client.Container;
=======
>>>>>>>
import com.vaadin.terminal.gwt.client.ComponentState; |
<<<<<<<
import com.vaadin.client.ui.aria.AriaHelper;
import com.vaadin.shared.Connector;
=======
import com.vaadin.client.ui.window.WindowMoveEvent;
import com.vaadin.client.ui.window.WindowMoveHandler;
>>>>>>>
import com.vaadin.client.ui.aria.AriaHelper;
import com.vaadin.client.ui.window.WindowMoveEvent;
import co... |
<<<<<<<
=======
import com.vaadin.terminal.gwt.client.Util;
import com.vaadin.terminal.gwt.client.communication.RpcProxy;
>>>>>>>
import com.vaadin.terminal.gwt.client.Util;
import com.vaadin.terminal.gwt.client.communication.RpcProxy;
<<<<<<<
implements SimpleManagedLayout, PostLayoutListener,
Requ... |
<<<<<<<
=======
* Notifies the component that it is connected to an application.
*
* @see com.vaadin.ui.Component#attach()
*/
@Override
public void attach() {
super.attach();
if (actionManager != null) {
actionManager.setViewer(getWindow());
}
/... |
<<<<<<<
private Connector[] assistiveConnectors = new Connector[0];
private String assistivePrefix;
private String assistivePostfix;
private Element topTabStop;
private Element bottomTabStop;
private NativePreviewHandler topEventBlocker;
private NativePreviewHandler bottomEventBlocker;
... |
<<<<<<<
import com.vaadin.shared.annotations.NoLayout;
=======
import com.vaadin.shared.annotations.DelegateToWidget;
>>>>>>>
import com.vaadin.shared.annotations.DelegateToWidget;
import com.vaadin.shared.annotations.NoLayout; |
<<<<<<<
import com.vaadin.terminal.gwt.client.ui.layout.RequiresOverflowAutoFix;
=======
import com.vaadin.ui.TabSheet;
>>>>>>>
import com.vaadin.terminal.gwt.client.ui.layout.RequiresOverflowAutoFix;
import com.vaadin.ui.TabSheet; |
<<<<<<<
if (datasource instanceof ItemSetChangeNotifier) {
((ItemSetChangeNotifier) datasource)
.removeItemSetChangeListener(editorClosingItemSetListener);
}
=======
// Mark Grid as dirty so the client side gets to know that the editors
// are no longer... |
<<<<<<<
import com.vaadin.terminal.gwt.client.ComponentConnector;
import com.vaadin.terminal.gwt.client.ComponentState;
import com.vaadin.terminal.gwt.client.ConnectorMap;
=======
import com.vaadin.terminal.gwt.client.EventId;
import com.vaadin.terminal.gwt.client.Focusable;
import com.vaadin.terminal.gwt.client.Pain... |
<<<<<<<
.getRoot()
.showNotification((String) title.getValue(),
(String) message.getValue());
=======
.getWindow()
.showNotification(title.getValue(),... |
<<<<<<<
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.ViewGroup;
import android.widget.Filter;
import android.widget.Filterable;
import java.util.ArrayList;
=======
import java.util.ArrayList;
>>>>>>>
import android.support.v7.widget.RecyclerView;
import android.util.Lo... |
<<<<<<<
private boolean jj_3R_191() {
if (jj_scan_token(S)) return true;
=======
private boolean jj_3R_182() {
>>>>>>>
private boolean jj_3R_179() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_194()) jj_scanpos = xsp;
if (jj_scan_token(CONTAINS)) return true;
while (true) {
xsp = jj_sc... |
<<<<<<<
=======
String contentType = response.getHeader("Content-Type");
if (contentType == null
|| !contentType.startsWith("application/json")) {
/*
* A servlet filter or equivalent may have intercept... |
<<<<<<<
AbstractApplicationPortletWrapper portletWrapper = new AbstractApplicationPortletWrapper(
this);
WrappedPortletRequest wrappedRequest;
String portalInfo = request.getPortalContext().getPortalInfo()
.toLowerCase();
if (portalInfo.contains("liferay... |
<<<<<<<
public void setSplitPosition(int pos) {
setSplitPosition(pos, posUnit, false);
=======
public void setSplitPosition(float pos) {
setSplitPosition(pos, posUnit, true, false);
>>>>>>>
public void setSplitPosition(float pos) {
setSplitPosition(pos, posUnit, false);
<<<<<<<
... |
<<<<<<<
private ColumnReorderHandler<JsonObject> columnReorderHandler = new ColumnReorderHandler<JsonObject>() {
@Override
public void onColumnReorder(ColumnReorderEvent<JsonObject> event) {
if (!columnsUpdatedFromState) {
List<Column<?, JsonObject>> columns = getWidget(... |
<<<<<<<
import com.vaadin.terminal.gwt.client.RenderInformation.FloatSize;
import com.vaadin.terminal.gwt.client.RenderInformation.Size;
import com.vaadin.terminal.gwt.client.communication.JsonDecoder;
import com.vaadin.terminal.gwt.client.communication.JsonEncoder;
import com.vaadin.terminal.gwt.client.communication.M... |
<<<<<<<
private static final Logger logger = Logger
.getLogger(AbstractCommunicationManager.class.getName());
private static final RequestHandler APP_RESOURCE_HANDLER = new ApplicationResourceHandler();
=======
/**
* Generic interface of a (HTTP or Portlet) request to the application.
... |
<<<<<<<
=======
private class SubpixelBrowserBugDetector {
private static final double SUBPIXEL_ADJUSTMENT = .1;
private boolean hasAlreadyBeenFixed = false;
/**
* This is a fix essentially for Firefox and how it handles subpixels.
* <p>
* Even if an element has... |
<<<<<<<
tb.navigateTab(focusedTabIndex, newTabIndex);
focusedTabIndex = newTabIndex;
// If this TabSheet already has focus, set the new selected tab
// as focused.
if (focusedTab != null) {
focusedTab = tb.getTab(focusedTabIndex);
... |
<<<<<<<
private String paymentSource;
private String callbackUrl;
private String posOrderId;
private String connectorName;
=======
private String currency;
>>>>>>>
private String paymentSource;
private String callbackUrl;
private String posOrderId;
private String connectorName;
... |
<<<<<<<
import com.vaadin.ui.Grid.ColumnReorderEvent;
import com.vaadin.ui.Grid.ColumnReorderListener;
import com.vaadin.ui.Grid.ColumnVisibilityChangeEvent;
import com.vaadin.ui.Grid.ColumnVisibilityChangeListener;
=======
import com.vaadin.ui.Grid.DetailsGenerator;
>>>>>>>
import com.vaadin.ui.Grid.ColumnReorderEv... |
<<<<<<<
private static void printConnectorInvocations(
ArrayList<MethodInvocation> invocations, String id,
ApplicationConnection c) {
ServerConnector connector = ConnectorMap.get(c).getConnector(id);
if (connector != null) {
VConsole.log("\t" + id + " (" + connect... |
<<<<<<<
@Override
public void splitterClick(MouseEventDetails mouseDetails) {
fireEvent(new SplitterClickEvent(AbstractSplitPanel.this,
mouseDetails));
}
=======
private float pos = 50;
private int posUnit = UNITS_PERCENTAGE;
private boolean posRev... |
<<<<<<<
if (!"".equals(newWidth) && (width == null || !newWidth.equals(width))) {
=======
if (!"".equals(newWidth) && (isUndefinedWidth() || !newWidth.equals(width))) {
if (BrowserInfo.get().isIE6()) {
// in IE6 cols ~ min-width
DOM.setElementProperty(text.g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.