answer
stringlengths
17
10.2M
package com.exedio.cope.console; import java.io.PrintStream; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.exedio.cope.Model; import ...
package com.android.phone.settings; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.net.sip.SipManager; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.ListPreference; import android.prefere...
package com.freetymekiyan.algorithms.level.medium; /** * Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. * <p> * For example, given the following matrix: * <p> * 1 0 1 0 0 * 1 0 1 1 1 * 1 1 1 1 1 * 1 0 0 1 0 * Return 4. * <p> * Company Tags: ...
package com.gmail.St3venAU.plugins.ArmorStandTools; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.SkullType; import org.bukkit.block.Block; import org.bukkit.block.CommandBlock; import org.bukkit.block.Skull; import org.bukkit.entity.Arm...
package com.vectrace.MercurialEclipse.team; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List...
package codeine.db.mysql.connectors; import com.google.gson.JsonSyntaxException; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import javax.inject.Inject; import org.apache.log4j.Logger; import codeine.db.IStatusDatabaseConnec...
package dyvil.tools.compiler.ast.generic; import dyvil.reflect.Modifiers; import dyvil.tools.asm.TypeAnnotatableVisitor; import dyvil.tools.asm.TypePath; import dyvil.tools.asm.TypeReference; import dyvil.tools.compiler.ast.annotation.AnnotationList; import dyvil.tools.compiler.ast.annotation.IAnnotation; import dyvil....
package de.matthiasmann.twlthemeeditor.fontgen.gui; import de.matthiasmann.twl.Button; import de.matthiasmann.twl.DialogLayout; import de.matthiasmann.twl.Label; import de.matthiasmann.twl.ValueAdjuster; import de.matthiasmann.twl.Widget; import de.matthiasmann.twl.model.BooleanModel; import de.matthiasmann.twl.utils.C...
package de.mrapp.android.view.drawable; import android.animation.Animator; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.animation.Animator.AnimatorListener; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import andro...
package dr.app.beauti.generator; import dr.app.beauti.XMLWriter; import dr.app.beauti.components.ComponentFactory; import dr.app.beauti.options.BeautiOptions; import dr.app.beauti.options.PartitionModel; import dr.evolution.util.Taxon; import dr.evolution.util.TaxonList; import dr.evomodel.speciation.SpeciationLikeliho...
package org.rstudio.core.client.theme; import java.util.ArrayList; import org.rstudio.core.client.Debug; import org.rstudio.core.client.StringUtil; import org.rstudio.core.client.dom.DomUtils; import org.rstudio.core.client.dom.DomUtils.NodePredicate; import org.rstudio.core.client.events.HasTabCloseHandlers; import or...
package org.dellroad.stuff.vaadin; import java.io.IOException; import java.io.ObjectInputStream; import java.io.Serializable; import java.util.concurrent.atomic.AtomicLong; import javax.servlet.ServletContext; import org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver; import org.springframewo...
package hudson.util; import com.thoughtworks.xstream.converters.Converter; import com.thoughtworks.xstream.converters.MarshallingContext; import com.thoughtworks.xstream.converters.UnmarshallingContext; import com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter; import com.thoughtworks.xstream.i...
package org.jivesoftware.messenger.container; import org.jivesoftware.messenger.JiveGlobals; import org.jivesoftware.util.Log; import org.dom4j.Document; import org.dom4j.Element; import org.dom4j.io.SAXReader; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.htt...
package jenkins.util.io; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import hudson.Functions; import hudson.Util; import org.kohsuke.accmod.Restricted; import org.kohsuke.accmod.restrictions.NoExternalUse; import javax.annotation.Nonnull; import java.io.IOException; import java.nio.file.DirectoryStream; ...
package org.helioviewer.gl3d.model.image; import java.awt.Component; import java.awt.Point; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.util.ArrayList; import javax.media.opengl.GL2; import org.helioviewer.base.Pair; import org.helioviewer.base.math.Vector2dDouble; import org.helioviewer.base.ph...
package jp.gr.java_conf.neko_daisuki.anaudioplayer; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; impor...
package com.xinra.growthlectures.frontend; import com.xinra.growthlectures.service.LectureSummaryDto; import com.xinra.growthlectures.service.NamedDto; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Compon...
package StevenDimDoors.mod_pocketDimClient; import static org.lwjgl.opengl.GL11.*; import java.awt.Point; import java.util.HashMap; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import org.lwjgl.opengl.GL11; ...
package ch.liquidmind.inflection.proxy; import java.io.File; import java.io.OutputStream; import java.io.PrintWriter; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.Ar...
package com.addicks.sendash.admin.service; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; impor...
package net.meeusen.crypto; import java.util.Arrays; import org.bouncycastle.crypto.engines.AESEngine; import org.bouncycastle.crypto.modes.CCMBlockCipher; import org.bouncycastle.crypto.params.AEADParameters; import org.bouncycastle.crypto.params.KeyParameter; import net.meeusen.util.ByteString; /** * Wrappers around...
package com.cobalt.cdpipeline.Controllers; import java.util.ArrayList; import java.util.List; import java.util.Set; import com.atlassian.bamboo.plan.Plan; import com.atlassian.bamboo.plan.PlanManager; import com.atlassian.bamboo.plan.TopLevelPlan; import com.atlassian.bamboo.project.Project; import com.atlassian.bamboo...
package com.fasterxml.jackson.databind; import java.io.IOException; import java.util.Iterator; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable; import com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper; import com.fasterxml.jackso...
package com.github.horrorho.liquiddonkey.cloud; import com.github.horrorho.liquiddonkey.cloud.data.Backup; import com.github.horrorho.liquiddonkey.cloud.data.Account; import com.github.horrorho.liquiddonkey.cloud.data.Accounts; import com.github.horrorho.liquiddonkey.cloud.data.Auth; import com.github.horrorho.liquiddo...
package com.github.kratorius.cuckoohash; import java.util.*; @SuppressWarnings("WeakerAccess") public class CuckooHashMap<K, V> extends AbstractMap<K, V> implements Map<K, V> { // TODO implement Cloneable, Serializable and fail fast iterators. private static final int THRESHOLD_LOOP = 8; private static final int ...
package com.gordon_from_blumberg.utils; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Properties; /** * Util class for work with properties files */ public class ProperiesUtils { private static final String PROPERTIES...
package com.kryptnostic.v2.api; import java.util.UUID; import com.kryptnostic.v2.constants.Names; import retrofit.http.GET; import retrofit.http.Path; public interface ObjectAuthorizationApi { String CONTROLLER = "/access"; String READERS_PATH = "/readers"; String WRITERS_PATH = "/writers"; String OWN...
package com.lazerycode.selenium.extract; import com.lazerycode.selenium.exceptions.ExpectedFileNotFoundException; import com.lazerycode.selenium.repository.BinaryType; import org.apache.commons.compress.archivers.ArchiveEntry; import org.apache.commons.compress.archivers.ArchiveInputStream; import org.apache.commons.co...
package com.lothrazar.cyclicmagic.spell; import com.lothrazar.cyclicmagic.util.UtilSound; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.BlockPos; import net.minecraft.util.En...
package com.plivo.helper.api.response.account; import com.google.gson.annotations.SerializedName; public class Account { public String city ; public String name ; @SerializedName("cash_credits") public String cashCredits ; public String created ; public String enabled ; public String modifie...
package com.raphydaphy.vitality.render; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.lwjgl.input.Keyboard; import org.lwjgl.input.Mouse; import com.google.common.collect.ImmutableSet; import com.raphydaphy.vitality.api.spell.Spell; import com.raphydaphy.vitality.api.spell.Sp...
package com.redhat.ceylon.compiler.js; import java.util.ArrayList; import java.util.Map; import java.util.Objects; import com.redhat.ceylon.compiler.typechecker.model.Class; import com.redhat.ceylon.compiler.typechecker.model.Declaration; import com.redhat.ceylon.compiler.typechecker.model.Method; import com.redhat.cey...
package com.sonymobile.gitlab.model; /** * Access levels to a GitLab group for a group member. * * @author Emil Nilsson */ public enum GitLabAccessLevel { /** Not a member in a group. */ NONE ("None", 0), /** A guest in a group. */ GUEST ("Guest", 10), /** A reporter in...
package com.sourcepulp.treespy.jse7; import static java.nio.file.LinkOption.NOFOLLOW_LINKS; import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE; import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE; import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY; import static java.nio.file.St...
package com.stratio.qa.cucumber.testng; import cucumber.api.CucumberOptions; import cucumber.runtime.ClassFinder; import cucumber.runtime.CucumberException; import cucumber.runtime.RuntimeOptions; import cucumber.runtime.RuntimeOptionsFactory; import cucumber.runtime.io.MultiLoader; import cucumber.runtime.io.ResourceL...
// File generated from our OpenAPI spec package com.stripe.param.checkout; import com.google.gson.annotations.SerializedName; import com.stripe.net.ApiRequestParams; import java.math.BigDecimal; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import lombok.Getter; @Get...
package com.wizzardo.http.framework; import com.wizzardo.epoll.readable.ReadableData; import com.wizzardo.http.Handler; import com.wizzardo.http.MultiValue; import com.wizzardo.http.framework.di.DependencyFactory; import com.wizzardo.http.framework.template.Renderer; import com.wizzardo.http.request.Parameters; import ...
package com.xpn.xwiki.objects.classes; import com.xpn.xwiki.objects.meta.PropertyMetaClass; import com.xpn.xwiki.objects.BaseCollection; import com.xpn.xwiki.objects.BaseProperty; import com.xpn.xwiki.objects.ListProperty; import com.xpn.xwiki.objects.DBStringListProperty; import com.xpn.xwiki.XWikiContext; import java...
package com.zenfield.database.dialect; import com.zenfield.core.Check; import com.zenfield.core.Closeables; import com.zenfield.core.Exceptions; import com.zenfield.core.Files; import com.zenfield.core.Lists; import com.zenfield.core.Processes; import com.zenfield.core.Strings; import com.zenfield.database.configuratio...
package com.zimmerbell.repaper.sources; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import ...
package dbrecorder.impl.oracle; import java.io.PrintWriter; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.sql.DataSource; import utils.Jdbc; import utils.JdbcException; import utils.ResultSetCallback; import utils.SimpleTransactionManager; impor...
package de.bmoth.parser.ast.nodes.ltl; import de.bmoth.parser.ast.nodes.PredicateNode; import java.util.*; import static de.bmoth.parser.ast.nodes.ltl.LTLInfixOperatorNode.Kind.*; import static de.bmoth.parser.ast.nodes.ltl.LTLKeywordNode.Kind.TRUE; import static de.bmoth.parser.ast.nodes.ltl.LTLPrefixOperatorNode.Kind...
package de.cinovo.cloudconductor.api.model; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeInfo.As; import com.fasterxml.jackson.annotation.JsonTypeInfo.Id; @JsonTypeInfo(include = As.PROPERTY, use = Id.CLASS) public class Statistics { private long numberOfHost...
package de.csdev.ebus.cfg.std; import java.io.IOException; import java.io.InputStreamReader; import java.lang.reflect.Type; import java.net.URL; import java.security.DigestInputStream; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collect...
package de.maredit.tar.controllers; import de.maredit.tar.models.CalendarEvent; import de.maredit.tar.models.Vacation; import de.maredit.tar.models.enums.State; import de.maredit.tar.repositories.VacationRepository; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springfra...
package de.slackspace.openkeepass.domain; import java.util.ArrayList; import java.util.List; import java.util.UUID; public class GroupBuilder implements GroupContract { private UUID uuid; private String name; private int iconId = 49; private Times times; private boolean isExpanded; private byte[...
package edu.harvard.iq.dataverse.export; import edu.harvard.iq.dataverse.Dataset; import edu.harvard.iq.dataverse.DatasetVersion; import edu.harvard.iq.dataverse.DvObject; import static edu.harvard.iq.dataverse.GlobalIdServiceBean.logger; import edu.harvard.iq.dataverse.dataaccess.DataAccess; import static edu.harvard....
package gr.iti.mklab.reveal.summarization; import org.mongodb.morphia.annotations.Id; public class RankedImage implements Comparable<RankedImage> { public RankedImage() { } public RankedImage(String id, double score) { this.id = id; this.score = score; } @...
package harmony.mastermind.logic.commands; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashSet; import java.util.Optional; import java.util.Set; import java.util.regex.Pattern; import harmony.mastermind.commons.core.Messages; import harmony.mastermind.comm...
package hudson.plugins.warnings.parser; import hudson.plugins.warnings.util.model.FileAnnotation; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.L...
package info.faceland.loot.listeners; import info.faceland.hilt.HiltItemStack; import info.faceland.loot.LootPlugin; import info.faceland.loot.api.enchantments.EnchantmentStone; import info.faceland.loot.api.sockets.SocketGem; import info.faceland.loot.math.LootRandom; import info.faceland.loot.utils.StringListUtils; i...
package io.fabric8.che.starter.client; import java.io.IOException; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.b...
package io.korobi.mongotoelastic.mongo; import com.mongodb.client.FindIterable; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoCursor; import com.mongodb.client.MongoDatabase; import io.korobi.mongotoelastic.exception.UserIsAtFaultException; import io.korobi.mongotoelastic.logging.InjectLogge...
package io.seqware.pancancer; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.List; import java.util.Map; import net.sourceforge.seqware.pipeline.workflowV2.AbstractWorkflowDataModel; import net.sourceforge....
package io.seqware.pancancer; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.List; import java.util.Map; import net.sourceforge.seqware.pipeline.workflowV2.AbstractWorkflowDataModel; import net.sourceforge....
package io.seqware.pancancer; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.List; import java.util.Map; import net.sourceforge.seqware.pipeline.workflowV2.AbstractWorkflowDataModel; import net.sourceforge....
package me.nallar.javatransformer.api; import com.github.javaparser.JavaParser; import com.github.javaparser.ParseException; import com.github.javaparser.ast.CompilationUnit; import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; import com.github.javaparser.ast.body.TypeDeclaration; import lombok.*; import...
package mx.nic.rdap.server.renderer.json; import java.net.IDN; import java.util.List; import java.util.Map; import javax.json.Json; import javax.json.JsonArray; import javax.json.JsonArrayBuilder; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; import mx.nic.rdap.core.db.Domain; import mx.nic.rdap.db...
package net.alpenblock.bungeeperms; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.UUID; import lombok.Getter; import lombok.Setter; import net.alpenblock.bungeeperms.Lang.MessageType; import net.alpenblock.bungeeperms.io.BackEnd; import net.alpen...
package net.fortuna.ical4j.connector.dav; public abstract class PathResolver { public static final PathResolver CHANDLER = new ChandlerPathResolver(); public static final PathResolver CGP = new CgpPathResolver(); public static final PathResolver KMS = new KmsPathResolver(); public static final PathResol...
package net.minecraftforge.gradle.user; import static net.minecraftforge.gradle.common.Constants.FERNFLOWER; import static net.minecraftforge.gradle.common.Constants.JAR_CLIENT_FRESH; import static net.minecraftforge.gradle.common.Constants.JAR_MERGED; import static net.minecraftforge.gradle.common.Constants.JAR_SERVER...
package nl.hsac.fitnesse.fixture.slim.web; import fitnesse.slim.fixtureInteraction.FixtureInteraction; import nl.hsac.fitnesse.fixture.slim.SlimFixture; import nl.hsac.fitnesse.fixture.slim.SlimFixtureException; import nl.hsac.fitnesse.fixture.slim.StopTestException; import nl.hsac.fitnesse.fixture.slim.web.annotation....
package nl.hsac.fitnesse.fixture.slim.web; import fitnesse.slim.fixtureInteraction.FixtureInteraction; import nl.hsac.fitnesse.fixture.slim.SlimFixture; import nl.hsac.fitnesse.fixture.slim.SlimFixtureException; import nl.hsac.fitnesse.fixture.slim.StopTestException; import nl.hsac.fitnesse.fixture.slim.web.annotation....
package nl.hsac.fitnesse.fixture.slim.web; import nl.hsac.fitnesse.fixture.slim.SlimFixture; import nl.hsac.fitnesse.fixture.util.SeleniumHelper; import org.openqa.selenium.*; import org.openqa.selenium.support.ui.ExpectedCondition; import org.openqa.selenium.support.ui.FluentWait; import org.openqa.selenium.support.ui...
package nl.hsac.fitnesse.fixture.slim.web; import java.io.File; import java.lang.reflect.Method; import java.util.List; import java.util.Set; import nl.hsac.fitnesse.fixture.slim.SlimFixture; import nl.hsac.fitnesse.fixture.slim.SlimFixtureException; import nl.hsac.fitnesse.fixture.util.BinaryHttpResponse; import nl.hs...
package no.difi.sdp.client.internal; import no.difi.begrep.sdp.schema_v10.*; import no.difi.sdp.client.domain.Feil; import no.difi.sdp.client.domain.Feiltype; import no.difi.sdp.client.domain.Prioritet; import no.difi.sdp.client.domain.kvittering.*; import no.posten.dpost.offentlig.api.representations.*; import java.ut...
package no.uio.ifi.trackfind.frontend; import com.fasterxml.jackson.databind.ObjectMapper; import com.vaadin.annotations.Theme; import com.vaadin.annotations.Title; import com.vaadin.annotations.Widgetset; import com.vaadin.data.HasValue; import com.vaadin.event.ShortcutAction; import com.vaadin.event.ShortcutListener;...
package org.agmip.translators.dssat; import java.io.File; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import org.agmip.core.types.TranslatorOutput; import ...
package org.b3log.symphony.service; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; import org.b3log.latke.Keys; import org.b3log.latke.event.Event; import org.b3log.latke.event.EventException; import org.b3log.latke.event.EventManager; import org.b3log.latke.ioc.inject.Inject; im...
package org.commcare.cases.util; import org.commcare.cases.query.*; import org.commcare.cases.query.IndexedSetMemberLookup; import org.commcare.cases.query.IndexedValueLookup; import org.commcare.cases.query.PredicateProfile; import org.commcare.cases.query.handlers.BasicStorageBackedCachingQueryHandler; import org.com...
package org.daisy.pipeline.gui.databridge; import java.util.HashMap; import java.util.List; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import org.daisy.common.xproc.XProcOptionInfo; import org.daisy.common.xproc.XProcPortInfo; import org.daisy.pipeline.datatypes.DatatypeRegi...
package org.dasein.cloud.azure.compute.disk; import org.apache.commons.codec.binary.Base64; import org.apache.log4j.Logger; import org.dasein.cloud.*; import org.dasein.cloud.azure.Azure; import org.dasein.cloud.azure.AzureConfigException; import org.dasein.cloud.azure.AzureMethod; import org.dasein.cloud.azure.compute...
package org.gestern.gringotts.api.impl; import java.util.ArrayList; import java.util.List; import net.milkbowl.vault.economy.Economy; import net.milkbowl.vault.economy.EconomyResponse; import net.milkbowl.vault.economy.EconomyResponse.ResponseType; import org.gestern.gringotts.Gringotts; import org.gestern.gringotts.ap...
package org.jenkinsci.plugins.DependencyCheck; import hudson.FilePath; import org.owasp.dependencycheck.reporting.ReportGenerator; import java.io.Serializable; import java.net.URL; import java.util.ArrayList; /** * A container object that holds all of the configurable options to be used by * a DependencyCheck analysi...
package org.lightmare.deploy.management; import java.io.File; import java.io.IOException; import java.io.Serializable; import java.io.Writer; import java.util.List; import javax.servlet.Servlet; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; imp...
package org.lightmare.ejb.embeddable; import java.io.IOException; import java.util.Map; import javax.ejb.embeddable.EJBContainer; import javax.naming.Context; import org.apache.log4j.Logger; import org.lightmare.deploy.MetaCreator; import org.lightmare.jndi.JndiManager; import org.lightmare.utils.CollectionUtils; impor...
package org.musicbrainz.search.solrwriter; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.math.BigInteger; import java.util.List; import javax.xml.bind.J...
package org.onedatashare.server.module; import com.google.api.services.drive.Drive; import com.google.api.services.drive.model.File; import com.google.api.services.drive.model.FileList; import org.onedatashare.server.model.core.Stat; import org.onedatashare.server.model.credential.EndpointCredential; import org.onedata...
package org.spongepowered.api.text.action; import java.net.URL; /** * Represents a {@link TextAction} that responds to clicks. * * @param <R> The type of the result of the action */ public abstract class ClickAction<R> extends TextAction<R> { /** * Constructs a new {@link ClickAction} with the given result...
package org.tndata.android.compass; import android.app.Application; import android.util.Log; import org.tndata.android.compass.model.Action; import org.tndata.android.compass.model.Behavior; import org.tndata.android.compass.model.Category; import org.tndata.android.compass.model.Goal; import org.tndata.android.compass...
package pityoulish.jrmi.server; import java.rmi.RemoteException; import java.rmi.server.RemoteObject; import pityoulish.msgboard.MessageBatch; import pityoulish.msgboard.UserMessageBoard; import pityoulish.tickets.Ticket; import pityoulish.tickets.TicketException; import pityoulish.tickets.TicketManager; import pityoul...
package pixlepix.auracascade.block.tile; import cpw.mods.fml.common.network.NetworkRegistry; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.enchantment.EnumEnchantmentType; import net.minecraft.entity.item.EntityItem; import net.minecraft.item.Item...
package pl.domzal.junit.docker.rule; import java.io.File; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang3.tuple.Pair; import org.junit.rule...
package pointGroups.util.polymake; import java.util.Collection; import pointGroups.geometry.Edge; import pointGroups.geometry.Face; import pointGroups.geometry.Point; import pointGroups.geometry.Point3D; import pointGroups.geometry.Polytope; import pointGroups.geometry.Schlegel; import pointGroups.geometry.Symmetry; im...
package rocks.boltsandnuts.bbtweaks.command; import java.util.Calendar; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTBase; impor...
package scrum.client.project; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import scrum.client.ScrumGwt; public class PlanningPokerStoryFinder { private final Project project; private final Requirement...
package se.arbetsformedlingen.venice.probe; import org.apache.http.client.fluent.Executor; import org.apache.http.client.fluent.Request; import se.arbetsformedlingen.venice.common.*; public class CheckProbe implements java.util.function.Supplier<ProbeResponse> { private Server server; CheckProbe(Server server) ...
package selling.sunshine.service.impl; import com.alibaba.fastjson.JSON; import com.pingplusplus.Pingpp; import com.pingplusplus.model.Charge; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org...
package uk.ac.ebi.subs.api.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import uk.ac.ebi.subs.data.status.ProcessingStatusEnum; import uk.ac.ebi.subs.data.status.ReleaseStatusEnum; import uk.ac.ebi.subs.data.status.StatusDescription; import uk....
package net.idlesoft.android.apps.github.activities; import net.idlesoft.android.apps.github.HubroidApplication; import net.idlesoft.android.apps.github.R; import org.idlesoft.libraries.ghapi.APIAbstract.Response; import org.idlesoft.libraries.ghapi.GitHubAPI; import org.json.JSONException; import org.json.JSONObject; ...
package net.java.sip.communicator.impl.gui.main.call; import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; import javax.swing.Timer; import javax.swing.border.*; import net.java.sip.communicator.impl.gui.*; import net.java.sip.communicator.impl.gui.main.call.conference.*; import net.jav...
package org.adligo.i.util_tests.shared.utils; import org.adligo.tests.shared.AAssertions; public class LineTextAssertions { public static void compaireFileText(String example, String actual, AAssertions assertions) { LineText exampleLT = new LineText(example); LineText actualLT = new LineText(actua...
package org.citydb.modules.citygml.exporter.controller; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.sql.SQLException; import java.util.EnumMap; import java.util.HashMap; import java.util.Iterator; import java.util.concurrent.atomic.Ato...
package org.ensembl.healthcheck.testcase.generic; import java.sql.Connection; import org.ensembl.healthcheck.DatabaseRegistryEntry; import org.ensembl.healthcheck.DatabaseType; import org.ensembl.healthcheck.ReportManager; import org.ensembl.healthcheck.Species; import org.ensembl.healthcheck.util.DBUtils; import org.e...
package org.objectweb.proactive.examples.c3d; import org.objectweb.proactive.examples.c3d.geom.Ray; import org.objectweb.proactive.examples.c3d.geom.Vec; import org.objectweb.proactive.examples.c3d.prim.Isect; import org.objectweb.proactive.examples.c3d.prim.Light; import org.objectweb.proactive.examples.c3d.prim.Primi...
package com.alibaba.easyexcel.test.core.sort; import com.alibaba.excel.annotation.ExcelProperty; import lombok.Data; /** * @author Jiaju Zhuang */ @Data public class SortData { private String column5; private String column6; @ExcelProperty(order = 100) private String column4; @ExcelProperty(order ...
package com.github.bot.curiosone.core.nlp; // SUPPRESS CHECKSTYLE AvoidStarImport import static org.junit.Assert.*; import org.junit.Test; public class MeaningTest { @Test public void testInstantiation() { Meaning m = new Meaning(POS.AP, LEX.OBJECT); assertTrue(m instanceof Meaning); assertTrue(m instan...
package crawler.service.impl; import static org.mockito.Mockito.*; import org.junit.Test; import crawler.domain.Novel; import crawler.domain.source.NovelSource; public class NovelInfoManagerImplTest { @Test public void testSaveNovelInfo() throws Exception { String filePath = this.getClass().getClassLoad...
package cz.linkedlist.http; import cz.linkedlist.TileSet; import cz.linkedlist.UTMCode; import cz.linkedlist.cache.Cache; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import org.springframework.web.client.RestTemplate; import java.time.LocalDate; import java.util.Collection; import java.u...