conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
import io.realm.Realm;
import io.realm.RealmQuery;
import io.realm.RealmResults;
import io.realm.Sort;
import me.calebjones.spacelaunchnow.calendar.CalendarSyncManager;
=======
import me.calebjones.spacelaunchnow.calendar.CalendarSy... |
<<<<<<<
public ViewType view;
public Map<NID.WithName, NID.WithName> mapG1toG2;
public Map<NID.WithName, NID.WithName> perfectMap;
public List<NID.WithName[]> cycleBounds;
=======
public boolean forOrphans, forPerfectNG;
public NodeGroupMap.PerfectNGMode mode;
>>>>>>>
public ViewType view;
public Map... |
<<<<<<<
//是否生成字段名常量
private boolean generateColumnConsts = false;
=======
//是否需要生成Getter注解
private boolean needsGetter = false;
//是否需要生成Setter注解
private boolean needsSetter = false;
//是否需要生成ToString注解
private boolean needsToString = false;
//是否需要生成Accessors(chain = true)注解
... |
<<<<<<<
package org.openlca.app.editors.units;
import java.util.List;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;
import org.eclipse.ui.forms.widgets.Section;
import org.openlca.a... |
<<<<<<<
package org.openlca.app.editors.costs;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets... |
<<<<<<<
package org.openlca.app.editors.actors;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;
import org.openlca.app.M;
import org.openlca.app.editors.InfoSection;
import org.openlca... |
<<<<<<<
import org.openlca.app.rcp.images.Icon;
=======
import org.openlca.app.rcp.ImageType;
import org.openlca.app.util.UI;
>>>>>>>
import org.openlca.app.rcp.images.Icon;
import org.openlca.app.util.UI; |
<<<<<<<
LcaCalculator calculator = new LcaCalculator(solver, inventoryMatrix);
calculator.setImpactMatrix(impactMatrix);
FullResult baseResult = calculator.calculateFull();
RegionalizationSetup regioSetup = setupRegio(
baseResult.productIndex);
=======
LcaCalculator calculator = new LcaCalculator(... |
<<<<<<<
package org.openlca.app.editors.projects;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;
import org.openlca.app.M;
import org.openlca.app.editors.ModelPage;
import org.openlca... |
<<<<<<<
private CalculationAction calculationAction = new CalculationAction();
private EditAction editAction = new EditAction();
=======
private Logger log = LoggerFactory.getLogger(getClass());
>>>>>>>
private CalculationAction calculationAction = new CalculationAction();
private EditAction editAction = new... |
<<<<<<<
if (!dir.isDirectory() && dir.isFile()) {
LOGGER.severe("--frame-path is set to a file, not a directory.");
System.exit(1);
=======
if (!dir.isDirectory()) {
throw new AndrolibException("--frame-path is set to a file, not a directory.");
>>>>>>>
if ... |
<<<<<<<
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Init;
=======
import cpw.mods.fml.common.Mod.EventHandler;
>>>>>>>
import cpw.mods.fml.common.Mod.EventHandler;
<<<<<<<
import cpw.mods.fml.common.Mod.PostInit;
=======
>>>>>>> |
<<<<<<<
private Boolean generateCodeForExpenseSheets = true;
=======
/**
* Currency code according to ISO-4217 (3 letters)
*/
private String currencyCode = "EUR";
private String currencySymbol = "€";
>>>>>>>
private Boolean generateCodeForExpenseSheets = true;
/**
* Currency... |
<<<<<<<
import org.navalplanner.business.orders.daos.IOrderDAO;
=======
import org.navalplanner.business.common.exceptions.ValidationException;
>>>>>>>
import org.navalplanner.business.common.exceptions.ValidationException;
import org.navalplanner.business.orders.daos.IOrderDAO;
<<<<<<<
=======
import org.navalpl... |
<<<<<<<
boolean hasImputedExpenseSheets(OrderElement order);
=======
void removeAskedEndDate(EndDateCommunication endDate);
SortedSet<EndDateCommunication> getEndDates();
void addAskedEndDate(Date value);
boolean alreadyExistsRepeatedEndDate(Date value);
>>>>>>>
boolean hasImputedExpense... |
<<<<<<<
formBinder = allocationRows.createFormBinder(planningState
.getCurrentScenario(), resourceAllocationModel);
=======
formBinder = allocationRows
.createFormBinder(resourceAllocationModel);
formBinder.setAllOriginalHours(allOriginalHou... |
<<<<<<<
if (newOrderVersionNeeded) {
OrderVersion newVersion = OrderVersion
.createInitialVersion(currentScenario);
reattachAllTaskSources();
order.writeSchedulingDataChangesTo(currentScenario, newVersion);
createAndSaveNewOrderVersion(scenario... |
<<<<<<<
=======
adjustZoomColumnsHeight();
adjustZoomPositionScroll();
>>>>>>>
adjustZoomColumnsHeight();
adjustZoomPositionScroll();
<<<<<<<
=======
public void adjustZoomColumnsHeight() {
response("adjust_height", new Au... |
<<<<<<<
public abstract EffortDuration getTheoreticalCompletedTimeUntilDate(Date date);
public BigDecimal getTheoreticalAdvancePercentageUntilDate(Date date) {
EffortDuration totalAllocatedTime = AggregateOfDayAssignments.create(
this.getDayAssignments()).getTotalTime();
EffortD... |
<<<<<<<
@Autowired
private IScenarioManager scenarioManager;
private Scenario currentScenario;
=======
private List<Order> ordersToShow;
private Date filterStartDate;
private Date filterFinishDate;
>>>>>>>
@Autowired
private IScenarioManager scenarioManager;
private Scenario ... |
<<<<<<<
private void appendDetails(Row row, TaskQualityForm taskQualityForm)
throws ClassNotFoundException, InstantiationException, IllegalAccessException {
=======
private void showInformativeMessage(String message) {
try {
Messagebox.show(_(message), _("Delete"), Messagebox.OK,
... |
<<<<<<<
import android.graphics.Color;
=======
>>>>>>>
import android.graphics.Color;
<<<<<<<
import androidx.annotation.Nullable;
import androidx.cardview.widget.CardView;
import androidx.core.content.ContextCompat;
import androidx.core.widget.NestedScrollView;
import androidx.appcompat.widget.AppCompatButton;
==... |
<<<<<<<
public boolean isSubcontractedProject() {
return (getOrder() != null) ? (getOrder().getExternalCode() != null)
: false;
}
public String getProjectType() {
return (isSubcontractedProject()) ? "Subcontracted by client"
: "Regular project";
}
p... |
<<<<<<<
protected final void addingAssignments(Collection<? extends T> assignments) {
getDayAssignmentsState().addingAssignments(assignments);
}
=======
public void removeLimitingDayAssignments() {
allocateLimitingDayAssignments(Collections.<T>emptyList());
}
public void allocateL... |
<<<<<<<
public boolean isZero() {
return directChargedEffort.isZero() && indirectChargedEffort.isZero();
}
=======
public void reset() {
directChargedEffort = EffortDuration.zero();
indirectChargedEffort = EffortDuration.zero();
}
>>>>>>>
public boolean isZero() {
... |
<<<<<<<
private transient IZoomLevelChangedListener zoomLevelChangedListener;
=======
private LocalDate previousStart;
private Interval previousInterval;
>>>>>>>
private transient IZoomLevelChangedListener zoomLevelChangedListener;
private LocalDate previousStart;
private Interval previo... |
<<<<<<<
import org.navalplanner.business.planner.entities.GenericDayAssignment;
import org.navalplanner.business.planner.entities.SpecificDayAssignment;
import org.navalplanner.business.scenarios.entities.Scenario;
=======
import org.navalplanner.business.resources.entities.Resource;
>>>>>>>
import org.navalplanner.... |
<<<<<<<
import org.navalplanner.business.orders.daos.IOrderDAO;
=======
import org.navalplanner.business.planner.daos.IConsolidationDAO;
import org.navalplanner.business.planner.daos.IDayAssignmentDAO;
>>>>>>>
import org.navalplanner.business.orders.daos.IOrderDAO;
import org.navalplanner.business.planner.daos.ICons... |
<<<<<<<
Scenario currentScenario = scenarioManager.getCurrent();
if (!order.isUsingTheOwnerScenario()) {
createAndSaveNewOrderVersion(currentScenario);
}
=======
subcontractedTaskDataDAO.removeOrphanedSubcontractedTaskData();
>>>>>>>
Scenario currentScenario = scen... |
<<<<<<<
private static final String[] CLIENT_SKIPHEADERS = {HASH_HEADER, DEST64_HEADER, DEST32_HEADER};
private static final String SERVER_HEADER = "Server";
private static final String[] SERVER_SKIPHEADERS = {SERVER_HEADER};
=======
private static final long HEADER_TIMEOUT = 60*1000;
private fin... |
<<<<<<<
import org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation;
import org.zkoss.ganttz.util.WeakReferencedListeners;
=======
import org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation;
import org.zkoss.ganttz.util.OnZKDesktopRegistry;
import org.zkoss.ganttz.util.WeakReferencedListeners;
>>>>>>>
i... |
<<<<<<<
private void initializeComponents() {
// Initialize criteria tree
=======
private void initializeComponents() {
initializeCriteriaTree();
initializeListboxResources();
initializeAllocationTypeSelector();
}
private void initializeCriteriaTree() {
>>>>>>>
p... |
<<<<<<<
public boolean hasTimesheetsReportingHours() {
if (sumChargedEffort == null) {
return false;
}
return sumChargedEffort.getFirstTimesheetDate() != null;
}
public boolean isFinishedTimesheets() {
if (sumChargedEffort == null) {
return false;
... |
<<<<<<<
public LDAPConfiguration getLdapConfiguration() {
return ldapConfiguration;
}
public void setLdapConfiguration(LDAPConfiguration ldapConfiguration) {
this.ldapConfiguration = ldapConfiguration;
}
=======
public Boolean isAutocompleteLogin() {
return this.autocomple... |
<<<<<<<
public static float px2dp(float px) {
if (isInitialzed)
return (float) ((px / displayMetrics.density) + 0.5);
=======
public static boolean isTablet() {
Log.i("this device DeviceInfo.screenSize: " + DeviceInfo.screenSize + " " + DeviceInfo.displayDensity);
Log.i("th... |
<<<<<<<
public static final TipoEvento S1200 = new TipoEvento(1200l);
=======
public static final TipoEvento S2399 = new TipoEvento(2399l);
>>>>>>>
public static final TipoEvento S2399 = new TipoEvento(2399l);
public static final TipoEvento S1200 = new TipoEvento(1200l);
<<<<<<<
public static final T... |
<<<<<<<
=======
import org.esa.snap.core.util.StringUtils;
import org.esa.snap.core.util.SystemUtils;
>>>>>>>
import org.esa.snap.core.util.StringUtils;
import org.esa.snap.core.util.SystemUtils;
<<<<<<<
import java.util.logging.Logger;
=======
import java.util.HashSet;
import java.util.Set;
>>>>>>>
import java.... |
<<<<<<<
import org.esa.snap.ui.tooladapter.actions.EscapeAction;
=======
import org.esa.snap.ui.AppContext;
import org.esa.snap.ui.ModelessDialog;
>>>>>>>
import org.esa.snap.ui.tooladapter.actions.EscapeAction;
import org.esa.snap.ui.AppContext;
import org.esa.snap.ui.ModelessDialog; |
<<<<<<<
import org.esa.snap.framework.gpf.descriptor.*;
import org.esa.snap.framework.gpf.operators.tooladapter.ToolAdapterIO;
import org.esa.snap.framework.gpf.operators.tooladapter.ToolAdapterOp;
import org.esa.snap.framework.ui.AppContext;
import org.esa.snap.framework.ui.ModalDialog;
import org.esa.snap.framework.u... |
<<<<<<<
if(other.getTeamID() == tile.getTeamID() && !healed.contains(other.packedPosition()) && other.entity != null && other.entity.health < other.entity.maxHealth()){
other.entity.healBy(other.entity.maxHealth() * (healPercent + entity.phaseHeat*phaseBoost)/100f * entity.po... |
<<<<<<<
reload = 30f;
roundrobin = true;
inaccuracy = 6f;
velocityRnd = 0.1f;
ejectEffect = Fx.none;
bullet = new HealBulletType(){{
healPercent = 3f;
/... |
<<<<<<<
import io.anuke.mindustry.io.Platform;
import io.anuke.mindustry.net.EditLog;
=======
import io.anuke.mindustry.core.Platform;
>>>>>>>
import io.anuke.mindustry.core.Platform;
import io.anuke.mindustry.net.EditLog;
<<<<<<<
=======
import io.anuke.ucore.util.OS;
>>>>>>>
import io.anuke.ucore.util.OS; |
<<<<<<<
powerCapacity = 50f;
=======
consumes.powerBuffered(50f);
shadow = "shadow-rounded-2";
>>>>>>>
consumes.powerBuffered(50f);
<<<<<<<
powerCapacity = 80f;
=======
consumes.powerBuffered(80f);
shadow = "shadow-rounded-2";
>>... |
<<<<<<<
import io.anuke.arc.Core;
import io.anuke.arc.Events;
import io.anuke.arc.collection.IntArray;
import io.anuke.arc.collection.IntSet;
import io.anuke.arc.collection.IntSet.IntSetIterator;
import io.anuke.arc.collection.ObjectSet;
import io.anuke.arc.graphics.Camera;
import io.anuke.arc.graphics.GL20;
import io.... |
<<<<<<<
/**Download a file. Only used on GWT backend.*/
public void downloadFile(String name, byte[] bytes){}
/**Open a file chooser. Only used on GWT backend.*/
public void openFile(Consumer<InputStream> cons){}
=======
/**Show a file chooser. Desktop only.
*
* @param text File chooser title text
... |
<<<<<<<
=======
import io.anuke.mindustry.world.blocks.types.defense.Turret;
import io.anuke.ucore.core.Core;
>>>>>>>
import io.anuke.mindustry.world.blocks.types.defense.Turret;
<<<<<<<
=======
import io.anuke.ucore.core.Settings;
import io.anuke.ucore.graphics.CacheBatch;
>>>>>>>
import io.anuke.ucore.core.Set... |
<<<<<<<
import io.anuke.arc.ApplicationListener;
import io.anuke.arc.Core;
import io.anuke.arc.entities.Effects;
import io.anuke.arc.entities.EntityDraw;
import io.anuke.arc.entities.EntityGroup;
import io.anuke.arc.entities.impl.EffectEntity;
import io.anuke.arc.entities.trait.DrawTrait;
import io.anuke.arc.entities.t... |
<<<<<<<
=======
import io.anuke.mindustry.world.Tile;
import io.anuke.ucore.core.Events;
>>>>>>>
<<<<<<<
Block block = Placement.breakBlock(placer.team, packet.x, packet.y, true, false);
=======
Tile tile = world.tile(packet.x, packet.y);
if(tile.synthetic() && !admins.validat... |
<<<<<<<
=======
import io.anuke.ucore.core.*;
import io.anuke.ucore.entities.EntityQuery;
import io.anuke.ucore.graphics.Draw;
import io.anuke.ucore.modules.Module;
import io.anuke.ucore.util.Atlas;
import io.anuke.ucore.util.Bundles;
import io.anuke.ucore.util.Strings;
import io.anuke.ucore.util.Timer;
>>>>>>>
<<<... |
<<<<<<<
consumes.powerDirect(0.08f);
consumes.items(new ItemStack[]{new ItemStack(Items.silicon, 30), new ItemStack(Items.lead, 30)});
=======
consumes.power(0.08f);
consumes.items(new ItemStack(Items.silicon, 30), new ItemStack(Items.lead, 30));
>>>>>>>
co... |
<<<<<<<
if((floor.id <= cur.id && !(tile.getElevation() != -1 && other.getElevation() > tile.getElevation())) || (!cur.blends.test(floor) && !cur.tileBlends.test(tile, other)) || (floor.cacheLayer.ordinal() > cur.cacheLayer.ordinal() && !sameLayer) ||
(sameLayer && floor.cacheLayer == cu... |
<<<<<<<
import io.anuke.arc.scene.ui.layout.Table;
=======
>>>>>>> |
<<<<<<<
result = world.maps().all().random();
=======
while(result == null || !result.visible)
result = world.maps().getAllMaps().random();
Log.info("&ly&fiNo map specified, so &lb{0}&ly was chosen randomly.", result.name);
>>>>>>>
r... |
<<<<<<<
import mindustry.entities.units.*;
=======
import mindustry.entities.*;
import mindustry.entities.traits.BuilderTrait.*;
import mindustry.entities.traits.*;
import mindustry.entities.type.*;
>>>>>>>
import mindustry.entities.units.*;
<<<<<<<
if(admins.getPlayerLimit() > 0 && Groups.player.size()... |
<<<<<<<
shadowRegion = Core.atlas.find(shadow == null ? "shadow-" + size : shadow);
region = Core.atlas.find(name);
=======
region = Draw.region(name);
>>>>>>>
region = Core.atlas.find(name);
<<<<<<<
region.setWidth(8);
region.setHeight(8);
=======
region.se... |
<<<<<<<
public void deconstruct(Unitc builder, @Nullable Tilec core, float amount){
float deconstructMultiplier = 0.5f;
=======
public void deconstruct(Unit builder, @Nullable TileEntity core, float amount){
float deconstructMultiplier = state.rules.deconstructRefundMultiplier;... |
<<<<<<<
button.table(t -> {
t.right();
t.addImageButton("icon-floppy", "emptytoggle", iconsize, () -> {
slot.setAutosave(!slot.isAutosave());
}).checked(slot.isAutosave()).right();
t.addImageButton("icon-trash", "empty", i... |
<<<<<<<
Call.sendMessage(Strings.format("[orange]{0}[lightgray] has voted to kick[orange] {1}[].[accent] ({2}/{3})\n[lightgray]Type[orange] /vote <y/n>[] to agree.",
player.name(), target.name(), votes, votesRequired()));
=======
Call.sendMessage(Strings.for... |
<<<<<<<
return outputLiquid == null || !(tile.entity.liquids().get(outputLiquid.liquid) >= liquidCapacity);
=======
return outputLiquid == null || !(tile.entity.liquids.get(outputLiquid.liquid) >= liquidCapacity - 0.001f);
>>>>>>>
return outputLiquid == null || !(tile.entity.liquids().get(out... |
<<<<<<<
public boolean hasSubtypeOf(Class<? extends Consume> type){
for(Consume consume : all()){
if(type.isAssignableFrom(consume.getClass())){
return true;
}
}
return false;
}
=======
@SuppressWarnings("unchecked")
>>>>>>>
public bool... |
<<<<<<<
import javax.inject.Inject;
import javax.inject.Singleton;
=======
import javax.inject.Inject;
>>>>>>>
import javax.inject.Inject;
import javax.inject.Singleton;
<<<<<<<
=======
@Inject
Context context;
private SharedPreferences pref;
private static final int PRIVATE_MODE = 0;
>>>>>... |
<<<<<<<
private final Monitoring monitoring;
public MonitoringServlet(Monitoring monitoring) {
this.monitoring = monitoring;
}
=======
private Monitoring monitoring;
private MetricSearch metricSearch;
private boolean allowColdRun = false;
>>>>>>>
private final Monitoring monito... |
<<<<<<<
if (getTileData().hasKey(BlockGarageKit.NBT.MODEL.getName())) {
location = getTileData().getString(BlockGarageKit.NBT.MODEL.getName());
} else {
location = null;
=======
if (getTileData().hasKey(BlockGarageKit.NBT.MODEL_ID.getName())) {
modelId = get... |
<<<<<<<
List<AuResponse> responses = uv.getResponses();
=======
List responses = getResponses(exec, uv, errs);
>>>>>>>
List<AuResponse> responses = getResponses(exec, uv, errs);
<<<<<<<
cleaned = true;
final List<Throwable> errs = new LinkedList<Throwable>();
=======
final List errs = new Linked... |
<<<<<<<
private final Component _dummy = new AbstractComponent();
private final List<ListenerInfo> _listenerInfos = new LinkedList<ListenerInfo>();
=======
private static final String ON_QUEUE = "onQueue";
/** A dummy target for handling onQueue. */
private final Component _dummyTarget = new AbstractComponent()... |
<<<<<<<
private List<VariableResolver> _resolvers;
/** Whether onPiggyback is checked for this execution. */
private boolean _piggybacked;
=======
>>>>>>>
private List<VariableResolver> _resolvers;
<<<<<<<
if (!_evtInfos.isEmpty())
return _evtInfos.remove(0).event;
}
=======
if (!_evtInfos.isEmpty(... |
<<<<<<<
private transient CacheMap<String, Media> _meds;
=======
private CacheMap _meds;
>>>>>>>
private CacheMap<String, Media> _meds; |
<<<<<<<
/** Sets the type of the sorter.
* You might specify either "auto", "auto(FIELD_NAME1[,FIELD_NAME2] ...)"(since 3.5.3) or "none".
*
* <p>If "client" or "client(number)" is specified,
* the sort functionality will be done by Javascript at client without notifying
* to server, that is, the order of the... |
<<<<<<<
return _attrs.get(Attributes.INCLUDE_CONTEXT_PATH);
=======
return _hreq != null ? _hreq.getContextPath(): (String)_attrs.get(Attributes.INCLUDE_CONTEXT_PATH);
>>>>>>>
return _hreq != null ? _hreq.getContextPath(): _attrs.get(Attributes.INCLUDE_CONTEXT_PATH);
<<<<<<<
return _attrs.get(Attributes.INC... |
<<<<<<<
Class<? extends Component> cls, String macroURI, boolean inline) {
=======
Class cls, String macroURI, String compose, boolean inline) {
>>>>>>>
Class<? extends Component> cls, String macroURI, String compose, boolean inline) { |
<<<<<<<
/** Returns HTML tags to include JavaScript files of the specified
* device for the current application (never null).
* @since 5.0.0
*/
public static final String outDeviceJavaScripts(ServletContext ctx,
HttpServletRequest request, HttpServletResponse response,
String deviceType) {
Execution old... |
<<<<<<<
private final List<ListenerInfo> _listeners = new LinkedList<ListenerInfo>();
=======
private final List _listenerInfos = new LinkedList();
>>>>>>>
private final List<ListenerInfo> _listenerInfos = new LinkedList<ListenerInfo>();
<<<<<<<
for (Iterator<ListenerInfo> it = _listeners.iterator();;) {
=... |
<<<<<<<
import java.util.Iterator;
import java.io.StringWriter;
=======
import java.util.Calendar;
>>>>>>>
import java.util.Iterator;
import java.io.StringWriter;
import java.util.Calendar;
<<<<<<<
import org.zkoss.util.logging.Log;
import org.zkoss.web.servlet.Servlets;
import org.zkoss.web.servlet.http.HttpBuf... |
<<<<<<<
public class Panel extends XulElement implements Framable {
private transient Toolbar _tbar, _bbar, _fbar;
private transient Panelchildren _panelchildren;
private transient Caption _caption;
=======
public class Panel extends XulElement implements org.zkoss.zul.api.Panel, Framable {
private Toolbar _tbar,... |
<<<<<<<
import com.mycelium.wapi.wallet.coins.families.Families;
public abstract class AbstractAsset implements AssetInfo {
protected Families family;
=======
public abstract class AbstractAsset implements GenericAssetInfo {
>>>>>>>
public abstract class AbstractAsset implements AssetInfo { |
<<<<<<<
@SuppressWarnings("unchecked")
=======
public Object getExtraCtrl() {
return new ExtraCtrl();
}
/** A utility class to implement {@link #getExtraCtrl}.
* It is used only by component developers.
*
* <p>If a component requires more client controls, it is suggested to
* override {@link #getEx... |
<<<<<<<
return _zclass != null ? _zclass: "z-caption";
=======
return _zclass == null ? "z-caption" : _zclass;
}
public String getOuterAttrs() {
final String attrs = super.getOuterAttrs();
final String clkattrs = getAllOnClickAttrs();
return clkattrs == null ? attrs: attrs + clkattrs;
>>>>>>>
return _z... |
<<<<<<<
public class Comboitem extends LabelImageElement {
=======
public class Comboitem extends LabelImageElement
implements org.zkoss.zul.api.Comboitem, org.zkoss.zk.ui.ext.Disable {
>>>>>>>
public class Comboitem extends LabelImageElement
implements org.zkoss.zk.ui.ext.Disable { |
<<<<<<<
public void setParent(Component parent) {
=======
public String getOuterAttrs() {
String outer = super.getOuterAttrs();
if (!Strings.isBlank(_label))
outer += " z.label=\"true\"";
return outer;
}
public void beforeParentChanged(Component parent) {
>>>>>>>
public void beforeParentChanged(Compo... |
<<<<<<<
public class DelegatingVariableResolver implements VariableResolver {
private static final Log log = Log.lookup(DelegatingVariableResolver.class);
=======
public class DelegatingVariableResolver implements VariableResolver, java.io.Serializable {
>>>>>>>
public class DelegatingVariableResolver implements ... |
<<<<<<<
public static final int BCH_ACTION = 1;
public static final int ALTCOIN_ACTION = 2;
public static final int BTC_ACTION = 3;
public static final int FIOPRESALE_ACTION = 6;
private MbwManager _mbwManager;
=======
public enum ACTION {
BCH, ALT_COIN, BTC, FIO
}
private MbwM... |
<<<<<<<
import com.mycelium.wapi.wallet.btc.WalletManagerBacking;
import com.mrd.bitlib.crypto.BipDerivationType;
import com.mycelium.wapi.wallet.btc.bip44.HDAccountContext;
import com.mycelium.wapi.wallet.btc.bip44.HDAccountContext.AccountIndexesContext;
import com.mycelium.wapi.wallet.btc.single.SingleAddressAccountC... |
<<<<<<<
=======
import org.zkoss.web.fn.ThemeFns;
import org.zkoss.web.theme.ThemeRegistry;
import org.zkoss.web.theme.ThemeResolver;
>>>>>>>
import org.zkoss.web.fn.ThemeFns;
import org.zkoss.web.theme.ThemeRegistry;
import org.zkoss.web.theme.ThemeResolver;
<<<<<<<
// ZK-1671: ThemeProvider defined in metainfo/z... |
<<<<<<<
final URL url = getExtendletContext().getResource(src);
return url != null ? url.openConnection().getLastModified(): -1;
=======
final URL url = getExtendletContext().getResource((String)src);
if (url != null) {
final long v = url.openConnection().getLastModified();
return v != -1 ? v: 0; ... |
<<<<<<<
import com.mycelium.wapi.wallet.btc.coins.BitcoinMain;
import com.mycelium.wapi.wallet.btc.coins.BitcoinTest;
=======
import com.mycelium.wapi.wallet.coins.BitcoinMain;
import com.mycelium.wapi.wallet.coins.CryptoCurrency;
>>>>>>>
import com.mycelium.wapi.wallet.btc.coins.BitcoinMain; |
<<<<<<<
=======
*
>>>>>>>
* |
<<<<<<<
public void setParent(Component parent) {
=======
public String getZclass() {
return _zclass == null ? "z-splitter" +
("vertical".equals(getOrient()) ? "-ver" : "-hor") : _zclass;
}
public String getOuterAttrs() {
final StringBuffer sb =
new StringBuffer(80).append(super.getOuterAttrs());
a... |
<<<<<<<
final Class cls = getDevice().getServerPushClass();
if (cls == null)
throw new UiException("No server push defined. Make sure you are using ZK PE or EE, or you have configured your own implementation");
_spush = (ServerPush)((WebAppCtrl)_wapp).getUiFactory().newServerPush(cls, this);
=======
... |
<<<<<<<
final Map<String, Object> old = setupDynams(exec);
final String oldSrc = (String) exec.getAttribute(ATTR_RENDERED);
if (!Objects.equals(oldSrc, _src)) {
try {
final int j = _src.indexOf('?');
exec.createComponents(j >= 0 ? _src.substring(0, j) : _src,
this, null);
// TODO: co... |
<<<<<<<
return _zclass != null ? _zclass: "z-label";
=======
return _zclass == null ? "z-label" : _zclass;
}
//-- Component --//
public void invalidate() {
if (isIdRequired()) super.invalidate();
else getParent().invalidate();
}
public void redraw(Writer out) throws IOException {
if (isIdRequired()) su... |
<<<<<<<
public interface TreeModel<E> {
=======
public interface TreeModel {
>>>>>>>
public interface TreeModel<E> {
<<<<<<<
public int getChildCount(E parent);
=======
public int getChildCount(Object parent);
/**
* Returns the index of child in parent.
* If either parent or child is null, returns -1.... |
<<<<<<<
=======
// click-filter-delay
// disable-behind-modal
>>>>>>>
// click-filter-delay |
<<<<<<<
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.Execution;
import org.zkoss.zk.ui.Desktop;
=======
import org.zkoss.zk.ui.Page;
>>>>>>>
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.Execution;
import org.zkoss.zk.ui.Page;
<<<<<<<
final Execution exec = Executions.getCurrent();
i... |
<<<<<<<
* <dt>extension0, extension1...</dt>
* <dd>It specifies an AU extension ({@link AuExtension}).
* The extension0 parameter specifies
* the first AU extension, the extension1 parameter the second AU extension,
=======
* <dt>compress</dt>
* <dd>It specifies whether to compress the output if the browser sup... |
<<<<<<<
import org.zkoss.lang.D;
import org.zkoss.lang.Library;
=======
>>>>>>>
import org.zkoss.lang.Library;
<<<<<<<
if (D.ON && log.debugable()) log.debug("Create desktop for "+path);
request.setAttribute(ATTR_DESKTOP,
=======
if (log.debugable()) log.debug("Create desktop for "+path);
setRequestLo... |
<<<<<<<
Class<? extends Component> cls, String macroURI, String compose, boolean inline) {
=======
Class cls, String macroURI, boolean inline) {
>>>>>>>
Class<? extends Component> cls, String macroURI, boolean inline) { |
<<<<<<<
return _zclass != null ? _zclass: isVertical() ? "z-vbox" : "z-hbox";
=======
return _zclass == null ? isVertical() ? "z-vbox" : "z-hbox" : _zclass;
}
//-- Component --//
public boolean insertBefore(Component newChild, Component refChild) {
//Bug 1828702: onChildAdded not called if only moved
if (s... |
<<<<<<<
public ListIterator<E> listIterator() {
return _list.listIterator();
=======
public ListIterator listIterator() {
return listIterator(0);
>>>>>>>
public ListIterator<E> listIterator() {
return listIterator(0); |
<<<<<<<
db = WalletDB.Companion.invoke(driver, AdaptersKt.getAccountBackingAdapter(), AdaptersKt.getAccountContextAdapter(),
AdaptersKt.getEthAccountBackingAdapter(), AdaptersKt.getEthContextAdapter(), AdaptersKt.getFeeEstimatorAdapter());
=======
db = WalletDB.Companion.invoke(driver,... |
<<<<<<<
public class Grid extends MeshElement implements Paginated {
=======
public class Grid extends MeshElement implements org.zkoss.zul.api.Grid {
>>>>>>>
public class Grid extends MeshElement {
<<<<<<<
private String _pagingPosition = "bottom";
private transient ListModel<?> _model;
=======
private transi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.