answer
stringlengths
17
10.2M
package com.buuz135.industrial.utils; import com.buuz135.industrial.proxy.block.BlockConveyor; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.mine...
package com.ecwid.consul.v1.agent.model; import com.google.gson.annotations.SerializedName; import java.util.List; /** * @author Vasily Vasilkov (vgv@ecwid.com) * @author Spencer Gibb (spencer@gibb.us) */ public class NewService { public static class Check { @SerializedName("Script") private Stri...
package com.gaocy.sample.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @Controller @RequestMapping("stat") public class StatController { @Reques...
package com.github.msemys.esjc; import com.github.msemys.esjc.event.ClientConnected; import com.github.msemys.esjc.util.Strings; import com.github.msemys.esjc.util.Subscriptions.DropData; import com.github.msemys.esjc.util.concurrent.ResettableLatch; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java....
package allbegray.slack; import allbegray.slack.type.*; import allbegray.slack.webapi.SlackWebApiClient; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.Map; public class DndMethodTest { private String token = "xoxp-18899142932-18905601458-4181203146...
package it.innove.play.pdf; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import nu.validator.htmlparser.dom.HtmlDocumentBuilder;...
package com.github.pagehelper.page; import com.github.pagehelper.Dialect; import com.github.pagehelper.PageException; import com.github.pagehelper.dialect.AbstractHelperDialect; import com.github.pagehelper.dialect.helper.*; import com.github.pagehelper.util.StringUtil; import org.apache.ibatis.mapping.MappedStatement;...
package com.bigcommerce.api; import java.util.Collection; import com.bigcommerce.api.resources.Orders; public class OrderTest { public static void main(String[] args) { String storeUrl = "https://examplestore.com"; String use = "admin"; String apiKey = "akjfalksjflksjflas...
package com.versionone.hudson; import com.gargoylesoftware.htmlunit.ElementNotFoundException; import com.gargoylesoftware.htmlunit.html.HtmlPage; import hudson.model.Descriptor; import hudson.model.FreeStyleBuild; import hudson.model.FreeStyleProject; import hudson.tasks.BatchFile; import hudson.tasks.Publisher; import...
package hudson.plugins.git; import com.cloudbees.plugins.credentials.Credentials; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.cloudbees.plugins.credentials.CredentialsScope; import com.cloudbees.plugins.credentials.CredentialsStore; import com.cloudbees.plugins.credentials.SystemCredentials...
package com.gmail.nossr50.listeners; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.entity.EntityType; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.buk...
package jlibs.xml.sax.dog; import jlibs.xml.sax.helpers.NamespaceSupportReader; import jlibs.xml.sax.helpers.SAXHandler; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import javax.xml.namespace.QName; import javax.xml.xpath.XPathConstants; import java.io.CharArrayWriter; import java.io.File; import ja...
package hudson.plugins.git; import com.google.common.base.Function; import com.google.common.collect.Collections2; import com.google.common.collect.Lists; import hudson.EnvVars; import hudson.FilePath; import hudson.Launcher; import hudson.matrix.Axis; import hudson.matrix.AxisList; import hudson.matrix.MatrixBuild; im...
package com.googlecode.test.phone; import java.text.ParseException; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.TimeUnit; import javax.sdp.SessionDescription; i...
package innovimax.mixthem; import innovimax.mixthem.arguments.Mode; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.arguments.Rule; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.io.InputResource; import java.io.*; import java.net.URL; import java.util.ArrayList; import j...
package com.hyperfresh.mchyperchat; import java.util.Collection; import java.util.UUID; public interface HyperChatPlugin { /** * Gets a Player by their UUID. * <p/> * If this method returns null, then the Player is not online. * * @param id * @return a Player or null if that player is ...
package innovimax.mixthem; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.arguments.Rule; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.io.InputResource; import java.io.*; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.Li...
package org.m2mp.db.ts; import com.datastax.driver.core.utils.UUIDs; import org.json.simple.JSONObject; import java.util.*; /** * Timed data wrapper. * <p/> * We have the same data as the TimedData class except we are working in JSON only, we can modify the content efficiently * and we can save it to modify an exis...
package com.instructure.canvasapi.model; import android.content.Context; import android.os.Parcel; import com.instructure.canvasapi.R; import com.instructure.canvasapi.utilities.APIHelpers; import java.util.ArrayList; import java.util.Date; import java.util.List; public class Assignment extends CanvasModel<Assignment>{...
package com.qulice.ant; import com.jcabi.log.Logger; import com.qulice.checkstyle.CheckstyleValidator; import com.qulice.codenarc.CodeNarcValidator; import com.qulice.findbugs.FindBugsValidator; import com.qulice.pmd.PMDValidator; import com.qulice.spi.Environment; import com.qulice.spi.ValidationException; import com....
package mm.tstring; public class MemoryFileProvider implements IFileProvider { private Iterable<IFile> files; private IFile tstringTable; public MemoryFileProvider(IFile tstringTable, Iterable<IFile> files) { this.tstringTable = tstringTable; this.files = files; } @Override p...
package org.mwc.cmap.core; import java.util.HashMap; import java.util.Map; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.operations.IOperationHistory; import org.eclipse.core.runtime.Status; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.preference.IPreferenceS...
package com.lothrazar.powerinventory; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Queue; import com.lothrazar.powerinventory.inventory.BigInventoryPlayer; import net.minecraft.block.B...
package org.lightmare.entities; import java.io.IOException; import java.util.Date; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Generatio...
package bisq.network.p2p.storage; import bisq.network.p2p.NodeAddress; import bisq.network.p2p.network.CloseConnectionReason; import bisq.network.p2p.network.Connection; import bisq.network.p2p.network.ConnectionListener; import bisq.network.p2p.network.MessageListener; import bisq.network.p2p.network.NetworkNode; impo...
package com.magnus.restbucks.web; import java.util.ArrayList; import java.util.List; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springf...
package org.mariadb.jdbc; import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.net.URL; import java.nio.charset.Charset; import java.sql.*; import static org.junit.Assert.*; import s...
package com.minorityhobbies.util; import java.beans.BeanInfo; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Date; import jav...
package ru.stq.pft.rest; import com.google.gson.JsonElement; import com.google.gson.JsonParser; import org.apache.http.client.fluent.Executor; import org.apache.http.client.fluent.Request; import org.testng.SkipException; import java.io.IOException; public class TestBase { // protected static final ApplicationManager ...
package seedu.taskitty.model; import seedu.taskitty.commons.exceptions.IllegalValueException; import seedu.taskitty.model.task.TaskDate; import seedu.taskitty.model.task.TaskPeriod; import seedu.taskitty.model.task.TaskTime; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; //@@aut...
package edu.umd.cs.findbugs.ba; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.bcel.Constants; import org.apache.bcel.Repository; import org.apache.bcel.classfile.ExceptionTable; import org.apache.bcel.classfile.Field; import org.apache.bcel.classfile.J...
package com.sdgas.action; import com.opensymphony.xwork2.ModelDriven; import com.sdgas.VO.PRVO; import com.sdgas.base.PageView; import com.sdgas.model.*; import com.sdgas.service.*; import com.sdgas.util.ChangeTime; import com.sdgas.util.Mail; import com.sdgas.util.UserUtil; import org.apache.logging.log4j.LogManager; ...
package net.sf.cglib.reflect; import java.io.*; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.*; import junit.framework.*; import net.sf.cglib.core.ClassGenerator; import net.sf.cglib.core.DefaultGeneratorStrategy; import net....
package edu.umd.cs.findbugs.log; import java.io.IOException; import java.io.PrintStream; import java.io.Serializable; import java.util.Comparator; import java.util.Stack; import java.util.TreeSet; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.Ato...
package com.shc.silenceengine.graphics; import com.shc.silenceengine.core.SilenceEngine; import com.shc.silenceengine.core.SilenceException; import com.shc.silenceengine.graphics.opengl.Primitive; import com.shc.silenceengine.graphics.opengl.Texture; import com.shc.silenceengine.math.Vector2; import java.util.ArrayList...
package com.themike10452.purityu2d; import android.app.DownloadManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import a...
package com.virjar.sipsoup.parse; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.virjar.sipsoup.exception.NoSuchAxisException; import com.virjar.sipsoup.excep...
package com.wasteofplastic.beaconz; import java.util.Random; import org.bukkit.Chunk; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Biome; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.generator.BlockPopulator; import com.wasteofplastic.include.it.uni...
package comp3500.abn.emitters.odlconfig; import java.io.IOException; import java.io.StringReader; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import net.ripe.db.whois.common.rpsl.AttributeType; import net.ripe.db.whois.common.rpsl.Obje...
package de.flux.playground.deckcompare; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import de.flux.playground.deckcompare.analyze.CardConflictAnalyzer; import de.flux.playground.deckcompare.an...
package de.slikey.effectlib.math; import net.objecthunter.exp4j.Expression; import net.objecthunter.exp4j.ExpressionBuilder; import net.objecthunter.exp4j.function.Function; import org.bukkit.configuration.ConfigurationSection; import java.util.HashSet; import java.util.Random; import java.util.Set; import java.util.lo...
package hprose.io.unserialize; import hprose.io.HproseTags; import hprose.util.DateTime; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Type; import java.nio.ByteBuffer; import java.util.Date; final class DateTimeUnserializer implements HproseUnserializer, HproseTags { public final...
package io.github.classgraph; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.ByteBuffer; import java.util.Enumeration; import nonapi.io.github.classgraph.utils.JarUtils; /** {@link ClassLoader} for classes found by ClassGraph during scanning. */ class ClassGraphClassLoader ...
package is.landsbokasafn.deduplicator; import static is.landsbokasafn.deduplicator.DedupAttributeConstants.A_CONTENT_STATE_KEY; import static is.landsbokasafn.deduplicator.DedupAttributeConstants.CONTENT_UNCHANGED; import static org.archive.modules.recrawl.RecrawlAttributeConstants.A_CONTENT_DIGEST; import static org.a...
package jp.gr.java_conf.dyama.rink.parser; public interface Sentence { /** * Returns the number of words * @return number of words */ public int size(); public Word getWord(int i); /** * Returns the string of the sentence. * @return the string of the sentence */ public ...
package jp.pushmestudio.kcuc.rest; import java.util.HashMap; import javax.ws.rs.DefaultValue; import javax.ws.rs.FormParam; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import org.json.JSONObject;...
package lee.study.down.hanndle; import io.netty.buffer.ByteBuf; import io.netty.channel.Channel; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.channel.ChannelInitializer; import io.netty.handler.codec.http.HttpClientCodec; import io.netty.handler.co...
package linenux.view; import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.TextArea; import linenux.control.ControlUnit; public class ExpandableResultBoxController { @FXML Button...
package me.coley.recaf.ui.controls.text; import javafx.application.Platform; import javafx.geometry.Orientation; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.control.*; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import javafx.scene.layout.BorderPane; import javaf...
package me.nallar.modpatcher.tasks; import com.google.common.io.ByteStreams; import lombok.SneakyThrows; import lombok.val; import lzma.sdk.lzma.Encoder; import lzma.streams.LzmaOutputStream; import me.nallar.ModPatcherPlugin; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; import org.objec...
package mods.ocminecart.common.util; import mods.ocminecart.OCMinecart; import net.minecraft.util.MathHelper; import net.minecraftforge.common.util.ForgeDirection; public class RotationHelper { public static ForgeDirection[] dir = { ForgeDirection.SOUTH, ForgeDirection.WEST, ForgeDirection.N...
package net.gtaun.wl.vehicle.util; import java.util.HashMap; import java.util.Map; import net.gtaun.shoebill.constant.VehicleComponentSlot; import net.gtaun.shoebill.constant.VehicleModel.VehicleType; import net.gtaun.shoebill.object.Player; import net.gtaun.wl.lang.LocalizedStringSet; import net.gtaun.wl.lang.Localize...
package net.minecraftforge.gradle.common; import groovy.lang.Closure; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import java.net.URLClassLoader; import java.security.MessageDigest; import java.util.ArrayL...
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.ref.LongReference; import net.openhft.chronicle.core.io.IORuntimeException; import net.openhft.chronicle.core.values.LongValue; import net.openhft.chronicle.threads.Pauser; import org.jetbrains.annotations.NotNull; import java.io.IOException; import...
package net.prasenjit.identity.service; import java.time.Duration; import java.time.LocalDateTime; import java.time.temporal.ChronoUnit; import org.apache.commons.lang3.RandomStringUtils; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.stereotype.Component; import lombok.Req...
package nl.erwinvaneyk.communication; import lombok.extern.slf4j.Slf4j; import nl.erwinvaneyk.communication.exceptions.CommunicationException; import nl.erwinvaneyk.communication.rmi.RMISocket; import nl.erwinvaneyk.core.NodeAddress; import nl.erwinvaneyk.core.NodeState; import nl.erwinvaneyk.core.logging.LogNode; impo...
package no.ntnu.okse.core.messaging; import no.ntnu.okse.Application; import no.ntnu.okse.core.AbstractCoreService; import no.ntnu.okse.core.CoreService; import no.ntnu.okse.core.event.TopicChangeEvent; import no.ntnu.okse.core.event.listeners.TopicChangeListener; import no.ntnu.okse.core.topic.Topic; import no.ntnu.ok...
package org.biouno.unochoice.model; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.biouno.unochoice.util.Utils; import org.jenkinsci.plugins.scriptler.ScriptlerManagement; import org.jenkinsci.plugins.scriptler.config.Script; import org.jenkinsci.plug...
package org.dasein.cloud.google.network; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.dasein.cloud.CloudException; import org.dasein.cloud.InternalException; import org.dasein.clo...
package org.embulk.decoder; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.commons.compress.archivers.ArchiveException; import org.apache.commons.compress.archivers.ArchiveInputSt...
package org.embulk.filter.to_csv; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import org.embulk.config.Config; import org.embulk.config.ConfigDefault; import org.embulk.config.ConfigSource; import org.embulk.config.Task; import org.embulk.config.TaskSource; import org.embulk....
package org.jenkinsci.plugins.p4.console; import com.perforce.p4java.server.callback.ICommandCallback; import hudson.model.TaskListener; import java.util.logging.Logger; public class P4Logging implements ICommandCallback { private static Logger logger = Logger.getLogger(P4Logging.class.getName()); private final...
package org.jfrog.hudson; import hudson.EnvVars; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.Cause; import jenkins.model.Jenkins; import org.apache.commons.lang.StringUtils; import org.jfrog.build.api.Agent; import org.jfrog.build.api.Build; import org.jfrog.build.api.Build...
package org.jtrfp.trcl.beh; import org.jtrfp.trcl.core.TR; import org.jtrfp.trcl.obj.Player; public class LoopingPositionBehavior extends Behavior { private static final double THRESHOLD = TR.mapCartOffset; @Override public void tick(long timeInMillis){ // Loop correction double [] oldPos = getParen...
package org.minimalj.frontend.impl.web; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.util.List; import java.util.Locale; import java.util.Locale.LanguageRange; import java.util.Map; import java.util.logging.Logger; import org.minimalj.application.Application; import org.minim...
package org.minimalj.frontend.page; import java.util.Collections; import java.util.List; import org.minimalj.frontend.Frontend; import org.minimalj.frontend.Frontend.TableActionListener; public abstract class TableDetailPage<T> extends TablePage<T> implements TableActionListener<T> { private Page detailPage; pu...
package org.owasp.esapi.reference; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; impo...
package org.skife.jdbi.v2; import org.skife.jdbi.v2.tweak.ContainerFactory; import java.util.Collection; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import java.util.concurrent.ConcurrentHashMap; import java.uti...
package org.xtx.ut4converter.export; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.logging.Level; import org.xtx.ut4converter.MapConverter; import org.xtx.ut4converter.U...
package ru.parallel.octotron.core.attributes; import ru.parallel.octotron.core.primitive.exception.ExceptionModelFail; import ru.parallel.octotron.core.primitive.exception.ExceptionParseError; import ru.parallel.utils.JavaUtils; import java.text.DecimalFormat; public class Value { private static class Undefined ...
//@@author generated package seedu.address.logic.commands; import seedu.address.commons.core.EventsCenter; import seedu.address.commons.core.Messages; import seedu.address.commons.core.UnmodifiableObservableList; import seedu.address.commons.events.ui.JumpToListRequestEvent; import seedu.address.logic.commands.exceptio...
package seedu.geekeep.logic.commands; import java.util.List; import java.util.Optional; import seedu.geekeep.commons.core.Messages; import seedu.geekeep.commons.exceptions.IllegalValueException; import seedu.geekeep.commons.util.CollectionUtil; import seedu.geekeep.logic.commands.exceptions.CommandException; import see...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // * Neither the name of the <organization> nor the // names of its contributors may be used to endorse or promote products // ANY EXPRESS OR IMPLIED WARRAN...
package acmi.l2.clientmod.decompiler; import acmi.l2.clientmod.io.UnrealPackageReadOnly; import acmi.l2.clientmod.unreal.core.*; import acmi.l2.clientmod.unreal.core.Class; import acmi.l2.clientmod.unreal.core.Enum; import acmi.l2.clientmod.unreal.core.Function; import acmi.l2.clientmod.unreal.core.Object; import acmi....
package com.plugin.gcm; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; im...
package com.plugin.gcm; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; i...
package plugin.google.maps; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Locale; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaResourceApi; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android....
package plugin.google.maps; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.Point; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.os.SystemClock; impor...
package plugin.google.maps; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Locale; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaResourceApi; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android....
package edu.umd.cs.findbugs.detect; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.bcel.Repository; import org.apache.bcel.classfile.Attribute; import org.apache.bcel.classfile.Code; import org.apache.bcel....
/** * @author Chris Serafin, Peter Maidens, Ken "Mike" Armstrong, Kimberly Kramer * * This class abstracts a pantry. It is a controller for the list of ingredients. * It allows us to keep a list of ingredients and manage this list. */ package ca.ualberta.cs.oneclick_cookbook; import java.util.ArrayList; // This...
package com.frostwire.jlibtorrent; import com.frostwire.jlibtorrent.swig.*; import com.frostwire.jlibtorrent.swig.torrent_handle.status_flags_t; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * You will usually have to store your torrent handles somewhere, since it's * the object...
package com.orbekk.paxos; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Future; import java.util.concurrent.FutureTask; import java.util.concurrent.atomic.AtomicInteger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import...
package cz.hobrasoft.pdfmu.sign; import com.itextpdf.text.DocumentException; import com.itextpdf.text.pdf.PdfReader; import com.itextpdf.text.pdf.PdfSignatureAppearance; import com.itextpdf.text.pdf.PdfStamper; import com.itextpdf.text.pdf.security.BouncyCastleDigest; import com.itextpdf.text.pdf.security.CrlClient; im...
package org.smoothbuild.db.object.obj.expr; import static com.google.common.truth.Truth.assertThat; import static org.smoothbuild.testing.common.AssertCall.assertCall; import static org.smoothbuild.util.collect.Lists.list; import java.util.List; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; im...
package com.imu.coursenet.dao.impl; import java.util.ArrayList; import java.util.List; import com.imu.coursenet.dao.AdminDao; import com.imu.coursenet.domain.Admin; import com.imu.coursenet.support.YeekuHibernateDaoSupport; public class AdminDaoImpl extends YeekuHibernateDaoSupport implements AdminDao { @Ov...
package com.intuit.quickfoods; import android.app.IntentService; import android.app.Service; import android.content.Intent; import android.net.nsd.NsdManager; import android.net.nsd.NsdServiceInfo; import android.os.Binder; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android....
package com.karateca.ddescriber.model; import com.intellij.find.FindResult; import com.intellij.openapi.editor.Document; import java.util.ArrayList; import java.util.List; /** * @author Andres Dominguez. */ class Hierarchy { private final Document document; private final TestFindResult closest; private final Li...
// Kyle Russell // AUT University 2016 // Highly Secured Systems A2 package com.kyleruss.hssa2.commons; public class RequestPaths { private RequestPaths() {} public static final String USER_PUBLIC_GET_REQ = "/key/user/public/fetch"; public static final String SERV_CONNECT_REQ = "/user/co...
package net.coobird.paint.filter; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; /** * <p> * T...
package com.patr.radix.ui.unlock; import java.io.IOException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import org.xutils.common.util.LogUtil; import com.patr.radix.LockValidateActivity; import com.patr.radix.App; import com.patr.radix.R; import com.patr.radix.adapter.CommunityL...
package net.sf.jaer.eventprocessing.filter; import java.util.SplittableRandom; import com.google.common.collect.EvictingQueue; import com.jogamp.opengl.GL; import com.jogamp.opengl.GL2; import com.jogamp.opengl.GLAutoDrawable; import com.jogamp.opengl.GLException; import com.jogamp.opengl.util.awt.TextRenderer; import ...
package com.pixel.nfcsettings; import java.io.IOException; import java.nio.charset.Charset; import android.app.Activity; import android.app.PendingIntent; import android.content.Intent; import android.content.IntentFilter; import android.nfc.NdefMessage; import android.nfc.NdefRecord; import android.nfc.NfcAdapter; imp...
package net.sf.jsqlparser.statement.create.table; import java.util.List; import net.sf.jsqlparser.schema.Table; import net.sf.jsqlparser.statement.Statement; import net.sf.jsqlparser.statement.StatementVisitor; import net.sf.jsqlparser.statement.select.PlainSelect; /** * A "CREATE TABLE" statement */ public class Cre...
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.Tile; import com.valkryst.VTerminal.Screen; import com.valkryst.VTerminal.TileGrid; import com.valkryst.VTerminal.builder.ButtonBuilder; import com.valkryst.VTerminal.palette.ColorPalette; import lombok.Getter; import lombok.NonNull; import lombok....
package org.apache.xerces.validators.schema; import org.apache.xerces.framework.XMLAttrList; import org.apache.xerces.framework.XMLContentSpecNode; import org.apache.xerces.framework.XMLErrorReporter; import org.apache.xerces.framework.XMLValidator; import org.apache.xerces.readers.XMLEntityHandler; import org.apache.x...
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.testcase.SingleDatabaseTes...
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.testcase.SingleDatabaseTes...
package org.jitsi.impl.neomedia.codec.video.vp8; import org.jitsi.impl.neomedia.codec.*; import org.jitsi.service.neomedia.codec.*; import org.jitsi.util.*; import javax.media.*; import javax.media.format.*; import java.util.*; import java.util.concurrent.*; public class DePacketizer extends AbstractCodec2 { /*...
package org.opencms.gwt.shared.alias; import org.opencms.util.CmsUUID; import com.google.gwt.user.client.rpc.IsSerializable; /** * A class containing the data for a row of the rewrite alias table.<p> */ public class CmsRewriteAliasTableRow implements IsSerializable { /** The error message for this rewrite alias. ...