answer
stringlengths
17
10.2M
package de.thischwa.pmcms.tool; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import de.thischwa.pmcms.Constants; import de.thischwa.pmcms.configuration.BasicConfigurator; import de.thischwa.pmcms.configuration.InitializationManager; import de.thischwa.pmcms.tool.DESCryptor; import s...
package application; import java.util.ArrayList; import javafx.scene.paint.Color; public class AntCell extends Cell { private boolean hasFoodItem = false; private int homePheromones; private int foodPheromones; private AntCell ; private AntCell foodPile; @Override public void updateCell(int ...
package bio.terra.integration; import bio.terra.category.Integration; import bio.terra.model.DatasetSummaryModel; import bio.terra.model.IngestResponseModel; import bio.terra.model.StudySummaryModel; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.experi...
package net.tomp2p.p2p.builder; import java.util.Collection; import java.util.concurrent.atomic.AtomicReferenceArray; import net.tomp2p.connection.DefaultConnectionConfiguration; import net.tomp2p.futures.FutureResponse; import net.tomp2p.futures.FutureRouting; import net.tomp2p.p2p.RoutingMechanism; import net.tomp2p....
package ch.bind.philib.io; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.fail; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.Random; import org.junit.Test; public class RingBufferTe...
package edu.wustl.common.security; import java.util.Vector; import edu.wustl.common.security.exceptions.SMException; import edu.wustl.common.security.exceptions.SMTransactionException; import edu.wustl.common.util.logger.Logger; import gov.nih.nci.security.AuthenticationManager; import gov.nih.nci.security.Authorizatio...
package com.thaiopensource.xml.dtd.parse; import java.util.Vector; import com.thaiopensource.xml.tok.Tokenizer; class AtomParser { private final DtdBuilder db; private final AtomStream as; private final PrologParser pp; private final Vector v; private Particle group; AtomParser(DtdBuilder db, AtomStream as,...
package org.opendaylight.controller.md.statistics.manager; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.TimeUnit; import org.opendaylight.controller.sal.binding.api.data.DataModificationTransaction; import org.o...
package com.athaydes.sparkws; import com.google.common.util.concurrent.SettableFuture; import org.glassfish.tyrus.client.ClientManager; import org.junit.After; import org.junit.Test; import javax.websocket.ClientEndpointConfig; import javax.websocket.Endpoint; import javax.websocket.EndpointConfig; import javax.websock...
package com.documents; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.mockito.Matchers.any; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.u...
package net.bytebuddy; import net.bytebuddy.asm.ClassVisitorWrapper; import net.bytebuddy.description.annotation.AnnotationDescription; import net.bytebuddy.description.annotation.AnnotationList; import net.bytebuddy.description.field.FieldDescription; import net.bytebuddy.description.method.MethodDescription; import n...
package de.gw.auto.gui; import java.awt.ScrollPane; import java.lang.reflect.Field; import java.util.Vector; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; import de.gw.auto.domain.Auto; import de.gw.auto.domain.Settings; public class ShowAuto { private Settin...
package org.opendaylight.bgpcep.pcep.topology.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import...
package com.kb.mylibs.Tools; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; public class UtilPath { }
package com.viadeo.avrodiff; import java.io.File; import org.apache.avro.Schema; import org.apache.avro.file.DataFileReader; import org.apache.avro.file.DataFileWriter; import org.apache.avro.generic.GenericData.Record; import org.apache.avro.generic.GenericDatumReader; import org.apache.avro.generic.GenericDatumWriter...
package com.facebook.react; import static com.facebook.react.uimanager.common.UIManagerType.DEFAULT; import static com.facebook.react.uimanager.common.UIManagerType.FABRIC; import static com.facebook.systrace.Systrace.TRACE_TAG_REACT_JAVA_BRIDGE; import android.content.Context; import android.graphics.Canvas; import an...
package org.animotron.bridge; import junit.framework.Assert; import org.animotron.ATest; import org.junit.Ignore; import org.junit.Test; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; /** * @author <a href="mailto:shabanovd@gmail.com">Dmitriy Shabanov</a> ...
package org.basex.http.rest; import static org.basex.http.rest.RESTText.*; import java.io.*; import java.util.*; import javax.xml.parsers.*; import javax.xml.transform.dom.*; import org.basex.core.*; import org.basex.http.*; import org.basex.io.*; import org.basex.io.in.*; import org.basex.io.serial.*; import org.basex...
package org.gertje.abacus; import org.gertje.abacus.exception.CompilerException; import org.gertje.abacus.functions.RandFunction; import org.gertje.abacus.lexer.AbacusLexer; import org.gertje.abacus.lexer.Lexer; import org.gertje.abacus.nodes.AbacusNodeFactory; import org.gertje.abacus.nodes.AbstractNode; import org.ge...
package net.hyperic.sigar.test; import net.hyperic.sigar.Sigar; import net.hyperic.sigar.SigarException; import net.hyperic.sigar.SigarNotImplementedException; import net.hyperic.sigar.SigarProxy; import net.hyperic.sigar.SigarProxyCache; import net.hyperic.sigar.jmx.SigarInvokerJMX; public class TestInvoker extends Si...
package org.jbake.app; import static org.assertj.core.api.Assertions.assertThat; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import org.apache.commons.configuration.CompositeConfiguration; import org.apache.commons.io.FileUtils; import org.jbake.model.DocumentTypes; import org.junit.After;...
package org.mvel.tests.main; import junit.framework.TestCase; import org.mvel.ExpressionCompiler; import org.mvel.MVEL; import org.mvel.ParserContext; import org.mvel.debug.DebugTools; import org.mvel.optimizers.OptimizerFactory; import org.mvel.tests.main.res.*; import org.mvel.util.StringAppender; import java.io.Char...
package net.dump247.docker; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientHandlerExceptio...
package org.turner.oath.totp; import java.math.BigInteger; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import java.util.Collection; import javax.crypto.Mac; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.jun...
package org.jdesktop.swingx; import java.awt.GraphicsEnvironment; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Locale; imp...
package org.jdesktop.swingx; import java.awt.Color; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.lang.reflect.InvocationTargetException; import java.util.Vector; import java.util.logging.Logger; import javax.swing.AbstractAction; import javax.swing.Acti...
package org.kevoree.modeling.addons.template; import org.junit.Test; import org.kevoree.modeling.KActionType; import org.kevoree.modeling.KCallback; import org.kevoree.modeling.KModel; import org.kevoree.modeling.KObject; import org.kevoree.modeling.drivers.websocket.WebSocketGateway; import org.kevoree.modeling.meta.*...
package edu.northwestern.bioinformatics.studycalendar.security.plugin; import edu.northwestern.bioinformatics.studycalendar.StudyCalendarValidationException; import gov.nih.nci.cabig.ctms.tools.configuration.Configuration; import gov.nih.nci.cabig.ctms.tools.configuration.ConfigurationProperties; import org.acegisecuri...
package gov.nih.nci.cagrid.introduce.codegen.serializers; import gov.nih.nci.cagrid.common.Utils; import gov.nih.nci.cagrid.introduce.beans.namespace.NamespaceType; import gov.nih.nci.cagrid.introduce.beans.namespace.SchemaElementType; import gov.nih.nci.cagrid.introduce.beans.service.ServiceType; import gov.nih.nci.ca...
package org.hisp.dhis.analytics.security; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hisp.dhis.analytics.AnalyticsSecurityManager; import org.hisp.dhis.analytics.DataQueryParams; import org.hisp.dhis.analytics.event.EventQueryParams; import org.hisp.dhis.common.*; im...
package org.eclipse.birt.report.engine.emitter.excel; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; impo...
package org.modeshape.connector.filesystem; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.File; import java.io.FileInputStream; import java.io.IO...
package com.dominikschreiber.underscore; import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class _Test { private List<Integer> range(int from, int to) { List<Intege...
package com.dominikschreiber.underscore; import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.function.BiFunction; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; imp...
package com.github.kratorius.jefs; import org.junit.Test; import java.util.ArrayList; import java.util.NoSuchElementException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; public class LFSta...
package com.hearthsim.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import org.junit.Before; import org.junit.Test; import com.hearthsim.card.Card; import com.hearthsim.card.minion.Minion; import com.hearthsim.card.minion.concrete.KoboldGeomancer; import com.hearthsim.car...
package com.thankjava.wqq.test.qq; import com.thankjava.toolkit3d.fastjson.FastJson; import com.thankjava.wqq.SmartQQClient; import com.thankjava.wqq.SmartQQClientBuilder; import com.thankjava.wqq.entity.enums.LoginResultStatus; import com.thankjava.wqq.entity.sys.LoginResult; import com.thankjava.wqq.extend.ActionList...
package lombok.website; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.regex.Matcher; import java.util.regex.Pattern; public class FetchCurrentVersion { private FetchCurrentVersion() {} private static...
package info.javaspec.runner; import de.bechte.junit.runners.context.HierarchicalContextRunner; import info.javaspecproto.ContextClasses; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.Description; import org.junit.runner.RunWith; import org.junit.runner.notification.Ru...
package net.imagej.ops.math; import net.imagej.ops.AbstractNamespaceTest; import net.imagej.ops.MathOps.Abs; import net.imagej.ops.MathOps.Add; import net.imagej.ops.MathOps.AddNoise; import net.imagej.ops.MathOps.And; import net.imagej.ops.MathOps.Arccos; import net.imagej.ops.MathOps.Arccosh; import net.imagej.ops.Ma...
package org.lightmare.bean; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; @Stateless @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public class LightMareFalseBean implements LightMareFalseBeanRemote { @Override public boolean isFals...
package org.purl.wf4ever.robundle; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotSame; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.io.InputStream; i...
package org.purl.wf4ever.robundle; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net...
package seedu.taskboss.logic; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_TASK_DIS...
package seedu.typed.schedule; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.time.Month; import org.junit.Test; import seedu.typed.model.task.DateTime; //@@author A0139379M public class DayInMonthTETest { // Boundary Cases for Last Tuesday // Last Tuesday of M...
package aQute.bnd.build; import static java.util.Objects.requireNonNull; import static org.osgi.framework.Constants.FRAMEWORK_BEGINNING_STARTLEVEL; import java.io.Closeable; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLClassLoader; import java.util...
package signature.chemistry; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; import junit.framework.Assert; import org.junit.Test; import signature.chemistry.Molecule; import signature.chemistry.MoleculeSigna...
package uk.org.cinquin.mutinack.statistics; import java.io.Serializable; import java.util.Collection; import java.util.Comparator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeSet; import java.util.function.Predicate; import java.util.stream.Collectors; import javax.jdo.a...
package src.usi.gui.functionality; import java.util.ArrayList; import java.util.List; import src.usi.configuration.ConfigurationManager; import src.usi.gui.functionality.instance.Instance_GUI_pattern; import src.usi.gui.structure.Action_widget; import src.usi.gui.structure.GUI; import src.usi.gui.structure.Input_widget...
import java.io.*; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.net.ftp.FTPReply; public class ftp_client { private static Console console = System.console(); private static BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ...
package org.jetel.ctl; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathContext; import java.math.RoundingMode; import java.net.URL; import java.text.Si...
package com.stanfy.app; import java.lang.ref.WeakReference; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; import com.stanfy.DebugFlags; import com.stanfy.serverapi.request.RequestExecutor; import com....
package snowballmadness; import com.google.common.base.*; import org.bukkit.*; import org.bukkit.block.*; import org.bukkit.entity.*; /** * This logic takes in a material to place and possibly a second material (for * placing in the air block just above the material) and a number specifying how * many blocks down th...
package net.minecraft.src; import java.util.EnumSet; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.ITickHandler; import cpw.mods.fml.common.TickType; import net.minecraft.client.Minecraft; public class mod_testMod extends BaseMod implements ITickHandler { private long ts; private long ...
package org.jetel.ctl; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathContext; import java.math.RoundingMode; import java.net.URL; import java.text.Si...
package com.mindoo.domino.jna; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.StringWriter; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collections; import java...
package battle; import java.time.Duration; import java.util.function.Predicate; public class SkillBuilder { private String name; private String description = ""; private Target target = Target.SELF; private Duration maxCooldown = Duration.ofSeconds(5); /** * This default Predicate returns {@code true} if t...
package org.slf4j; import java.util.logging.Level; import junit.framework.TestCase; /** * Test whether invoking the SLF4J API causes problems or not. * * @author Ceki Gulcu * */ public class InvocationTest extends TestCase { Level oldLevel; java.util.logging.Logger root = java.util.logging.Logger.getLogger("")...
package com.smartnsoft.droid4me.ws; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.net.UnknownH...
package com.malhartech.stream;
package org.mihalis.opal.itemSelector; import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.SWTException; import org.eclipse.swt.events.MouseAdapter; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.SelectionEvent; i...
package org.openlaszlo.utils; import java.net.*; import java.util.*; import java.util.regex.*; import java.util.zip.*; import java.io.*; import java.text.SimpleDateFormat; import org.openlaszlo.utils.FileUtils.*; import org.openlaszlo.xml.internal.XMLUtils.*; import org.openlaszlo.compiler.*; import org.openlaszlo.serv...
package com.simolecule.centres; import com.simolecule.centres.config.Configuration; import com.simolecule.centres.config.Octahedral; import com.simolecule.centres.config.Sp2Bond; import com.simolecule.centres.config.SquarePlanar; import com.simolecule.centres.config.Tetrahedral; import com.simolecule.centres.config.Tri...
package com.angcyo.uiview.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; ...
package com.psddev.dari.util; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.UncheckedIOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.FilterChain; import javax.servlet.ServletContext; import javax.servlet.http.Ht...
package ru.job4j; /** * Removes duplicates from the array. * * @author Ruzhev Alexander * @since 21.02.2017 */ public class DuplicatesDeleter { /** * Removes duplicates from the String[] array. * * @param array massive is String[] * @return String[] array - array without duplicates */ ...
package net.java.sip.communicator.impl.gui.main.message; import java.io.*; import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; import javax.swing.text.html.*; import net.java.sip.communicator.impl.gui.*; import net.java.sip.communicator.impl.gui.customcontrol...
package us.myles.ViaVersion.util; import org.yaml.snakeyaml.DumperOptions; import org.yaml.snakeyaml.Yaml; import org.yaml.snakeyaml.representer.Representer; import us.myles.ViaVersion.api.configuration.ConfigurationProvider; import java.io.*; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; i...
package de.gurkenlabs.utiliti.components; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics2D; import java.awt.event.FocusAdapter; import java.awt.event.FocusEvent; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.maizegenetics.pal.popgen; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import java.util.TreeMap; import net.maizegenetics.gwas.imputation.EmissionProbability; import net.maizegen...
package fitnesse.reporting; import java.text.DecimalFormatSymbols; import java.util.Date; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static util.RegexTestCase.assertHasRegexp; import static util.RegexTestCase.assertSubString; import fitnesse.FitNesseContext; import fitnesse.t...
package brooklyn.util.ssh; import static java.lang.String.format; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.LinkedList; import java.util.List; import java.util.Map; import brooklyn.util.collections.MutableMap; import brooklyn.util.text.Identifiers; import brookly...
package net.meisen.general.genmisc.raster.data.impl; import java.util.HashMap; import java.util.Map; import net.meisen.general.genmisc.raster.data.IModelData; /** * A basic <code>ModelData</code> implementation which is based on a {@link Map} * * @author pmeisen */ public class BaseModelData implements IModelData {...
package org.onlab.netty; import java.io.IOException; /** * Internal message representation with additional attributes * for supporting, synchronous request/reply behavior. */ public final class InternalMessage implements Message { private long id; private Endpoint sender; private String type; private...
package net.reliableresponse.notification.web.actions; import java.math.BigInteger; import java.util.List; import java.util.Vector; import java.util.stream.Collectors; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import net.reliableresponse.not...
package org.bouncycastle.openpgp; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; import org.bouncycastle.asn1.x9.ECNamedCurveTable; import org...
package VASSAL.configure; import java.awt.Component; import java.awt.Dimension; import java.io.File; import java.io.InputStream; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing...
package org.hollowcraft.server.persistence; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Map; import org.hollowcraft.server.model.Player; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.thoughtworks.xstream.XStream; /** * A persistence request wh...
// FEIReader.java package loci.formats.in; import java.io.IOException; import loci.common.RandomAccessInputStream; import loci.formats.FormatException; import loci.formats.FormatReader; import loci.formats.FormatTools; import loci.formats.MetadataTools; import loci.formats.meta.FilterMetadata; import loci.formats.meta....
package loci.formats.in; import java.io.IOException; import ome.xml.model.primitives.Timestamp; import loci.common.DataTools; import loci.common.DateTools; import loci.common.RandomAccessInputStream; import loci.formats.CoreMetadata; import loci.formats.FormatException; import loci.formats.FormatReader; import loci.for...
package io.vertx.ext.auth; import io.vertx.core.Vertx; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.ext.auth.impl.jose.JWK; import io.vertx.ext.auth.impl.jose.JWT; import org.junit.Test; import static org.junit.Assert.*; import static org.junit.Assume.*; public class JWKTes...
package rhomobile.mapview; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import com.rho.RhoEmptyLogger; import com.rho.RhoLogger; import com.rho.rubyext.WebView; import net.rim.device.api.system.Application; import net.rim.device.api.system.Bitmap; import net.rim.device.api.system.D...
package org.callimachusproject.api; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Authenticator; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.PasswordAuthentication; import java.net.ProtocolException; import java.net.URL...
/* * $Id: TestOpenUrlResolver.java,v 1.14 2011-11-01 11:44:43 pgust Exp $ */ package org.lockss.daemon; import java.io.*; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.*; import javax.sql.DataSource; import org.lockss.config.*; import ...
package com.yahoo.osgi; import com.yahoo.component.ComponentSpecification; import com.yahoo.component.Version; import com.yahoo.container.bundle.BundleInstantiationSpecification; import com.yahoo.jdisc.application.OsgiFramework; import org.osgi.framework.Bundle; import org.osgi.framework.BundleException; import org.osg...
package org.broadinstitute.sting.utils.baq; import net.sf.picard.reference.IndexedFastaSequenceFile; import net.sf.picard.reference.ReferenceSequence; import net.sf.samtools.CigarElement; import net.sf.samtools.CigarOperator; import net.sf.samtools.SAMRecord; import net.sf.samtools.SAMUtils; import org.broadinstitute.s...
package com.mysema.query; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.mysema.query.grammar.OrderSpecifier; import com.mysema.query.grammar.Types.Expr; import com.mysema.query.grammar.Types.ExprBoolean; import com.mysema.query.grammar.Types.ExprEntity; /** * QueryBase provides...
package railo.runtime.type; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInput; import java.io.ObjectOutput; import java.io.Reader; import java.io.StringReader; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.net....
package org.spine3.server.storage.jdbc; /** * Set o enums and utilities for constructing the SQL sentences. * // TODO:13-01-17:dmytro.dashenkov: Javadoc. * * @author Dmytro Dashenkov */ public class Sql { public static String nPlaceholders(int n) { final StringBuilder result = new StringBuilder(n * 2 +...
package org.yamcs.tctm; import org.hornetq.api.core.HornetQException; import org.hornetq.api.core.SimpleString; import org.hornetq.api.core.client.ClientMessage; import org.hornetq.api.core.client.MessageHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.yamcs.ConfigurationException; import or...
package com.enigmabridge; import com.enigmabridge.create.Constants; import org.json.JSONObject; import java.io.Serializable; import java.math.BigInteger; public class UserObjectType implements Serializable{ public static final long INVALID_TYPE = -1; protected static final int TYPE_MASK = 0xffff; // Request...
package com.buschmais.cdo.neo4j.test.embedded.issues.initialize_primitive_values; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.nullValue; import static org.junit.Assert.assertThat; import org.junit.Test; import com.buschmais.cdo.api.CdoManager; import com.buschmais.cdo.neo4j.test.embedded...
package org.metaborg.spoofax.meta.core.stratego.primitive; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.v...
package org.intermine.web; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.actions.DispatchAction; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.str...
package org.voltdb.planner; import java.util.ArrayList; import java.util.List; import org.voltdb.plannodes.AbstractPlanNode; import org.voltdb.plannodes.DeletePlanNode; import org.voltdb.plannodes.IndexScanPlanNode; import org.voltdb.plannodes.InsertPlanNode; import org.voltdb.plannodes.OrderByPlanNode; import org.volt...
package edu.northwestern.bioinformatics.studycalendar.utility.osgimosis; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.Constructor; import java.util.Arrays; import java.util.Collection; import java.util.LinkedHashSet...
package com.github.sarxos.webcam.ds.gstreamer; import java.awt.Dimension; import java.awt.image.BufferedImage; import java.awt.image.DataBufferInt; import java.nio.IntBuffer; import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import...
package org.lxp.java8; import static java.util.Comparator.comparingInt; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; import java.util.stream.Stream; import org...
package biz.neustar.ultra.rest.client; import java.io.IOException; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import biz.neustar.ultra.rest.constants.ZoneType; import biz.neustar.ultra.rest.dto.AccountList; import ...
package br.com.rcmoutinho.javatohtml.core.tag; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.Before; import org.junit.Test; import br.com.rcmoutinho.javatohtml.core.Element; import br.com.rcmoutinho.javatohtml.core.ElementUtils; import br.com.rcmoutinho...