answer
stringlengths
17
10.2M
package com.altamiracorp.bigtable.model.accumulo; import com.altamiracorp.bigtable.model.*; import com.altamiracorp.bigtable.model.user.ModelUserContext; import com.altamiracorp.bigtable.model.user.accumulo.AccumuloUserContext; import org.apache.accumulo.core.client.*; import org.apache.accumulo.core.client.Scanner; im...
package io.luna.game.model.mobile; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterators; import com.google.common.collect.Range; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.Iterator; import java.util.Spliterator; import java.util.Spliterators...
package com.axiomalaska.sos.injector.db; import static com.axiomalaska.sos.injector.db.DatabaseSosInjectorHelper.getDouble; import static com.axiomalaska.sos.injector.db.DatabaseSosInjectorHelper.makeDocument; import static com.axiomalaska.sos.injector.db.DatabaseSosInjectorHelper.requireNonNull; import static com.axio...
package io.sommers.meltsamany; import com.google.common.collect.Lists; import minetweaker.MineTweakerAPI; import minetweaker.api.item.IIngredient; import minetweaker.api.item.IItemStack; import minetweaker.api.liquid.ILiquidStack; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.FluidStack; import ...
package com.ctrip.zeus.service.activate.impl; import com.ctrip.zeus.dal.core.*; import com.ctrip.zeus.exceptions.ValidationException; import com.ctrip.zeus.model.entity.*; import com.ctrip.zeus.model.transform.DefaultSaxParser; import com.ctrip.zeus.service.activate.ActivateService; import com.ctrip.zeus.service.model....
package jbyoshi.blockdodge.core; import java.awt.*; import java.awt.geom.*; import java.util.*; import jbyoshi.blockdodge.*; public abstract class DodgeShape { protected final BlockDodge game; protected final Random rand = new Random(); final Color color; private static final float DROP_SCALE = 0.25f; ...
package com.deathrayresearch.outlier.columns; import com.google.common.base.Strings; import com.google.common.primitives.Ints; import java.time.DayOfWeek; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.Month; import java.time.chrono.IsoChronology; import java.ti...
package jenkins.plugins.git; import hudson.EnvVars; import hudson.ExtensionList; import hudson.ExtensionPoint; import hudson.model.Item; import hudson.model.Node; import hudson.model.TaskListener; import hudson.plugins.git.GitTool; import hudson.plugins.git.util.GitUtils; import jenkins.model.Jenkins; import org.apache...
package com.dongdongxia.myfastjson.serializer; import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Type; import java.util.HashMap; import java.util.Map; import com.dongdongxia.myfastjson.annotation.JSONField; import com.dongdongxia.myf...
package com.elmakers.mine.bukkit.action.builtin; import com.elmakers.mine.bukkit.action.BaseSpellAction; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.block.MaterialBrush; import com.elmakers.mine.bukkit.api.spell.SpellResult; import org.bukkit.block.Block; public class Che...
package gnu.text; import java.io.*; /** * Framework for implementing lexical scanners and parsers. * @author Per Bothner */ public class Lexer extends Reader { protected LineBufferedReader port; protected boolean interactive; public Lexer(LineBufferedReader port) { this.port = port; } public Lexer...
package com.firstblick.elasticsearch.service.export; import com.google.common.collect.ImmutableMap; import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.common.inject.Inject; import org.elasticsearch.common.xcontent.XContentFactory; import org.elasticsearch.common.xcontent.XContentHelper; impo...
package net.gescobar.jmx.annotation; import javax.management.MBeanOperationInfo; /** * An enum that maps to * <code>impact</code> options of the * <code>MBeanOperationInfo</code>. * * @author German Escobar */ public enum Impact { ACTION(MBeanOperationInfo.ACTION), INFO(MBeanOperationInfo.INFO), ACTIO...
package com.github.bingoohuang.blackcat.sdk.netty; import com.github.bingoohuang.blackcat.sdk.BlackcatClientConfig; import com.github.bingoohuang.blackcat.sdk.utils.Blackcats; import com.google.common.net.HostAndPort; import io.netty.handler.ssl.SslContext; import io.netty.handler.ssl.SslContextBuilder; import io.netty...
package se.l4.vibe.mail; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Properties; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ThreadFactory; import org.slf4j.Logger; impor...
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.Bytes; import net.openhft.chronicle.bytes.BytesStore; import net.openhft.chronicle.core.io.IORuntimeException; import net.openhft.chronicle.core.pool.ClassAliasPool; import net.openhft.chronicle.core.util.*; import net.openhft.chronicle.core.values....
package net.reini.rabbitmq.cdi; import java.io.IOException; import java.util.HashSet; import java.util.Objects; import java.util.Set; import javax.annotation.PostConstruct; import javax.enterprise.event.Event; import javax.enterprise.inject.Instance; import javax.inject.Inject; import javax.inject.Singleton; import org...
package net.reini.rabbitmq.cdi; import java.io.IOException; import java.util.HashSet; import java.util.Set; import javax.annotation.PostConstruct; import javax.enterprise.event.Event; import javax.enterprise.inject.Instance; import javax.inject.Inject; import javax.inject.Singleton; import org.slf4j.Logger; import org....
package com.tommytony.war.event; import java.util.HashMap; import java.util.List; import org.bukkit.ChatColor; import org.bukkit.Effect; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.BlockFace; import org.bukkit.entity.Item; import org.bukkit.entity.Player; import org.bukkit.event.Even...
package net.whydah.identity.util; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebResource; import com.sun.jersey.core.util.MultivaluedMapImpl; import net.whydah.identity.config.AppConfig; import net.whydah.identity.data.ApplicationCredential...
package com.kryptnostic.v2.storage.models; import java.util.Map; import java.util.UUID; import javax.annotation.concurrent.Immutable; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Optional; @Immutable public class ObjectTreeLoadR...
package com.tommytony.war.mapper; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.text.DecimalFormat; import java.util.Arrays; import java.util.List; import ...
package no.sonat.battleships; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import no.sonat.battleships.models.Coordinate; import no.sonat.battleships.models.Ship; import no.sonat.battleships.models.ShootMes...
package com.nway.spring.jdbc.bean.processor.asm; import com.nway.spring.jdbc.bean.processor.BeanProcessor; import org.springframework.dao.IncorrectResultSizeDataAccessException; import org.springframework.jdbc.support.JdbcUtils; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException;...
package org.jmxtrans.agent.util.io; import org.jmxtrans.agent.util.logging.Logger; import org.w3c.dom.Document; import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; import java.io.Closeable; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileO...
package com.sequenceiq.provisioning.service; import groovyx.net.http.HttpResponseException; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.sequen...
package cz.jiripinkas.jsitemapgenerator; import java.io.*; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.util.zip.GZIPOutputStream; import cz.jiripinkas.jsitemapgenerator.exception.GWTException; public abstract class AbstractSitemapGenerator <T extends Abst...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.lightmare.cac...
package edu.kit.ipd.crowdcontrol.objectservice.config; public class Deployment { /** * Deployment origin of the control ui. */ public String origin; }
package edu.unc.irss.arc.dataverse.client; import com.jayway.jsonpath.Configuration; import com.jayway.jsonpath.DocumentContext; import com.jayway.jsonpath.JsonPath; import com.jayway.jsonpath.TypeRef; import com.jayway.jsonpath.spi.mapper.JacksonMappingProvider; import com.jayway.jsonpath.spi.mapper.MappingProvider; i...
package org.nlpcn.es4sql.parse; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import com.alibaba.druid.sql.ast.SQLExpr; import com.alibaba.druid.sql.ast.expr.SQLBetweenExpr; import com.alibaba.druid.sql.ast.expr.SQLBinaryOpExpr; import com.alibaba.druid.sql.ast.expr.SQLBinaryOperator; i...
package org.mskcc.cbio.portal.web; import org.cbioportal.model.virtualstudy.VirtualStudyData; import org.json.simple.JSONObject; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpEntity; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; ...
package info.ata4.minecraft.minema.client.modules; import java.io.File; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import info.ata4.minecraft.minema.client.capture.Frameb...
package org.opencompare; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.opencompare.api.java.*; import org.opencompare.api.java.impl.io.KMFJSONLoader; import org.opencompare.api.java.io.HTMLExporter; import org.opencompare.api.java.io.PCMLoader; import org.opencompar...
package io.korobi.mongotoelastic.processor; import com.mongodb.BasicDBObject; import com.mongodb.client.MongoCursor; import com.mongodb.client.MongoDatabase; import io.korobi.mongotoelastic.exception.ImportException; import io.korobi.mongotoelastic.logging.InjectLogger; import io.korobi.mongotoelastic.mongo.IChannelBla...
package org.oregami.resources; import com.google.inject.Inject; import org.oregami.data.UserDao; import org.oregami.entities.user.User; import org.oregami.service.IUserService; import org.oregami.service.ServiceResult; import org.oregami.util.MailHelper; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import j...
package net.avatar.realms.spigot.commandsign; import org.bukkit.ChatColor; import org.bukkit.block.Block; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event....
package net.sf.jabb.txsdp; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Random; import java.util.TreeMap; import java.util.concurrent.atomi...
package nz.ac.lconz.irr.curate.task; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; import org.dspace.authorize.AuthorizeException; import org.dspace.authorize.AuthorizeManager; import org.dspace.authorize.ResourcePolicy; import org.dspace.content.*; import org.dspace.core.ConfigurationMana...
package org.smoothbuild.parse; import static java.util.Optional.empty; import static org.smoothbuild.lang.type.TNamesS.isVarName; import static org.smoothbuild.lang.type.VarSetS.toVarSetS; import static org.smoothbuild.parse.InferArgsToParamsAssignment.inferArgsToParamsAssignment; import static org.smoothbuild.parse.Pa...
package org.spiffyui.client.rest; import java.util.ArrayList; import java.util.HashMap; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JavaScriptException; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestBuilder; import com.google.gwt.http.client.RequestCall...
package org.voovan.tools; import org.voovan.tools.Exception.MemoryReleasedException; import org.voovan.tools.log.Logger; import org.voovan.tools.reflect.TReflect; import sun.misc.Cleaner; import sun.misc.Unsafe; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.lang.reflect.C...
package org.araymond.joal.core.ttorent.client.announce; import com.turn.ttorrent.client.announce.AnnounceException; import com.turn.ttorrent.common.Peer; import org.apache.commons.lang3.NotImplementedException; import org.araymond.joal.core.client.emulated.BitTorrentClient; import org.araymond.joal.core.events.Somethin...
package org.webjars.servlet; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream;...
package org.broadinstitute.hellbender.cmdline; import com.intel.gkl.compression.IntelDeflaterFactory; import com.intel.gkl.compression.IntelInflaterFactory; import htsjdk.samtools.Defaults; import htsjdk.samtools.metrics.Header; import htsjdk.samtools.metrics.MetricBase; import htsjdk.samtools.metrics.MetricsFile; impo...
package org.cru.godtools.api.translations; import org.cru.godtools.domain.languages.Language; import org.cru.godtools.domain.packages.Package; import org.cru.godtools.domain.packages.PageStructure; import org.cru.godtools.domain.packages.PageStructureService; import org.cru.godtools.domain.packages.TranslationElement; ...
package seedu.ezdo.logic.parser; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.u...
package org.csanchez.jenkins.plugins.kubernetes; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume; import org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.WorkspaceVolume; import java.util.ArrayList; import java...
package seedu.jimi.logic.parser; import static seedu.jimi.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.jimi.commons.core.Messages.MESSAGE_INVALID_DATE; import static seedu.jimi.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import java.util.ArrayList; import java.util.Arrays; import java.ut...
package org.datadog.jenkins.plugins.datadog; import com.timgroup.statsd.NonBlockingStatsDClient; import com.timgroup.statsd.StatsDClient; import com.timgroup.statsd.StatsDClientException; import static hudson.Util.fixEmptyAndTrim; import hudson.EnvVars; import hudson.Extension; import hudson.model.AbstractProject; impo...
package seedu.unburden.logic.parser; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import static seedu.unburden.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.unburden.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLAYED_INDEX; import static ...
package org.datadog.jenkins.plugins.datadog; import com.timgroup.statsd.NonBlockingStatsDClient; import com.timgroup.statsd.StatsDClient; import com.timgroup.statsd.StatsDClientException; import static hudson.Util.fixEmptyAndTrim; import hudson.EnvVars; import hudson.Extension; import hudson.model.AbstractProject; impo...
package com.wegas.core.ejb; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.wegas.core.Helper; import com.wegas.core.exception.internal.WegasNoResultException; import com.wegas.core.i18n.persistence.TranslatableContent; import com.wegas.core.jcr.content.Con...
package throwing.function; import java.util.Objects; @FunctionalInterface public interface ThrowingFunction<T, R, X extends Throwable> { public R apply(T t) throws X; default public <RR> ThrowingFunction<T, RR, X> andThen(ThrowingFunction<? super R, ? extends RR, ? extends X> after) { Objects.requireNon...
package us.ihmc.aci.dspro.pcap; public class ByteSwapper { /** * Byte swap a single short value. * * @param value Value to byte swap. * @return Byte swapped representation. */ public static int swapUnsignedShort (int value) { int b1 = (value >> 0) & 0xff; int...
package org.granitepowered.granite.impl.guice; import com.google.inject.AbstractModule; import com.google.inject.Key; import com.google.inject.Scopes; import org.granitepowered.granite.Granite; import org.granitepowered.granite.impl.GraniteGameRegistry; import org.granitepowered.granite.impl.GraniteServer; import org.g...
package org.intellimate.server.database.operations; import org.intellimate.server.BadRequestException; import org.intellimate.server.database.model.tables.records.AppDependencyRecord; import org.intellimate.server.database.model.tables.records.AppInstanceRecord; import org.intellimate.server.database.model.tables.recor...
package org.januslabs.ansible.http.config; import org.januslabs.ansible.http.endpoints.AnsibleConfiguration; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.embedded.EmbeddedServletContainerFactory; import or...
package org.jboss.loom.migrators._groovy; import java.io.File; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.jboss.loom.actions.IMigrationAction; import org.jboss.loom.conf.GlobalConfiguration; import org.jboss.loom.ctx.MigrationContext; import org.jboss....
package org.jboss.netty.handler.codec.frame; import static org.jboss.netty.buffer.ChannelBuffers.*; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelPipelineCoverage; import org.jboss.netty.ha...
package org.mtransit.android.commons.provider; import android.annotation.SuppressLint; import android.content.ContentValues; import android.content.Context; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; ...
package org.nybatis.core.db.session.type.orm; import org.nybatis.core.db.cache.CacheManager; import org.nybatis.core.db.session.type.sql.SqlSessionImpl; import org.nybatis.core.exception.unchecked.InvalidArgumentException; import java.util.List; /** * @author nayasis@gmail.com * @since 2015-09-21 */ public class Orm...
package org.smoothbuild.exec.task.plan; import static org.smoothbuild.exec.task.base.IfTask.IF_FUNCTION_NAME; import static org.smoothbuild.exec.task.base.Task.taskTypes; import static org.smoothbuild.lang.base.Scope.scope; import static org.smoothbuild.lang.base.type.GenericTypeMap.inferMapping; import static org.smoo...
package org.suren.autotest.web.framework.selenium; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLDecoder; import java.util.Properties; import java.util.concurrent.TimeUnit; import org.apache.commons.io.IOUtils; import org.ope...
package org.yamcs.tctm; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.yamcs.ConfigurationException; import org.yamcs.StandardTupleDefinitions; import org.yamcs.YConfiguration...
package pete.metrics.adaptability.nodecounters; import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map;...
package skadistats.clarity.processor.reader; import com.google.protobuf.ByteString; import com.google.protobuf.CodedInputStream; import com.google.protobuf.GeneratedMessage; import com.google.protobuf.ZeroCopy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.xerial.snappy.Snappy; import skadistats.c...
package org.camunda.bpm.pa; import static org.camunda.bpm.engine.variable.Variables.createVariables; import static org.camunda.bpm.engine.variable.Variables.fileValue; import java.io.InputStream; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Map; i...
package org.openspaces.pu.container.servicegrid; import org.jini.rio.core.SLA; import org.jini.rio.core.ServiceLevelAgreements; import org.jini.rio.core.jsb.ServiceBeanContext; import org.jini.rio.jsb.ServiceBeanAdapter; import org.openspaces.core.cluster.ClusterInfo; import org.openspaces.pu.container.integrated.Integ...
package net.domesdaybook.expression.compiler.singlebyte; import java.util.Set; import net.domesdaybook.expression.compiler.AstCompiler; import net.domesdaybook.expression.parser.ParseException; import net.domesdaybook.expression.parser.ParseUtils; import net.domesdaybook.expression.parser.regularExpressionParser; impor...
package net.sf.jaer.eventprocessing.filter; import com.jogamp.opengl.GL2; import com.jogamp.opengl.GLAutoDrawable; import com.jogamp.opengl.util.gl2.GLUT; import java.awt.Desktop; import java.beans.PropertyChangeEvent; import java.io.File; import java.util.Arrays; import java.util.Observable; import net.sf.jaer.Descrip...
package org.jetbrains.plugins.scala.script; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.TextFieldWithBrowseButton; import com.intellij.openapi.fileChooser.FileChooserDescriptor; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.ui.RawCommandLineEditor; import javax.swing.*...
package com.alibaba.easyexcel.test.demo.read; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba.excel.context.AnalysisContext; import com.alibaba.excel.event.AnalysisEventListener; import com.alibaba.fastjson.JSON; /** *...
package com.github.phantomthief.failover.impl; import static com.google.common.collect.ImmutableList.of; import static com.google.common.util.concurrent.Uninterruptibles.sleepUninterruptibly; import static java.lang.System.currentTimeMillis; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.u...
package edu.upc.caminstech.equipstic.client; import static org.junit.Assert.*; import java.net.URI; import java.util.List; import org.junit.Assume; import org.junit.BeforeClass; import org.junit.Test; import org.springframework.util.StringUtils; import edu.upc.caminstech.equipstic.Campus; import edu.upc.caminstech.equi...
package fr.cs.orekit.perturbations; import java.io.FileNotFoundException; import java.text.ParseException; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.apache.commons.math.geometry.Rotation; import org.apache.commons.math.geometry.Vector3D; import org.apache...
package jenkins.plugins.fogbugz.jobpoller; import hudson.Launcher; import hudson.model.*; import jenkins.plugins.fogbugz.jobtrigger.FogbugzEventListener; import jenkins.plugins.fogbugz.notifications.FogbugzNotifier; import lombok.extern.java.Log; import org.junit.Rule; import org.junit.Test; import org.junit.runner.Run...
package pt.fccn.mobile.arquivo.tests.imagesearch; import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.openqa.selenium.By; import pt.fccn.arqu...
package us.kbase.workspace.test.controllers.handle; import static us.kbase.common.test.controllers.ControllerCommon.findFreePort; import static us.kbase.common.test.controllers.ControllerCommon.makeTempDirs; import java.io.File; import java.io.IOException; import java.net.URL; import java.nio.file.Files; import java.ni...
package org.stagemonitor.core.util; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.TimeZone; import java.util.regex.Pattern; import org.stagemonitor.core.configuration.converter.SetValueConverter; public class StringUtils { public sta...
package stroom.test.common.util.db; import stroom.config.common.CommonDbConfig; import stroom.config.common.ConnectionConfig; import stroom.config.common.HasDbConfig; import stroom.db.util.AbstractFlyWayDbModule; import stroom.util.ConsoleColour; import stroom.util.db.ForceCoreMigration; import stroom.util.logging.Lamb...
package org.biojava.bio.structure.align.util; import java.io.IOException; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.biojava.bio.structure.Atom; import org.biojava.bio.structure.Chain; import org.biojava.bio.structure.Structure; import org.biojava.bio.structure.StructureExceptio...
package com.splicemachine.test.nist; import com.splicemachine.test.diff.DiffEngine; import com.splicemachine.test.runner.SpliceRunner; import com.splicemachine.test.runner.TestRunner; import com.splicemachine.test.utils.TestUtils; import com.splicemachine.test.verify.Verifier; import com.splicemachine.test.verify.Verif...
package com.indvd00m.vaadin.navigator; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import com.indvd00m.vaadin.navigator.api.HierarchyDirection; import com.indvd00m.vaadin.navigator.api.ISubNavigator; import ...
package org.sagebionetworks.bridge.models.healthdata; 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 java.util.HashMap; import java.util.Ha...
package ${package}.utils; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class SecondaryFilesDslLoader<T> implements Loader<T> { private final Loader<T> innerLoader; public SecondaryFilesDslLoader(final Loader<T> innerLoader) { this.innerLoader = innerL...
package org.spine3.server.entity; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableSet; import com.google.protobuf.Descriptors; import com.google.protobuf.Message; import com.google.protobuf.Timestamp; import org.spine3.server.reflect.Classes; impor...
package org.slf4j.agent; import static org.slf4j.helpers.MessageFormatter.format; import java.io.ByteArrayInputStream; import java.io.IOException; import java.lang.instrument.Instrumentation; import java.util.Date; import java.util.Properties; import org.slf4j.instrumentation.LogTransformer; /** * Entry point for slf4...
package com.intellij.ide.scopeView; import com.intellij.ProjectTopics; import com.intellij.coverage.CoverageDataManager; import com.intellij.ide.CopyPasteManagerEx; import com.intellij.ide.DeleteProvider; import com.intellij.ide.IdeBundle; import com.intellij.ide.IdeView; import com.intellij.ide.dnd.aware.DnDAwareTree;...
package org.lucee.extension.pdf.tag; import java.awt.Dimension; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Iterator; import java.uti...
package net.fortuna.ical4j.model; import java.net.URISyntaxException; import net.fortuna.ical4j.model.parameter.Abbrev; import net.fortuna.ical4j.model.parameter.AltRep; import net.fortuna.ical4j.model.parameter.Cn; import net.fortuna.ical4j.model.parameter.CuType; import net.fortuna.ical4j.model.parameter.DelegatedFro...
package net.fortuna.ical4j.model.component; import java.util.Calendar; import java.util.Collections; import java.util.Iterator; import java.util.Map; import java.util.TreeMap; import net.fortuna.ical4j.model.Component; import net.fortuna.ical4j.model.Date; import net.fortuna.ical4j.model.DateList; import net.fortuna.ic...
package com.dev.campus.directory; import java.io.IOException; import java.text.Normalizer; import java.util.ArrayList; import java.util.List; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import com.dev.campus.CampusUB1App; import com.dev.camp...
package scalac.transformer.matching; import scalac.ast.*; import scalac.util.*; import scalac.symtab.*; import java.util.*; public class TestRegTraverser extends Traverser { boolean result = false; Set variables = new HashSet(); public void traverse(Tree tree) { if (!result) switch (tree...
package cgeo.geocaching; import cgeo.geocaching.DataStore.StorageLocation; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.connector.ConnectorFactory; import cgeo.geocaching.connector.IConnector; import cgeo.geocaching.connector.ILoggingManager; import cgeo.geocaching.connector.capability.ISearchB...
package mockit; import java.io.*; import org.junit.*; import static org.junit.Assert.*; public final class ExpectationsTest { static class Collaborator { private int value; Collaborator() {} Collaborator(int value) { this.value = value; } private static String doInternal() { return "123"; ...
package org.codehaus.groovy.util; import java.lang.ref.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; import java.util.Set; import java.util.LinkedHashSet; public interface FinalizableRef { public void finalizeR...
package edu.washington.escience.myria; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.Test; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; public class Sc...
package afc.jsp.tag; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.SimpleTagSupport; import junit.framework.TestCase; public class EventTag_InvalidUseTest extends TestCase { public void testEventTagOutsideBuilderTagBase_NoParent_WithBody() throws Exception { final EventTag tag =...
package pt.fccn.arquivo.pages; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Locale; import java.uti...