conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
final String delimiterPrintClose, final String delimiterInterpolationOpen,
final String delimiterInterpolationClose, final String whitespaceTrim) {
=======
final String delimiterPrintClose, final String whitespaceTrim, final boolean enableNewLineTrimming) {
>>>>>>>
... |
<<<<<<<
import java.util.Collection;
import java.util.Map;
import com.mitchellbosecke.pebble.error.PebbleException;
import com.mitchellbosecke.pebble.template.EvaluationContextImpl;
=======
import com.mitchellbosecke.pebble.template.EvaluationContext;
>>>>>>>
import com.mitchellbosecke.pebble.error.PebbleException;... |
<<<<<<<
T evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) throws PebbleException;
=======
T evaluate(PebbleTemplateImpl self, EvaluationContext context);
>>>>>>>
T evaluate(PebbleTemplateImpl self, EvaluationContextImpl context); |
<<<<<<<
public Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) throws PebbleException {
=======
public Object evaluate(PebbleTemplateImpl self, EvaluationContext context) {
>>>>>>>
public Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) { |
<<<<<<<
EvaluationContextImpl context = initContext(null);
evaluate(writer, context);
=======
EvaluationContext context = this.initContext(null);
this.evaluate(writer, context);
>>>>>>>
EvaluationContextImpl context = this.initContext(null);
this.evaluate(writer, conte... |
<<<<<<<
public Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) throws PebbleException {
=======
public Object evaluate(PebbleTemplateImpl self, EvaluationContext context) {
>>>>>>>
public Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) { |
<<<<<<<
import com.github.benmanes.caffeine.cache.Cache;
import com.mitchellbosecke.pebble.cache.BaseTagCacheKey;
=======
import com.mitchellbosecke.pebble.cache.CacheKey;
>>>>>>>
import com.mitchellbosecke.pebble.cache.CacheKey;
<<<<<<<
import java.util.Locale;
import java.util.concurrent.CompletionException;
imp... |
<<<<<<<
public void render(final PebbleTemplateImpl self, Writer writer, final EvaluationContextImpl context)
throws PebbleException, IOException {
=======
public void render(final PebbleTemplateImpl self, Writer writer, final EvaluationContext context) throws IOException {
>>>>>>>
public voi... |
<<<<<<<
public void render(PebbleTemplateImpl self, Writer writer, EvaluationContextImpl context) throws PebbleException,
IOException {
=======
public void render(PebbleTemplateImpl self, Writer writer, EvaluationContext context) throws IOException {
>>>>>>>
public void render(PebbleTemplateI... |
<<<<<<<
public void render(final PebbleTemplateImpl self, Writer writer, final EvaluationContextImpl context)
throws IOException, PebbleException {
=======
public void render(final PebbleTemplateImpl self, Writer writer, final EvaluationContext context) throws IOException {
>>>>>>>
public voi... |
<<<<<<<
=======
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
>>>>>>>
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
<<<<<<<
* Extensions
*/
... |
<<<<<<<
=======
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
>>>>>>>
<<<<<<<
... |
<<<<<<<
import com.mitchellbosecke.pebble.error.PebbleException;
import com.mitchellbosecke.pebble.template.EvaluationContextImpl;
=======
import com.mitchellbosecke.pebble.template.EvaluationContext;
>>>>>>>
import com.mitchellbosecke.pebble.template.EvaluationContextImpl; |
<<<<<<<
if (findEntriesMethod == null || persistMethodAdditions == null || flushMethod == null || findMethod == null || identifierAccessorMethod == null) {
=======
if (findEntriesMethod == null || persistMethod == null || flushMethod == null || findMethod == null) {
>>>>>>>
if (findEntriesMethod == null || per... |
<<<<<<<
// Fields
@Reference private TypeLocationService typeLocationService;
@Reference private ConversionServiceOperations conversionServiceOperations;
=======
>>>>>>> |
<<<<<<<
=======
type.setOverwriteConcrete(true);
>>>>>>>
type.setOverwriteConcrete(true);
<<<<<<<
dataDictionary.setVariable("placePackage", GwtPath.SCAFFOLD_PLACE.packageName(projectMetadata));
dataDictionary.setVariable("sharedScaffoldPackage", GwtPath.SHARED_SCAFFOLD.packageName(projectMetad... |
<<<<<<<
import org.springframework.roo.classpath.operations.Cardinality;
=======
import org.springframework.roo.classpath.operations.ClasspathOperations;
>>>>>>>
import org.springframework.roo.classpath.operations.Cardinality;
import org.springframework.roo.classpath.operations.ClasspathOperations;
<<<<<<<
import j... |
<<<<<<<
import java.util.concurrent.CompletableFuture;
import javafx.beans.property.IntegerProperty;
=======
import javafx.application.Platform;
import javafx.beans.binding.Bindings;
import javafx.beans.property.IntegerProperty;
>>>>>>>
import java.util.concurrent.CompletableFuture;
import javafx.beans.property.Inte... |
<<<<<<<
// handle drawer changes
drawerShown.addListener((observable, oldDrawer, newDrawer) -> {
if (!Objects.isNull(oldDrawer)) {
hideOverlay(oldDrawer);
}
if (!Objects.isNull(newDrawer)) {
showOverlay(newDrawer, false);
}
});
=======
// when control of navi... |
<<<<<<<
=======
private void initAmountOfPagesBinding() {
amountOfPages.bind(
Bindings.createIntegerBinding(this::calculateAmountOfPages,
modulesPerPageProperty(), getModules()
)
);
}
@Override
protected Skin<?> createDefaultSkin() {
return new WorkbenchSkin(this);
}... |
<<<<<<<
import com.dlsc.workbenchfx.view.controls.NavigationDrawer;
=======
import com.dlsc.workbenchfx.test.TestModule;
import com.dlsc.workbenchfx.view.controls.Dropdown;
>>>>>>>
import com.dlsc.workbenchfx.view.controls.NavigationDrawer;
import com.dlsc.workbenchfx.test.TestModule;
import com.dlsc.workbenchfx.vie... |
<<<<<<<
import org.n52.iceland.ogc.swe.SweConstants.SweDataComponentType;
=======
import org.n52.sos.ogc.ows.OwsExceptionReport;
>>>>>>>
import org.n52.iceland.exception.ows.OwsExceptionReport;
import org.n52.iceland.ogc.swe.SweConstants.SweDataComponentType;
<<<<<<<
=======
import org.n52.sos.ogc.swe.SweConstant... |
<<<<<<<
=======
private final ObservableList<WorkbenchModule> openModules;
>>>>>>>
private final ObservableList<WorkbenchModule> openModules;
<<<<<<<
// Binds content of the SelectionStrip to the Workbench content
view.tabBar.itemsProperty().bindContentBidirectional(model.openModulesProperty());
... |
<<<<<<<
new WebModule("DLSC", MaterialDesignIcon.WEB,"http://dlsc.com"),
new WebModule("Notepad", MaterialDesignIcon.NOTE, "https://docs.google.com"),
new WebModule("Documentation", MaterialDesignIcon.BOOK, DOCUMENTATION_PATH),
new ToolbarTestModule(),
new To... |
<<<<<<<
.modulesPerPage(4)
//.pageFactory(CustomPage::new)
//.tabFactory(CustomTab::new)
//.tileFactory(CustomTile::new)
//.navigationDrawer(new CustomNavigationDrawer())
=======
.modulesPerPage(9)
.pageFactory(CustomPage::new)
... |
<<<<<<<
import javafx.application.Platform;
=======
import javafx.beans.binding.Bindings;
>>>>>>>
import javafx.application.Platform;
import javafx.beans.binding.Bindings; |
<<<<<<<
public Callback<Workbench, Tab> getTabFactory() {
return tabFactory.get();
}
public ObjectProperty<Callback<Workbench, Tab>> tabFactoryProperty() {
return tabFactory;
}
public void setTabFactory(Callback<Workbench, Tab> tabFactory) {
this.tabFactory.set(tabFactory);
}
public Callbac... |
<<<<<<<
// 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... |
<<<<<<<
import javax.management.ListenerNotFoundException;
import java.util.ArrayList;
import java.util.Collection;
=======
>>>>>>>
import java.util.ArrayList;
import java.util.Collection;
<<<<<<<
DefaultMetadataService(final MetadataRepository repository, final ITypeStore typeStore,
... |
<<<<<<<
loadQuest(new AdMemoriaInPortfolio());
=======
//AdMemoriaInPortfolio
/** enable/disable */
loadQuest(new AdMemoriaInPortfolio());
>>>>>>>
/** enable/disable */
loadQuest(new AdMemoriaInPortfolio()); |
<<<<<<<
=======
public String getArtist() {
return Util.firstNotEmpty(artist, albumArtist);
}
public String getAlbum() {
return album;
}
public String getTitle() {
return Util.firstNotEmpty(title, getFileName());
}
public String getAlbumArtist() {
return ... |
<<<<<<<
import com.tulskiy.musique.gui.components.GroupTable;
import com.tulskiy.musique.gui.components.Separator;
import com.tulskiy.musique.gui.playlist.dnd.PlaylistTransferHandler;
=======
import com.tulskiy.musique.gui.dnd.PlaylistTransferHandler;
import com.tulskiy.musique.gui.grouptable.GroupTable;
import com.t... |
<<<<<<<
import static org.junit.Assert.*;
import java.io.File;
import java.sql.SQLException;
import org.junit.Test;
=======
>>>>>>>
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.sql.SQLException;
import org.junit.Test;
<<<<<<<
import com.splout.db.engine.ResultSerializer.Seriali... |
<<<<<<<
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.Serializable;
import java.util.List;
import org.junit.Test;
=======
>>>>>>>
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.Fi... |
<<<<<<<
import org.apache.commons.configuration.Configuration;
import com.splout.db.common.QueryResult;
=======
>>>>>>>
import com.splout.db.common.QueryResult; |
<<<<<<<
import io.vertx.circuitbreaker.CircuitBreaker;
import io.vertx.circuitbreaker.CircuitBreakerOptions;
import io.vertx.core.*;
import io.vertx.core.http.*;
import io.vertx.core.json.*;
import io.vertx.ext.web.*;
import io.vertx.ext.web.handler.CorsHandler;
import java.util.List;
import java.util.logging.Level;
i... |
<<<<<<<
import io.vertx.core.*;
import io.vertx.core.http.*;
import io.vertx.core.json.*;
import io.vertx.ext.web.*;
import io.vertx.ext.web.handler.CorsHandler;
import java.util.List;
import java.util.logging.*;
import java.util.stream.Collectors;
=======
import io.vertx.core.http.HttpMethod;
import io.vertx.core.j... |
<<<<<<<
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Graphics;
=======
import com.badlogic.gdx.Input;
>>>>>>>
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Graphics;
import com.badlogic.gdx.Input; |
<<<<<<<
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
=======
>>>>>>>
import com.badlogic.gdx.Gdx; |
<<<<<<<
public static final float MAX_AWAIT = 6f;
private final ArrayList<SolUiControl> myControls;
private final SolUiControl myCloseCtrl;
private final ArrayList<String> myPages;
private final Color myColor;
private int myIdx;
private float myPerc;
public CreditsScreen(float r, GameOptions gameOptio... |
<<<<<<<
public SolApplication(ModuleManager moduleManager) {
=======
public SolApplication(float targetFPS) {
>>>>>>>
public SolApplication(ModuleManager moduleManager, float targetFPS) {
<<<<<<<
this.moduleManager = moduleManager;
=======
this.targetFPS = 1.0f / targetFPS;
res... |
<<<<<<<
MapScreen(RightPaneLayout rightPaneLayout, boolean mobile, float r, GameOptions gameOptions) {
Rectangle closeArea = mobile ? MainGameScreen.btn(0, MainGameScreen.HELPER_ROW_1, true) : rightPaneLayout.buttonRect(1);
=======
MapScreen(RightPaneLayout rightPaneLayout, boolean mobile, GameOptions... |
<<<<<<<
/**
* Adam's testing. Only print this many updates.
*/
int printCount = 50;
=======
>>>>>>>
<<<<<<<
// FIXME: Adam's testing
if(printCount == 0)
printCount = 50000;
=======
>>>>>>> |
<<<<<<<
inputMan.setScreen(solApplication, screens.mainGameScreen);
is.setOperations(is.chooseMercenary);
=======
inputMan.setScreen(solApplication, screens.mainScreen);
is.setOperations(is.chooseMercenaryScreen);
>>>>>>>
inputMan.setScr... |
<<<<<<<
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
=======
>>>>>>>
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
<<<<<<<
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOExceptio... |
<<<<<<<
=======
/**
* Facebook's REST path for the Messenger Profile API.
*
* @see <a href=
* "https://developers.facebook.com/docs/messenger-platform/messenger-profile"
* > Facebook's Messenger Profile Documentation</a>
*/
public static final String FACEBOOK_MESSENGER_PROFILE_URL = "me/mess... |
<<<<<<<
private BigDecimal amount;
=======
/** The amount. */
private double amount;
>>>>>>>
private BigDecimal amount;
<<<<<<<
public PriceInfo(String title, BigDecimal amount) {
=======
/**
* Instantiates a new price info.
*
* @param title the title
* @param amount the amount
*/
public PriceInf... |
<<<<<<<
private BigDecimal tax;
=======
/** The tax. */
private double tax;
>>>>>>>
/** The tax. */
private BigDecimal tax;
<<<<<<<
public AirlineItineraryTemplatePayload(String introMessage, String locale, String pnrNumber, BigDecimal totalPrice, String currency){
=======
/**
* Instantiates a new airlin... |
<<<<<<<
import org.apache.gossip.model.GossipDataMessage;
=======
>>>>>>>
import org.apache.gossip.model.GossipDataMessage; |
<<<<<<<
// Settings related to lock manager
private LockManagerSettings lockManagerSettings = LockManagerSettings
.getLockManagerDefaultSettings();
=======
private boolean bulkTransfer = false;
private int bulkTransferSize = StartupSettings.DEFAULT_BULK_TRANSFER_SIZE;
>>>>>>>
// Settings r... |
<<<<<<<
=======
import com.codenjoy.dojo.services.hero.GameMode;
import com.codenjoy.dojo.services.printer.PrinterFactory;
import com.codenjoy.dojo.startandjump.client.ai.VladKvadratSolver;
import com.codenjoy.dojo.startandjump.model.*;
>>>>>>>
import com.codenjoy.dojo.startandjump.client.ai.VladKvadratSolver;
impor... |
<<<<<<<
import com.codenjoy.dojo.services.Game;
import com.codenjoy.dojo.services.PrinterFactory;
import com.codenjoy.dojo.services.PrinterFactoryImpl;
import com.codenjoy.dojo.utils.TestUtils;
=======
import com.codenjoy.dojo.services.printer.PrinterFactory;
import com.codenjoy.dojo.services.printer.PrinterFactoryIm... |
<<<<<<<
public Game newGame(EventListener listener, PrinterFactory factory, String save, String playerName) {
boolean isTrainingMode = false; // TODO load from game_settings via GameDataController
if (!isTrainingMode) {
=======
public Game newGame(EventListener listener, PrinterFactory factory... |
<<<<<<<
=======
import com.codenjoy.dojo.services.hero.GameMode;
import com.codenjoy.dojo.services.printer.PrinterFactory;
import com.codenjoy.dojo.spacerace.client.ai.AlAnSolver;
import com.codenjoy.dojo.spacerace.model.*;
>>>>>>>
import com.codenjoy.dojo.spacerace.client.ai.AlAnSolver;
import com.codenjoy.dojo.spa... |
<<<<<<<
import com.codenjoy.dojo.services.chat.ChatData;
import com.codenjoy.dojo.services.chat.ChatService;
=======
>>>>>>>
import com.codenjoy.dojo.services.chat.ChatData;
import com.codenjoy.dojo.services.chat.ChatService;
<<<<<<<
import com.codenjoy.dojo.services.settings.Settings;
=======
import com.codenjoy... |
<<<<<<<
import com.codenjoy.dojo.utils.TestUtils;
=======
import com.codenjoy.dojo.services.printer.PrinterFactory;
import com.codenjoy.dojo.services.printer.PrinterFactoryImpl;
>>>>>>>
import com.codenjoy.dojo.utils.TestUtils;
import com.codenjoy.dojo.services.printer.PrinterFactory;
import com.codenjoy.dojo.servic... |
<<<<<<<
private static Intent msCreateNotificationIntent;
private static AlarmManager msAlarmManager;
private final static String kstrIntentToTriggerMapName = "IntentIDsToTriggerTime";
private final static String kstrIntentToNotificationMapName = "IntentIDsToNotificationIDs";
private final static String kstrAppO... |
<<<<<<<
import net.minecraft.util.EnumFacing;
=======
import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
>>>>>>>
import net.minecraft.util.EnumFacing;
import net.minecraft.util.StatCollector;
import net.minecraftforge.fml.common.ObfuscationReflectionHelper;
import... |
<<<<<<<
if(flower.mana == 0 || flower.redstoneSignal > 0 || flower.supertile.getWorld() != e.worldObj || flower.supertile.getWorld().getTileEntity(flower.supertile.getPos()) != flower.supertile)
=======
if(flower.redstoneSignal > 0 || flower.supertile.getWorldObj() != e.worldObj || flower.supertile.getWorldObj(... |
<<<<<<<
if(!supertile.getWorld().isRemote && ticksExisted % 5 == 0) {
int manaCost = 80;
if(mana >= manaCost) {
BlockPos coords = getCoordsToPut();
=======
if(!supertile.getWorldObj().isRemote && ticksExisted % 5 == 0) {
if(mana >= COST) {
ChunkCoordinates coords = getCoordsToPut();
>>>>>>>
if... |
<<<<<<<
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.client.renderer.texture.TextureMap;
=======
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.Entity;
>>>>>>>
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net... |
<<<<<<<
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.EnumFacing;
import org.lwjgl.opengl.GL11;
=======
>>>>>>>
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.EnumFacing;
import org.lwjgl.opengl.GL11; |
<<<<<<<
List<EntityItem> items = supertile.getWorld().getEntitiesWithinAABB(EntityItem.class, new AxisAlignedBB(supertile.getPos().add(-RANGE, -RANGE, -RANGE), supertile.getPos().add(RANGE + 1, RANGE + 1, RANGE + 1)));
=======
List<EntityItem> items = supertile.getWorldObj().getEntitiesWithinAABB(EntityItem.class... |
<<<<<<<
import baubles.common.Config;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
=======
>>>>>>>
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly; |
<<<<<<<
spawnExplosionParticles(item);
item.setPosition(bindPos.getX() + 0.5, bindPos.getY() + 1.5, bindPos.getZ() + 0.5);
=======
spawnExplosionParticles(item, 10);
item.setPosition(bindX + 0.5, bindY + 1.5, bindZ + 0.5);
>>>>>>>
spawnExplosionParticles(item, 10);
item.setPositio... |
<<<<<<<
TileAltar tile = (TileAltar) par1World.getTileEntity(pos);
tile.collideEntityItem((EntityItem) par5Entity);
=======
TileAltar tile = (TileAltar) par1World.getTileEntity(par2, par3, par4);
if(tile.collideEntityItem((EntityItem) par5Entity))
VanillaPacketDispatcher.dispatchTEToNearbyPlayers(tile... |
<<<<<<<
public static Set<Item> looniumBlacklist = new LinkedHashSet();
public static Map<Block, PropertyEnum> paintableBlocks = new LinkedHashMap<Block, PropertyEnum>();
=======
public static Set<Item> looniumBlacklist = new LinkedHashSet<Item>();
public static Set<Block> paintableBlocks = new LinkedHashSet<Bloc... |
<<<<<<<
if(state == Blocks.dirt.getDefaultState()) {
=======
if((block == Blocks.dirt || (block == Blocks.grass && par1ItemStack.getItemDamage() != 0)) && bmeta == 0) {
>>>>>>>
if((state.getBlock() == Blocks.dirt || (state.getBlock() == Blocks.grass && par1ItemStack.getItemDamage() != 0)) && bmeta == 0) {
<<<... |
<<<<<<<
boolean armor = event.entityPlayer.getCurrentArmor(1) != null;
GlStateManager.translate(0F, 0.2F, 0F);
=======
GL11.glTranslatef(0F, 0.2F, 0F);
>>>>>>>
GlStateManager.translate(0F, 0.2F, 0F); |
<<<<<<<
GlStateManager.scale(0.75F, 0.75F, 0.75F);
GlStateManager.translate(0F, 0F, 0.5F);
=======
GL11.glScalef(0.75F, 0.75F, 0.75F);
GL11.glTranslatef(0F, 0F, 0.5F);
GL11.glRotatef(90F, 0F, 1F, 0F);
>>>>>>>
GlStateManager.scale(0.75F, 0.75F, 0.75F);
GlStateManager.translate(0F, 0... |
<<<<<<<
if(block == Blocks.beacon && isTruePlayer(player) && !par3World.isRemote) {
if(par3World.getDifficulty() == EnumDifficulty.PEACEFUL) {
player.addChatMessage(new ChatComponentTranslation("botaniamisc.peacefulNoob").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.RED)));
=======
if(block == ... |
<<<<<<<
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
=======
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
>>>>>>>
import net.minecraftforge... |
<<<<<<<
GlStateManager.color(1F, 1F, 1F, 0.7F + 0.3F * (float) (Math.sin(time / 5.0) + 0.5) * 2);
=======
float a = 0.1F + (1 - par1Entity.getDataWatcher().getWatchableObjectInt(EntitySpark.INVISIBILITY_DATA_WATCHER_KEY)) * 0.8F;
GL11.glColor4f(1F, 1F, 1F, (0.7F + 0.3F * (float) (Math.sin(time / 5.0) + 0.5) * ... |
<<<<<<<
GlStateManager.color((byte) c.getRed(), (byte) c.getGreen(), (byte) c.getBlue());
boolean normalize = GL11.glGetBoolean(GL11.GL_NORMALIZE);
GlStateManager.enableNormalize();
=======
GL11.glColor3ub((byte) c.getRed(), (byte) c.getGreen(), (byte) c.getBlue());
GL11.glPushAttrib(GL11.GL_NORMALIZE);
G... |
<<<<<<<
boolean light = GL11.glGetBoolean(GL11.GL_LIGHTING);
GlStateManager.pushMatrix();
GlStateManager.disableTexture2D();
GlStateManager.disableLighting();
GlStateManager.enableBlend();
GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
// todo 1.8 Tessellator.renderingWorldRen... |
<<<<<<<
boolean armor = event.entityPlayer.getCurrentArmor(1) != null;
GlStateManager.translate(0F, 0.2F, 0F);
=======
GL11.glTranslatef(0F, 0.2F, 0F);
>>>>>>>
GlStateManager.translate(0F, 0.2F, 0F); |
<<<<<<<
boolean light = GL11.glGetBoolean(GL11.GL_LIGHTING);
GlStateManager.disableLighting();
=======
GL11.glPushAttrib(GL11.GL_LIGHTING);
GL11.glDisable(GL11.GL_LIGHTING);
>>>>>>>
GL11.glPushAttrib(GL11.GL_LIGHTING);
GlStateManager.disableLighting();
<<<<<<<
if(light)
GlStateManager.enableLighti... |
<<<<<<<
import net.minecraftforge.client.event.TextureStitchEvent;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
=======
import net.minecraftforge.comm... |
<<<<<<<
public void playRecordClientSided(World world, BlockPos pos, ItemRecord record) {
=======
public String getLastVersion() {
String s = PersistentVariableHelper.lastBotaniaVersion;
if(s == null)
return "N/A";
if(s.indexOf("-") > 0)
return s.split("-")[1];
return s;
}
@Override
public void... |
<<<<<<<
import com.alexstyl.specialdates.datedetails.DateDetailsActivity;
=======
import com.alexstyl.specialdates.datedetails.DateDetailsActivity;
import com.alexstyl.specialdates.search.SearchActivity;
import com.alexstyl.specialdates.theming.Themer;
>>>>>>>
import com.alexstyl.specialdates.datedetails.DateDetails... |
<<<<<<<
private SearchNavigator searchNavigator;
=======
private ExternalNavigator externalNavigator;
@Inject
Analytics analytics;
>>>>>>>
private SearchNavigator searchNavigator;
@Inject
Analytics analytics; |
<<<<<<<
@Inject HomeNavigator navigator;
@Inject Analytics analytics;
@Inject Strings strings;
@Inject ColorResources colorResources;
@Inject ImageLoader imageLoader;
@Inject UpcomingEventsProvider provider;
@Inject PeopleEventsViewRefresher refresher;
@Inject PeopleEventsMonitor eventsM... |
<<<<<<<
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
=======
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
>>>>>>>
import static org.hamcrest.CoreMatchers.nullValue;
import static o... |
<<<<<<<
import com.b2international.snowowl.eventbus.IEventBus;
import com.b2international.snowowl.snomed.common.SnomedRf2Headers;
=======
import com.b2international.snowowl.snomed.Description;
>>>>>>>
import com.b2international.snowowl.snomed.common.SnomedRf2Headers;
<<<<<<<
import com.b2international.snowowl.snome... |
<<<<<<<
import com.b2international.snowowl.core.request.SetMemberSearchRequestEvaluator;
=======
import com.b2international.snowowl.core.request.QueryOptimizer;
>>>>>>>
import com.b2international.snowowl.core.request.SetMemberSearchRequestEvaluator;
import com.b2international.snowowl.core.request.QueryOptimizer; |
<<<<<<<
import com.b2international.snowowl.snomed.datastore.index.entry.SnomedRefSetMemberIndexEntry;
import com.b2international.snowowl.snomed.datastore.index.entry.SnomedRefSetMemberIndexEntry.Builder;
=======
import com.b2international.snowowl.snomed.datastore.model.SnomedModelExtensions;
import com.b2internationa... |
<<<<<<<
if (effectiveDate != null) {
query.filter(CodeSystemVersionEntry.Expressions.effectiveDate(effectiveDate));
}
if (!StringUtils.isEmpty(parentBranchPath)) {
query.filter(CodeSystemVersionEntry.Expressions.parentBranchPath(parentBranchPath));
}
=======
if (containsKey(OptionKey.CREATED_AT_... |
<<<<<<<
import com.b2international.commons.exceptions.BadRequestException;
=======
import com.b2international.commons.CompareUtils;
>>>>>>>
import com.b2international.commons.CompareUtils;
import com.b2international.commons.exceptions.BadRequestException; |
<<<<<<<
* Constructor. Note: never pass in Hibernate objects that have been loaded
* by a session in a different thread
*
* @param offering
=======
* Constructor. Note: never pass in Hibernate objects that have been loaded
* by a session in a different thread
*
* @param dsOffe... |
<<<<<<<
import com.b2international.snowowl.snomed.datastore.browser.SnomedIndexBrowserConstants;
import com.b2international.snowowl.snomed.datastore.id.ISnomedIdentifierService;
=======
>>>>>>>
import com.b2international.snowowl.snomed.datastore.id.ISnomedIdentifierService; |
<<<<<<<
import com.b2international.snowowl.core.request.MemberSearchRequest;
import com.b2international.snowowl.core.request.MemberSearchRequestBuilder;
import com.b2international.snowowl.core.request.SetMemberSearchRequestEvaluator;
=======
import com.b2international.snowowl.core.request.QueryOptimizer;
>>>>>>>
imp... |
<<<<<<<
public String generateItemId(final String namespace, final ComponentCategory category, int attempt) {
final Pair<String, ComponentCategory> key = Pair.identicalPairOf(Strings.emptyToNull(namespace), category);
final int limitedAttempt = Ints.min(attempt, MAX_ATTEMPT); // 512^512 = 256K will be the biggest ... |
<<<<<<<
mappingsToRefresh.add(mapping);
admin.log().info("Created {} {} documents with bulk {}", r.getCreated(), mapping.typeAsString(), op);
=======
synchronized (mappingsToRefresh) {
mappingsToRefresh.add(mapping);
}
admin.log().info("Created {} {} documents with script '{}'", r.getCreated(... |
<<<<<<<
private final Boolean force;
private final long effectiveTime;
=======
private final LocalDate effectiveTime;
>>>>>>>
private final Boolean force;
private final LocalDate effectiveTime;
<<<<<<<
Boolean force,
long effectiveTime) {
=======
LocalDate effectiveTime) {
>>>>>>>
Boolean force,... |
<<<<<<<
CodeSystemVersionEntry version = getVersion(context);
if (version != null && !config.isForce()) {
=======
CodeSystemVersion version = getVersion(context);
if (version != null) {
>>>>>>>
CodeSystemVersion version = getVersion(context);
if (version != null && !config.isForce()) { |
<<<<<<<
/*
* 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 com.b2international.index.IndexResource;
=======
import com.b2international.index.IndexClient;
import com.b2international.index.Indexes;
import com.b2international.index.WithScore;
>>>>>>>
import com.b2international.index.IndexResource;
import com.b2international.index.IndexClient;
import com.b2intern... |
<<<<<<<
import com.b2international.commons.collections.primitive.set.LongSet;
import com.b2international.commons.pcj.PrimitiveCollections;
=======
import bak.pcj.set.LongSet;
>>>>>>>
import com.b2international.commons.collections.primitive.set.LongSet;
<<<<<<<
disjointUnionIds = PrimitiveCollections.newLongOpen... |
<<<<<<<
@Test
public void createInactiveNonIsaRelationship() throws Exception {
createInactiveRelationship(TEMPORAL_CONTEXT);
}
@Test
public void createInactiveIsaRelationship() throws Exception {
createInactiveRelationship(IS_A);
}
private void createInactiveRelationship(final String type) {
SnomedBr... |
<<<<<<<
import com.b2international.snowowl.snomed.ecl.ecl.AndRefinement;
import com.b2international.snowowl.snomed.ecl.ecl.AttributeComparison;
import com.b2international.snowowl.snomed.ecl.ecl.AttributeConstraint;
import com.b2international.snowowl.snomed.ecl.ecl.AttributeGroup;
import com.b2international.snowowl.snom... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.