answer stringlengths 17 10.2M |
|---|
package com.dmillerw.remoteIO.block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
imp... |
package org.treetank.page;
import org.treetank.access.PageWriteTrx;
import org.treetank.exception.AbsTTException;
import org.treetank.io.EStorage;
import org.treetank.io.ITTSink;
import org.treetank.io.ITTSource;
import org.treetank.utils.IConstants;
/**
* <h1>IndirectPage</h1>
*
* <p>
* Indirect page holds a set o... |
package au.edu.uts.eng.remotelabs.rigclient.action.access;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import au.edu.uts.eng.remotelabs.rigclient.rig.IAccessAction;
im... |
package net.juniper.contrail.vcenter;
import java.io.IOException;
import java.util.Map;
import java.util.Map.Entry;
import java.util.SortedMap;
import java.util.Iterator;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java... |
package org.endeavourhealth.queuereader;
import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import org.endeavourhealth.common.utility.MetricsHelper;
import org.endeavourhealth.core.application.ApplicationHeartbeatHelper;
import org.endeavourhealth.core.configurat... |
package gov.nih.nci.ncicb.cadsr.umlmodelbrowser.struts.actions;
import gov.nih.nci.cadsr.umlproject.domain.Project;
import gov.nih.nci.cadsr.umlproject.domain.SemanticMetadata;
import gov.nih.nci.cadsr.umlproject.domain.SubProject;
import gov.nih.nci.cadsr.umlproject.domain.UMLAttributeMetadata;
import gov.nih.nci.cads... |
package au.gov.ga.geodesy.support.mapper.dozer;
import org.dozer.CustomConverter;
import org.dozer.MappingException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.opengis.iso19139.gco.v_20070417.CodeListValueType;
/**
* Convert: java.lang.String <--> net.opengis.gml.v_3_2_1.CodeListValueType
*
... |
package com.emarte.regurgitator.extensions.mq;
public interface ExtensionsMqConfigConstants {
String REQUEST_METADATA_CONTEXT = "request-metadata";
String REQUEST_PROPERTIES_CONTEXT = "request-properties";
String REQUEST_PAYLOAD_CONTEXT = "request-payload";
String RESPONSE_METADATA_CONTEXT = "response-m... |
package com.lothrazar.cyclicmagic.component.builder;
import com.lothrazar.cyclicmagic.IHasRecipe;
import com.lothrazar.cyclicmagic.block.base.BlockBaseFacingInventory;
import com.lothrazar.cyclicmagic.block.base.IBlockHasTESR;
import com.lothrazar.cyclicmagic.block.base.MachineTESR;
import com.lothrazar.cyclicmagic.gui... |
package com.royalrangers.controller.achievement;
import com.royalrangers.bean.ResponseResult;
import com.royalrangers.bean.UserBean;
import com.royalrangers.model.achievement.*;
import com.royalrangers.service.achievement.*;
import com.royalrangers.utils.ResponseBuilder;
import org.springframework.beans.factory.annotat... |
package com.skelril.skree.content.world.wilderness;
import com.flowpowered.math.vector.Vector3d;
import com.google.common.collect.Lists;
import com.skelril.nitro.combat.PlayerCombatParser;
import com.skelril.nitro.data.util.EnchantmentUtil;
import com.skelril.nitro.droptable.DropTable;
import com.skelril.nitro.droptabl... |
package de.bayern.lfstad.test.contionuousIntegrationBeispiel;
import java.util.Arrays;
import java.util.Deque;
import java.util.LinkedList;
import java.util.List;
/**
* Erlaubt es eine Zahl in ihre Prrim-Faktoren zu zerlegen.
*/
public class PrimeNumbers {
private Deque<Integer> primeNumbers = new LinkedList<>(Ar... |
package de.craften.plugins.rpgplus.components.entitymanager;
import com.google.common.collect.Multimap;
import com.google.common.collect.MultimapBuilder;
import de.craften.plugins.rpgplus.util.components.PluginComponentBase;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.Entity;
import or... |
package eu.yaga.stockanalyzer.service.impl;
import eu.yaga.stockanalyzer.model.FundamentalData;
import eu.yaga.stockanalyzer.model.StockType;
import eu.yaga.stockanalyzer.service.HistoricalExchangeRateService;
import eu.yaga.stockanalyzer.service.StockRatingBusinessService;
import org.slf4j.Logger;
import org.slf4j.Log... |
package io.github.sporklibrary.binders.component;
import io.github.sporklibrary.Spork;
import io.github.sporklibrary.annotations.BindComponent;
import io.github.sporklibrary.annotations.Component;
import io.github.sporklibrary.binders.AnnotatedField;
import io.github.sporklibrary.exceptions.BindException;
import java.l... |
package net.floodlightcontroller.nfvtest.nfvcorestructure;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.ArrayList;
import java.util.HashSet;
import net.floodlightcontroller.nfvtest.nfvutils.Pair;
import net.floodlightcontroller.nfvtest.nfvutils.GlobalConfig.*;
public class NFV... |
package cz.vutbr.fit.iha.menu;
import java.util.List;
import se.emilsjolander.stickylistheaders.StickyListHeadersListView;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.content.res.Configuration;
import android.graphics.Bitmap;
i... |
package org.restheart.handlers.metadata;
import io.undertow.server.HttpServerExchange;
import java.util.List;
import org.bson.BsonArray;
import org.bson.BsonDocument;
import org.bson.BsonValue;
import org.restheart.hal.metadata.InvalidMetadataException;
import org.restheart.hal.metadata.RepresentationTransformer;
impor... |
package pl.edu.pw.mini.msi.knowledgerepresentation;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Collectors;
import org.antlr.v4.runtime.misc.FlexibleHashMap;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.slf4j.Logger;
import o... |
package org.apache.jmeter.protocol.http.modifier;
import java.io.Serializable;
import junit.framework.TestCase;
import org.apache.jmeter.config.Argument;
import org.apache.jmeter.config.Arguments;
import org.apache.jmeter.config.ResponseBasedModifier;
import org.apache.jmeter.protocol.http.sampler.HTTPSampler;
import o... |
package org.ow2.proactive.scheduler.exception;
/**
*
* Exceptions Generated during the run of a native process.
*
* @author The ProActive Team
* @since ProActive Scheduling 0.9
*
*/
public class RunningProcessException extends ProcessException {
/**
* Attaches a message to the Exception
* @param me... |
package com.markupartist.sthlmtraveling.provider.site;
import android.location.Location;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.util.Pair;
import android.text.TextUtils;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONObject;
public class Site imple... |
package com.splicemachine.hbase.backup;
import com.splicemachine.constants.SpliceConstants;
import com.splicemachine.derby.impl.job.ZkTask;
import com.splicemachine.derby.impl.job.coprocessor.RegionTask;
import com.splicemachine.derby.impl.job.operation.OperationJob;
import com.splicemachine.derby.impl.job.scheduler.Sc... |
package com.emc.mongoose.tests.system;
import com.github.akurilov.commons.system.SizeInBytes;
import com.emc.mongoose.api.common.env.PathUtil;
import com.emc.mongoose.api.model.io.IoType;
import com.emc.mongoose.run.scenario.JsonScenario;
import com.emc.mongoose.tests.system.base.ScenarioTestBase;
import com.emc.mongoo... |
package com.thinkaurelius.titan.graphdb;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
import com.thinkaurelius.titan.core.*;
import com.thinkaurelius.titan.diskstorage.util.TestLockerManager;
import com.thinkaurelius.titan.graphdb.database.StandardTitanGraph;
import com.tin... |
package io.vertx.ext.auth.oauth2.impl.flow;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.auth.oauth2.AccessToken;
import io.vertx.ext.auth.oauth2.OAuth2ClientOptions;
import io... |
package br.com.caelum.vraptor.core;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import net.vidageek.mirror.dsl.Mirror;
@ApplicationScoped
public class DefaultReflectionProvider implements ReflectionProvider {
@Override
... |
package au.org.plantphenomics.podd;
import java.io.IOException;
import org.openrdf.OpenRDFException;
import org.openrdf.rio.RDFFormat;
import org.openrdf.rio.Rio;
import org.openrdf.rio.UnsupportedRDFormatException;
import org.restlet.Component;
import org.restlet.data.LocalReference;
import org.restlet.data.Protocol;
... |
// This file is part of PLplot.
// PLplot is free software; you can redistribute it and/or modify
// PLplot is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// along with PLplot; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street... |
package ro.isdc.wro.model.group.processor;
import static org.apache.commons.lang3.Validate.notNull;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.io.StringReader;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Collection;
imp... |
package org.knowm.xchange.kraken.service;
import java.io.IOException;
import java.util.Arrays;
import java.util.Set;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.Order.IOrderFlags;
import org.knowm.xchange.exc... |
package org.yamcs.web.rest.archive;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org... |
package io.straas.android.sdk.circall.demo;
import android.databinding.ViewDataBinding;
import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.os.SystemClock;
import android.support.v7.widget.ActionMenuView;
import android.support.v7.widget.Toolbar... |
package configurationeditor;
import com.fasterxml.jackson.databind.ObjectMapper;
import javafx.beans.Observable;
import javafx.beans.binding.Bindings;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.collections.FXCollections;
import javafx.collections.... |
package fitnesse;
import java.io.File;
import java.util.Properties;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
public class ConfigurationParameterTest {
@Test
public void shouldMakePropertiesWi... |
package net.robig.stlab;
import net.robig.logging.Logger;
import net.robig.stlab.util.config.AbstractValue;
import net.robig.stlab.util.config.BoolValue;
import net.robig.stlab.util.config.DoubleValue;
import net.robig.stlab.util.config.IValueChangeListener;
import net.robig.stlab.util.config.IntValue;
import net.robig... |
package cpw.mods.fml.common;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
import com.google.common.base.Joiner;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.BiMap;
import com.google.common.collect.ImmutableBiMap;
import ... |
package oe.block.tile;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import n... |
/*
$Log$
Revision 1.20 1998/11/15 23:08:24 rimassa
Added a new KillContainerBehaviour to support 'kill-container' AMS
action.
Revision 1.19 1998/11/09 00:24:29 rimassa
Replaced older container ID with newer container name.
Added code to send a snapshot of Agent Platform state (active agent
container... |
package com.gravity.player;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.newdawn.slick.geom.Rectangle;
import org.newdawn.slick.geom.Shape;
import org.newdawn.slick.geom.Transform;
import org.newdawn.slick.geom.Vector2f;
import com.google.common.collect.Lists;
import com.google.common.c... |
package org.dosomething.android.activities;
import java.util.ArrayList;
import java.util.List;
import org.dosomething.android.DSConstants;
import org.dosomething.android.R;
import org.dosomething.android.context.UserContext;
import org.dosomething.android.tasks.AbstractWebserviceTask;
import org.dosomething.android.tra... |
package org.dspace.app.itemexport;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.t... |
package ca.ualberta.lard.model;
import java.text.DecimalFormat;
import java.util.ArrayList;
import com.google.gson.Gson;
import android.content.Context;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationManager;
/**
* A GeoLocation is composed of a latitude and a longi... |
package eu.ydp.empiria.player.client.util;
public class PathUtil {
public static String resolvePath(String path, String base){
if (path.contains("://") || path.startsWith("/")){
return path;
} else {
return base + path;
}
}
} |
package org.ethereum.manager;
import org.ethereum.config.SystemProperties;
import org.ethereum.core.*;
import org.ethereum.db.DbFlushManager;
import org.ethereum.util.*;
import org.ethereum.validator.BlockHeaderValidator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spongycastle.util.encoders.Hex... |
package com.nostra13.universalimageloader.core.download.handlers;
import android.content.Context;
import android.text.TextUtils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonParser;
import com.google.gson.reflect.TypeToken;
import com.no... |
package org.geotools.filter;
import org.geotools.data.complex.XmlMappingFeatureIterator;
import org.geotools.data.complex.xml.XmlXpathFilterData;
import org.geotools.filter.FunctionExpressionImpl;
import org.geotools.filter.capability.FunctionNameImpl;
import org.geotools.util.XmlXpathUtilites;
import org.jdom.Document... |
package org.eclipse.mylyn.internal.provisional.commons.ui;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
... |
package org.lamport.tla.toolbox.tool.tlc.ui.editor.page;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;
import java.util.Vector;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspaceRunnable;
import org.eclipse.core.resources.ResourcesPlugin;
import org.ec... |
package sk.henrichg.phoneprofilesplus;
import android.content.Context;
import android.content.DialogInterface;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.preference.... |
package com.redhat.ceylon.eclipse.core.typechecker;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.WeakHashMap;
import org.antlr.runtime.CommonToken;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IPro... |
package com.redhat.ceylon.eclipse.core.typechecker;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.WeakHashMap;
import org.antlr.runtime.CommonToken;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IPro... |
package org.eclipse.thym.core.engine.internal.cordova;
import java.io.File;
import java.io.FileFilter;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.CoreException;
import org.eclipse... |
package org.jkiss.dbeaver.ui.dialogs.connection;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.IJobChangeEvent;
import org.eclipse.core.runtime.jobs.JobChangeAdapter;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.... |
package com.opengamma.financial.convention;
import java.util.ArrayList;
import java.util.Collection;
import org.threeten.bp.Period;
import com.opengamma.core.id.ExternalSchemes;
import com.opengamma.financial.convention.businessday.BusinessDayConvention;
import com.opengamma.financial.convention.businessday.BusinessDay... |
package com.neverwinterdp.scribengin.storage.s3;
import java.io.IOException;
import java.util.UUID;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import com.amazonaws.services.s3.model.ObjectMetadata;
public class S3ObjectWriterExperimentTest {
static public String BUCKET_NAME = "s... |
package org.sagebionetworks.file.services;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.io.File;
import jav... |
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// persons to whom the Software is furnished to do so, subject to the
// notice shall be included in all copies o... |
package org.rstudio.studio.client.workbench.views.source.editors.text;
import org.rstudio.core.client.DebouncedCommand;
import org.rstudio.core.client.command.AppCommand;
import org.rstudio.studio.client.RStudioGinjector;
import org.rstudio.studio.client.panmirror.PanmirrorConfig;
import org.rstudio.studio.client.panmi... |
package org.rstudio.studio.client.workbench.views.source.editors.text.visualmode;
import org.rstudio.studio.client.common.filetypes.FileTypeRegistry;
import org.rstudio.studio.client.panmirror.ui.PanmirrorUIChunk;
import org.rstudio.studio.client.panmirror.ui.PanmirrorUIChunkFactory;
import org.rstudio.studio.client.wo... |
package org.sagebionetworks.web.client.widget.accessrequirements.approval;
import org.gwtbootstrap3.client.ui.Button;
import org.gwtbootstrap3.client.ui.Modal;
import org.gwtbootstrap3.client.ui.html.Div;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.... |
package ca.corefacility.bioinformatics.irida.service.impl.integration;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.io.OutputStream;
import java.ma... |
package org.carlspring.strongbox.users.domain;
import org.carlspring.strongbox.data.domain.GenericEntity;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.common.base.Objects;
/**
* An application user
*/
@JsonInclude(JsonInc... |
package ch.elexis.data;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import ch.elexis.core.constants.StringConstants;
import ch.elexis.core.constants.TextContainerConstants;
import ch.elexis.core.data.interfaces.scripti... |
package com.splicemachine.derby.impl.sql.execute.operations;
import com.google.common.collect.Lists;
import com.splicemachine.constants.SIConstants;
import com.splicemachine.constants.SpliceConstants;
import com.splicemachine.derby.hbase.SpliceDriver;
import com.splicemachine.derby.iapi.sql.execute.SpliceOperation;
imp... |
package coprocessor;
import coprocessor.generated.RowCounterProtos;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Admin;
import org.apache.hadoop.hbase.client.Connection;
import org.apache.h... |
package com.splicemachine.derby.impl.sql.execute.operations;
import com.splicemachine.constants.SpliceConstants;
import com.splicemachine.constants.bytes.BytesUtil;
import com.splicemachine.derby.hbase.SpliceDriver;
import com.splicemachine.derby.iapi.sql.execute.SpliceOperation;
import com.splicemachine.derby.iapi.sql... |
package com.splicemachine.derby.impl.sql.execute.operations;
import com.google.common.collect.Lists;
import com.splicemachine.constants.SIConstants;
import com.splicemachine.constants.SpliceConstants;
import com.splicemachine.derby.hbase.SpliceDriver;
import com.splicemachine.derby.iapi.sql.execute.SpliceOperation;
imp... |
package ru.job4j.max;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
*Test Max class.
*
* @author Kucyh Vasily (mailto:basil135@mail.ru)
* @version $Id$
* @since 31.03.2017
*/
public class MaxTest {
/**
* The method returns the second number, because... |
package io.takari.maven.plugins.configurator;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.util.List;
import org.apache.maven.plugin.descriptor.MojoDescriptor;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
import org.apache.maven.plugin.descriptor.... |
package de.interseroh.tmb.user.client;
import com.google.gwt.core.client.Callback;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import de.interseroh.tmb.user.client.domain.UserInfo... |
package com.github.treasurehunt.controller;
import com.github.treasurehunt.dao.UserDao;
import com.github.treasurehunt.dto.ConfigDTO;
import com.github.treasurehunt.dto.Reward;
import com.google.common.util.concurrent.RateLimiter;
import lombok.extern.slf4j.Slf4j;
import org.influxdb.dto.Point;
import org.springframewo... |
package jp.troter.servlet.httpsession.spi.impl;
import java.util.HashMap;
import jp.troter.servlet.httpsession.spi.SessionStateManager;
import jp.troter.servlet.httpsession.state.DefaultSessionState;
import jp.troter.servlet.httpsession.state.SessionState;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public... |
package com.hp.oo.execution.services;
import com.hp.oo.engine.node.services.WorkerNodeService;
import com.hp.oo.orchestrator.services.configuration.WorkerConfigurationService;
import org.apache.commons.lang.ArrayUtils;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import... |
package org.xwiki.test.selenium;
import junit.framework.Test;
import org.xwiki.test.selenium.framework.AbstractXWikiTestCase;
import org.xwiki.test.selenium.framework.ColibriSkinExecutor;
import org.xwiki.test.selenium.framework.XWikiTestSuite;
/**
* Verify the document extra feature of XWiki.
*
* @version $Id$
*/
... |
package com.kinancity.core.captcha.imageTypers;
import java.io.IOException;
import java.net.SocketTimeoutException;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import org.slf4j.Logger;
... |
package rapture.elasticsearch;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.Arrays;
import java.util... |
package net.hawkengine.services.tests.filters;
import com.fiftyonred.mock_jedis.MockJedisPool;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import net.hawkengine.core.ServerConfiguration;
import net.hawkengine.core.utilities.constants.TestsConstants;
import net.hawkengine.core.utilities.deserializer... |
package de.maibornwolff.codecharta.importer.csv;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
import java.util.ArrayList;
import java.util.List;
public class CSVImporterParameter {
private final JCommander jc;
@Parameter(names = {"-d", "--delimeter"}, description = "delimeter i... |
package org.chromium.android_webview.test;
import android.os.Build;
import android.os.Message;
import android.test.suitebuilder.annotation.SmallTest;
import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
import org.apache.http.util.EncodingUtils;
import org.chromium.android_webview.AwContents;
import ... |
package com.ctrip.framework.apollo.metaservice.controller;
import com.ctrip.framework.apollo.core.dto.ServiceDTO;
import com.ctrip.framework.apollo.metaservice.service.DiscoveryService;
import com.netflix.appinfo.InstanceInfo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web... |
package org.csstudio.ui.menu.app;
import org.eclipse.jface.action.ActionContributionItem;
import org.eclipse.jface.action.GroupMarker;
import org.eclipse.jface.action.ICoolBarManager;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManag... |
package com.alibaba.otter.canal.client.adapter.es.config;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import com.alibaba.otter.canal.client.adapter.es.config.ESSyncConfig.ESMapping;
/**
* ES
*
* @author rewerma 2018-11-01
* @version 1.0.0
*/
public class... |
package com.abstratt.kirra.rest.resources;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.... |
/**
* A set of service provider interfaces (SPI) each dealing with a separate concern within the
* architecture. Each SPI is orthogonal and should not need direct dependency or interaction with
* other SPI. It is the responsibility of the core to glue/mediate such communication in a
* decoupled fashion. This enbles ser... |
package org.jboss.as.connector.deployers.ds.processors;
import static org.jboss.as.connector.logging.ConnectorLogger.SUBSYSTEM_DATASOURCES_LOGGER;
import java.sql.Driver;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.jboss.as.connector.logging.ConnectorLogger;
import org.jboss.as.c... |
package org.hisp.dhis.android.core.datavalue;
import org.hisp.dhis.android.core.D2;
import org.hisp.dhis.android.core.common.D2Factory;
import org.hisp.dhis.android.core.data.database.AbsStoreTestCase;
import org.hisp.dhis.android.core.data.server.RealServerMother;
import org.junit.Before;
import org.junit.Test;
import... |
package net.sf.taverna.t2.security.credentialmanager.ui;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.eve... |
package org.javacint.settings;
import com.siemens.icm.io.file.FileConnection;
import java.io.*;
import java.util.*;
import javax.microedition.io.Connector;
import org.javacint.common.Strings;
import org.javacint.logging.Logger;
public class Settings {
private static Hashtable settings;
private static String fil... |
package edu.uw.amaralmunnthorsteinson.porcelain;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.location.Location;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;... |
package week3;
import java.util.List;
/**
* Small helper class to provide a nice interface to store a document
* @author harryscells
*
*/
public class Document {
private String name;
private List<String> contents;
/**
* Document
* @param name The filename of the document
* @param contents... |
package tableview;
import org.robovm.apple.foundation.NSAutoreleasePool;
import org.robovm.apple.foundation.NSDictionary;
import org.robovm.apple.foundation.NSString;
import org.robovm.apple.uikit.UIApplication;
import org.robovm.apple.uikit.UIApplicationDelegateAdapter;
import org.robovm.apple.uikit.UIColor;
import or... |
package net.wayward_realms.waywardchat;
import mkremins.fanciful.FancyMessage;
import net.wayward_realms.waywardlib.chat.Channel;
import net.wayward_realms.waywardlib.essentials.EssentialsPlugin;
import net.wayward_realms.waywardlib.util.math.MathUtils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.... |
package javarepl;
import com.googlecode.totallylazy.Function1;
import com.googlecode.totallylazy.Mapper;
import com.googlecode.totallylazy.Option;
import com.googlecode.totallylazy.Sequence;
import com.googlecode.totallylazy.predicates.LogicalPredicate;
import javarepl.console.*;
import javarepl.console.rest.RestConsol... |
package soot.jimple.internal;
import soot.tagkit.*;
import soot.*;
import soot.jimple.*;
import soot.baf.*;
import soot.util.*;
import java.util.*;
public class JimpleLocal implements Local, ConvertToBaf
{
String name;
Type type;
int fixedHashCode;
boolean isHashCodeChosen;
/** Constructs a JimpleLo... |
package ru.stqa.ptf.addressbook;
import org.openqa.selenium.firefox.FirefoxOptions;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
import java.util.concurrent.TimeUnit;
import java.util.Date;
import java.io.Fi... |
package ua.stqa.pft.addressbook;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.*;
public class ContactCreationTests {
Firefo... |
package ti.modules.titanium.ui.widget.listview;
import java.lang.ref.WeakReference;
import java.util.HashMap;
import org.appcelerator.kroll.KrollDict;
import org.appcelerator.kroll.annotations.Kroll;
import org.appcelerator.titanium.TiC;
import org.appcelerator.titanium.proxy.TiViewProxy;
import org.appcelerator.titani... |
package com.samourai.wallet.paynym.paynymDetails;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
imp... |
package de.fau.cs.mad.kwikshop.android.viewmodel;
import android.widget.Toast;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
import javax.inject.Inject;
import de.fau.cs.mad.kwikshop.android.R;
import de.fau.cs.mad.kwikshop.android.model.*;
import de.fau.cs.mad.kwikshop.android.mod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.