answer stringlengths 17 10.2M |
|---|
package tests.examples;
import java.io.File;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import org.junit.Test;
import jsystem.framework.ParameterProperties;
import jsystem.framework.TestProperties;
import jsystem.framework.report.Reporter;
import jsystem.framework.scenario.Parameter;
i... |
// Nexus Core - a framework for developing distributed applications
package com.samskivert.nexus.util;
/**
* Handles logging for the Nexus code.
*/
public class Log
{
/** A level of indirection that allows us to plug in Java or GWT-based logging. */
public interface Logger {
/** Logs an info level mes... |
package hudson.tasks.junit;
import hudson.model.AbstractBuild;
import hudson.util.IOException2;
import hudson.*;
import org.apache.tools.ant.DirectoryScanner;
import org.dom4j.DocumentException;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import org.kohsuke.stapler.export.Expo... |
package io.bisq.core.btc;
import io.bisq.core.app.BisqEnvironment;
import lombok.Getter;
import lombok.ToString;
import javax.annotation.Nullable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common... |
package org.kohsuke.stapler;
import net.sf.json.JSONArray;
import org.apache.commons.io.IOUtils;
import org.kohsuke.stapler.bind.JavaScriptMethod;
import org.kohsuke.stapler.lang.Klass;
import org.kohsuke.stapler.lang.MethodRef;
import javax.annotation.PostConstruct;
import javax.servlet.ServletException;
import java.i... |
package org.radargun.config;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Stack;
import org.radargun.logging.Log;
import org.radargun.logging.LogFactory;
import org.radargun.utils.Tokenizer;
/**
* Class with only static met... |
// FILE: c:/projects/jetel/org/jetel/graph/Node.java
package org.jetel.graph;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
import j... |
import javax.imageio.ImageIO;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.awt.*;
import Sharing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.M... |
package com.sandwell.JavaSimulation3D;
import com.sandwell.JavaSimulation.Entity;
import com.sandwell.JavaSimulation.Input;
import com.sandwell.JavaSimulation.IntegerVector;
import com.sandwell.JavaSimulation.Util;
import com.sandwell.JavaSimulation.Vector;
import java.awt.Dimension;
import java.awt.Font;
import java.a... |
package net.katsuster.ememu.generic;
/**
* SD Card
*
* : SD Specifications Part 1 Physical Layer
* Simplified Specification Version 6.00
* August 29, 2018
*/
public class SDCard extends AbstractParentCore {
public static final int REG_IO = 0x00;
private SDCardState st;
public SDCard(String n) {
... |
package org.codehaus.plexus.component.configurator.converters.special;
import org.codehaus.classworlds.ClassRealmAdapter;
import org.codehaus.classworlds.ClassRealmReverseAdapter;
import org.codehaus.plexus.classworlds.realm.ClassRealm;
import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
... |
package org.devgateway.toolkit.persistence.mongo.spring;
import java.math.BigDecimal;
import java.util.Arrays;
import org.devgateway.ocvn.persistence.mongo.ocds.BigDecimal2;
import org.devgateway.toolkit.persistence.mongo.repository.ReleaseRepository;
import org.springframework.boot.SpringApplication;
import org.spring... |
package org.project.openbaton.clients.interfaces;
import org.project.openbaton.catalogue.mano.common.DeploymentFlavour;
import org.project.openbaton.catalogue.nfvo.*;
import org.project.openbaton.clients.exceptions.VimDriverException;
import java.io.InputStream;
import java.util.List;
import java.util.Set;
public inter... |
package com.opengamma.masterdb.exchange;
import static org.junit.Assert.assertEquals;
import java.util.TimeZone;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.opengamma.id.Identifier;
import com.opengamma.id.IdentifierBundle;
... |
package com.oracle.truffle.llvm.nodes.impl.func;
import java.util.ArrayList;
import java.util.List;
import com.oracle.truffle.api.CompilerAsserts;
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
import com.oracle.truffle.api.frame.FrameDescriptor;
import com.oracle.truffle.api.frame.FrameSlot;
import... |
package gov.nih.nci.integration.catissue.client;
import edu.wustl.catissuecore.domain.AbstractSpecimen;
import edu.wustl.catissuecore.domain.CollectionProtocol;
import edu.wustl.catissuecore.domain.ConsentTier;
import edu.wustl.catissuecore.domain.ConsentTierStatus;
import edu.wustl.catissuecore.domain.Participant;
imp... |
package moodprofile.controller;
import foodprofile.view.FoodUI;
import java.sql.Connection;
import moodprofile.model.Mood;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import moodprofile.model.MoodList;
import moodpr... |
package net.acomputerdog.ircbot.security;
import com.sorcix.sirc.structure.User;
import com.sorcix.sirc.util.Chattable;
import net.acomputerdog.core.logger.CLogger;
import net.acomputerdog.ircbot.config.Config;
import net.acomputerdog.ircbot.main.IrcBot;
import java.util.HashMap;
import java.util.Map;
public class Auth... |
/**
* @author dgeorge
*
* $Id: AnimalModelManagerImpl.java,v 1.72 2006-08-17 18:34:25 pandyas Exp $
*
* $Log: not supported by cvs2svn $
* Revision 1.71 2006/05/23 17:00:31 pandyas
* fixed comments - cut and paste from other section
*
* Revision 1.70 2006/05/03 20:04:21 pandyas
* Modified to add Morpholin... |
package net.bolbat.kit.cache.guava;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import com.google.common.cache.CacheBuilder;
import net.bolbat.kit.cache.Cache;
import net.bolbat.kit.cache.LoadFunction;
import org.configureme.annotations.AfterConfigu... |
// $Id: DirectionalEdge.java,v 1.3 2001/08/24 22:13:10 shaper Exp $
package com.threerings.nodemap.direction;
import java.awt.*;
import com.threerings.nodemap.*;
/**
* A directional edge extends the {@link Edge} object to allow
* associating a direction with the edge and rendering the edge to the
* screen. The edge... |
package org.apache.commons.collections;
import java.util.Collection;
public interface BoundedCollection extends Collection {
/**
* Returns true if this collection is full and no new elements can be added.
*
* @return <code>true</code> if the collection is full
*/
boolean isFull();
/**
... |
package org.jivesoftware.openfire.keystore;
import org.jivesoftware.openfire.XMPPServer;
import org.jivesoftware.openfire.net.DNSUtil;
import org.jivesoftware.util.CertificateManager;
import org.jivesoftware.util.JiveGlobals;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.net.ssl.KeyManagerFactor... |
package org.opentdc.workrecords.file;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import java.util.UUID;
import java.util.logging.Logger;
import javax... |
package org.dspace.content;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.dspace.authorize.AuthorizeException;
import org.dspace.authorize.AuthorizeManager;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Context;
import o... |
package com.servlet;
import static com.googlecode.objectify.ObjectifyService.ofy;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpSer... |
package org.yakindu.sct.model.sexec.transformation.test;
import static org.yakindu.sct.model.sgraph.test.util.SGraphTestFactory._createEntry;
import static org.yakindu.sct.model.sgraph.test.util.SGraphTestFactory._createRegion;
import static org.yakindu.sct.model.sgraph.test.util.SGraphTestFactory._createState;
import ... |
package com.diamondq.common.utils.context.impl.logging;
import com.diamondq.common.utils.context.spi.ContextClass;
import com.diamondq.common.utils.context.spi.ContextHandler;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.function.Function;
import javax.injec... |
package com.jivesoftware.os.wiki.miru.deployable.endpoints;
import com.jivesoftware.os.mlogger.core.MetricLogger;
import com.jivesoftware.os.mlogger.core.MetricLoggerFactory;
import com.jivesoftware.os.wiki.miru.deployable.WikiMiruService;
import com.jivesoftware.os.wiki.miru.deployable.region.WikiWikiPluginRegion;
imp... |
package com.xeiam.xchange.cryptofacilities.dto.marketdata;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.cryptofacilities.dto.CryptoFacilitiesResult;
/**
* @author Pa... |
package org.jboss.aerogear.android.unifiedpush.test.gcm;
import org.jboss.aerogear.android.unifiedpush.gcm.AeroGearGCMPushConfiguration;
import org.jboss.aerogear.android.unifiedpush.gcm.UnifiedPushConfig;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
public class Unifi... |
package org.csstudio.channel.widgets;
import static org.epics.pvmanager.ExpressionLanguage.channels;
import static org.epics.pvmanager.ExpressionLanguage.latestValueOf;
import static org.epics.pvmanager.data.ExpressionLanguage.column;
import static org.epics.pvmanager.data.ExpressionLanguage.vStringConstants;
import st... |
package exh3y.telebot;
import static org.junit.Assert.assertTrue;
import org.json.JSONObject;
import org.junit.Test;
import exh3y.telebot.actions.TelegramActionHandler;
public class TeleBotTest implements TelegramActionHandler {
@Test
public void testTeleBotCreation() {
TeleBot bot = new TeleBot("123456... |
package com.valkryst.VTerminal.font;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.URISyntaxException;
import java.nio.... |
package org.biojava.bio.seq.io;
import java.io.*;
import java.util.*;
import org.biojava.utils.*;
import org.biojava.bio.*;
import org.biojava.bio.symbol.*;
import org.biojava.bio.seq.*;
/**
* Format processor for handling EMBL records and similar
* files. This takes a very simple approach: all
* `normal' attribute... |
package org.broad.igv.feature;
import org.apache.log4j.Logger;
import org.broad.igv.ui.IGV;
import org.broad.igv.util.collections.MultiMap;
import htsjdk.tribble.Feature;
import java.awt.*;
import java.util.List;
/**
* @author jrobinso
*/
abstract public class AbstractFeature implements IGVFeature, htsjdk.tribble.Fea... |
package org.clapper.util.config;
import java.io.*;
import java.util.*;
import java.net.*;
import org.clapper.util.text.*;
import org.clapper.util.io.*;
public class Configuration
implements VariableDereferencer, VariableNameChecker
{
private static final String COMMENT_CHARS = "#!";
private sta... |
package org.ensembl.healthcheck;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
impor... |
package org.eclipse.smarthome.core.thing;
public enum ThingStatusDetail {
NONE,
HANDLER_MISSING_ERROR,
HANDLER_REGISTERING_ERROR,
HANDLER_INITIALIZING_ERROR,
HANDLER_CONFIGURATION_PENDING,
CONFIGURATION_PENDING,
COMMUNICATION_ERROR,
CONFIGURATION_ERROR,
BRIDGE_OFFLINE,
FIRMWARE_U... |
/*
* $Id: GoslingCrawlerImpl.java,v 1.21 2003-05-01 01:42:55 troberts Exp $
*/
package org.lockss.crawler;
import java.io.*;
import java.util.*;
import java.net.URL;
import java.net.MalformedURLException;
import org.lockss.daemon.*;
import org.lockss.util.*;
import org.lockss.plugin.*;
/**
* The crawler.
*
* @auth... |
package controllers;
import java.util.List;
import java.util.UUID;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import play.libs.Json;
import play.mvc.BodyParser;
import play.mvc.Controller;
import play.mvc.Result;
import play.mvc.Security;
import play.libs.F.Fu... |
package org.myrobotlab.service;
import org.myrobotlab.framework.Service;
import org.myrobotlab.framework.repo.ServiceType;
import org.myrobotlab.logging.Level;
import org.myrobotlab.logging.LoggerFactory;
import org.myrobotlab.logging.Logging;
import org.myrobotlab.logging.LoggingFactory;
import org.myrobotlab.service.... |
package aeronicamc.mods.mxtune.gui;
import aeronicamc.mods.mxtune.Reference;
import aeronicamc.mods.mxtune.inventory.InstrumentContainer;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.screen.inventory.... |
package org.gbif.checklistbank.service.mybatis;
import org.gbif.api.model.checklistbank.Description;
import org.gbif.api.model.checklistbank.Distribution;
import org.gbif.api.model.checklistbank.NameUsage;
import org.gbif.api.model.checklistbank.NameUsageContainer;
import org.gbif.api.model.checklistbank.NameUsageMedia... |
package org.opencms.monitor;
import org.opencms.file.CmsGroup;
import org.opencms.file.CmsUser;
import org.opencms.main.CmsLog;
import org.opencms.security.CmsRole;
import org.opencms.util.CmsUUID;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.co... |
package net.ohloh.ohcount4j.scan;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import org.testng.annotations.Test;
import static net.ohloh.ohcount4j.Entity.*;
import static net.ohloh.ohcount4j.Language.*;
public class CSharpScannerTest extends BaseScannerTest {
@Test
pub... |
package org.springframework.jndi;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Helper class that simplifies JNDI operations. It provides metho... |
package com.censoredsoftware.demigods.battle;
import com.censoredsoftware.demigods.Demigods;
import com.censoredsoftware.demigods.data.DataManager;
import com.censoredsoftware.demigods.exception.SpigotNotFoundException;
import com.censoredsoftware.demigods.helper.ConfigFile;
import com.censoredsoftware.demigods.locatio... |
package org.hisp.dhis.dxf2.metadata.sync;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.hisp.dhis.DhisSpringTest;
import org.hisp.dhis.IntegrationTest;
import org.hisp.dhis.dxf2.metadata.systemsettings.DefaultMetadataSystemSettingService;
import org.hisp.... |
package com.crawljax.browser;
import com.crawljax.core.configuration.CrawljaxConfigurationReader;
/**
* This is the main interface for building a concrete EmbeddedBrowser implementation. By default
* Crawljax uses and offers WebDriver implementation, but when other implementation is requested the
* EmbeddedBrowser I... |
package io.realm.examples.realmintroexample;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.widget.LinearLayout;
import android.widget.TextView;
import java.io.IOException;
import io.realm.Realm;
import io.realm.RealmResults;
import io.realm.e... |
package com.deathrayresearch.outlier.app.ui;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.MenuBar;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class Outlier extends Application {
public static void main(String[] a... |
package com.devicehive.controller;
import com.devicehive.auth.HiveRoles;
import com.devicehive.json.strategies.JsonPolicyApply;
import com.devicehive.json.strategies.JsonPolicyDef;
import com.devicehive.model.Network;
import com.devicehive.model.request.NetworkRequest;
import com.devicehive.service.NetworkService;
impo... |
package com.ericsson.eiffel.remrem.generate.cli;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Paths;
import org.apache.commons.cli.Comm... |
package com.ezardlabs.lostsector.objects.menus;
import com.ezardlabs.dethsquare.GameObject;
import com.ezardlabs.dethsquare.GuiRenderer;
import com.ezardlabs.dethsquare.GuiText;
import com.ezardlabs.dethsquare.Input;
import com.ezardlabs.dethsquare.Input.KeyCode;
import com.ezardlabs.dethsquare.Script;
import com.ezard... |
package com.faforever.client.chat;
import com.faforever.client.chat.event.ChatMessageEvent;
import com.faforever.client.chat.event.ChatUserCategoryChangeEvent;
import com.faforever.client.chat.event.ChatUserColorChangeEvent;
import com.faforever.client.config.ClientProperties;
import com.faforever.client.config.ClientP... |
package com.fasterxml.jackson.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marker annotation that indicates that the logical property that
* the accessor (field, getter/setter method o... |
package com.five35.minecraft.deathbox;
import net.minecraft.block.Block;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecr... |
package com.github.cta.extractor;
import opennlp.tools.tokenize.SimpleTokenizer;
import opennlp.tools.tokenize.Tokenizer;
import java.util.ArrayList;
import java.util.List;
/**
* @author Krzysztof Langner on 17.05.15.
*/
public class EcogScoreExtractor {
private static final Tokenizer TOKENIZER = SimpleTokenizer.... |
package com.github.dockerjava.core;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.dockerjava.api.model.AuthConfig;
import com.... |
package com.github.games647.scoreboardstats;
import com.google.common.base.Objects;
import com.google.common.collect.ComparisonChain;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.bukkit.Bukkit;
/**
* Version class for comparing and d... |
package com.gmail.nossr50.listeners;
import com.gmail.nossr50.Users;
import com.gmail.nossr50.m;
import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.mcPermissions;
import com.gmail.nossr50.config.LoadProperties;
import com.gmail.nossr50.spout.SpoutStuff;
import com.gmail.nossr50.datatypes.PlayerProfile;
import com... |
package com.inari.firefly.physics.collision;
import java.util.ArrayDeque;
import com.inari.commons.GeomUtils;
import com.inari.commons.geom.BitMask;
import com.inari.commons.geom.Rectangle;
import com.inari.commons.lang.Disposable;
import com.inari.commons.lang.aspect.Aspect;
public class Contact implements Disposable ... |
package com.jaeksoft.searchlib.util;
import java.io.Closeable;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDi... |
package com.kawansoft.aceql.gui.service;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Date;
import javax.swing.JOptionPane;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.SystemUtils;
/**
* Helper class for win... |
package com.loginradius.sdk.raas.api;
import java.util.HashMap;
import java.util.Map;
import com.loginradius.sdk.social.core.LoginRadiusClient;
import com.loginradius.sdk.social.models.LoginRadiusPostResponse;
import com.loginradius.sdk.raas.models.*;
public class UserProfileAPI extends RaaSAPI{
/**
*
* ... |
package com.nalin.springbootmongo.api.domain;
import java.io.Serializable;
import java.util.Date;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.mongodb.core.mapping.Docum... |
package com.relayrides.pushy.apns.util; |
package com.shc.silenceengine.graphics;
import com.shc.silenceengine.core.SilenceException;
import com.shc.silenceengine.graphics.opengl.Primitive;
import com.shc.silenceengine.graphics.opengl.Texture;
import java.awt.*;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.InputStream;
import... |
package com.softserveinc.tender.repo;
import com.softserveinc.tender.entity.Deal;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import java.util.... |
package com.strider.datadefender;
import static org.apache.log4j.Logger.getLogger;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import ja... |
package com.suse.salt.netapi.calls.modules;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import com.google.gson.JsonElement;
import com.google.gson.annotations.SerializedName;
import com.suse.salt.netapi.calls.LocalCall;
import com.google.gson.reflect.TypeToken... |
package com.thedeanda.util.properties;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class PropertyUtils {
private static final Logger log... |
package com.zanclus.scanalyzer.services;
import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathPa... |
package de.prob2.ui.visualisation;
import java.io.FileNotFoundException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import de.prob2.ui.internal.StageManager;
import de.prob2.ui.prob2fx.CurrentTrace;
import javafx.fxml.FXML;
import javafx... |
package org.ovirt.engine.ui.uicommonweb.models.vms;
import java.util.ArrayList;
import org.ovirt.engine.core.common.action.AddDiskParameters;
import org.ovirt.engine.core.common.action.AttachDettachVmDiskParameters;
import org.ovirt.engine.core.common.action.HotPlugDiskToVmParameters;
import org.ovirt.engine.core.commo... |
package de.retest.recheck.auth;
import static org.keycloak.adapters.rotation.AdapterTokenVerifier.verifyToken;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;... |
package jolie.net;
import com.ibm.wsdl.extensions.schema.SchemaImpl;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.net.URI;
import java.util.Collection;... |
package de.retest.recheck.ui.diff;
import static de.retest.recheck.ui.image.ImageUtils.image2Screenshot;
import static de.retest.recheck.ui.image.ImageUtils.screenshot2Image;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java... |
package de.synaxon.graphitereceiver;
import com.vmware.ee.statsfeeder.ExecutionContext;
import com.vmware.ee.statsfeeder.PerfMetricSet;
import com.vmware.ee.statsfeeder.PerfMetricSet.PerfMetric;
import com.vmware.ee.statsfeeder.StatsExecutionContextAware;
import com.vmware.ee.statsfeeder.StatsFeederListener;
import com... |
package de.synaxon.graphitereceiver;
import com.vmware.ee.statsfeeder.ExecutionContext;
import com.vmware.ee.statsfeeder.PerfMetricSet;
import com.vmware.ee.statsfeeder.PerfMetricSet.PerfMetric;
import com.vmware.ee.statsfeeder.StatsExecutionContextAware;
import com.vmware.ee.statsfeeder.StatsFeederListener;
import com... |
package org.eigenbase.jmi;
import java.util.*;
import java.util.logging.*;
import javax.jmi.model.*;
import javax.jmi.reflect.*;
import org.eigenbase.trace.*;
import org.eigenbase.util.*;
import org.netbeans.api.mdr.*;
import org.netbeans.api.mdr.events.*;
/**
* JmiChangeSet manages the process of applying changes to ... |
package org.innovateuk.ifs.application;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.LongNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.ap... |
package edu.kit.ipd.crowdcontrol.objectservice;
import edu.kit.ipd.crowdcontrol.objectservice.crowdworking.PlatformManager;
import edu.kit.ipd.crowdcontrol.objectservice.database.DatabaseManager;
import edu.kit.ipd.crowdcontrol.objectservice.database.operations.*;
import edu.kit.ipd.crowdcontrol.objectservice.rest.Rout... |
package edu.neu.cloudaddy.service;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.Writer;
import java.util.ArrayList;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import edu.neu.c... |
package eu.bitwalker.useragentutils;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
/**
* Enum constants for most common operating systems.
* @author harald
*/
public enum OperatingSystem {
// the order is important since the agent string is being compared with the aliases
... |
package eu.proteus.producer.model;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
public abstract class SensorMeasurement extends Measurement{
protected int coilId;
protected int varName;
protected double value;
protected byte type;
pro... |
package com.jivesoftware.os.miru.stream.plugins.filter;
import com.google.common.base.Optional;
import com.google.common.collect.Maps;
import com.jivesoftware.os.filer.io.api.StackBuffer;
import com.jivesoftware.os.miru.api.MiruHost;
import com.jivesoftware.os.miru.api.MiruQueryServiceException;
import com.jivesoftware... |
package fr.onagui.alignment.container;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util... |
package gov.nasa.jpl.mbee.ems.sync;
import gov.nasa.jpl.mbee.ems.ExportUtility;
import gov.nasa.jpl.mbee.ems.ImportException;
import gov.nasa.jpl.mbee.ems.ImportUtility;
import gov.nasa.jpl.mbee.ems.ServerException;
import gov.nasa.jpl.mbee.ems.validation.ModelValidator;
import gov.nasa.jpl.mbee.ems.validation.ViewVali... |
package net.sf.taverna.t2.workbench.views.monitor.progressreport;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Timer;
impo... |
package hudson.plugins.cobertura;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.Util;
import hudson.model.Action;
import hudson.model.BuildListener;
import hudson.model.Result;
import hudson.model.AbstractBuild;
import hudson.model.AbstractItem;
import hudson.model.AbstractProje... |
package org.nuxeo.ecm.automation.core.events;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuxeo.ecm.automation.Automatio... |
package hudson.plugins.git.util;
import hudson.Extension;
import hudson.model.TaskListener;
import hudson.plugins.git.Branch;
import hudson.plugins.git.BranchSpec;
import hudson.plugins.git.GitException;
import hudson.plugins.git.GitSCM;
import hudson.plugins.git.IGitAPI;
import hudson.plugins.git.Revision;
import org.... |
package io.fabric8.che.starter.client;
import java.io.IOException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpEntity;
imp... |
package io.lp0onfire.smtnes.generators.cpu;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import io.lp0onfire.smtnes.CodeGenerator;
import io.lp0onfire.smtnes.smt2.*;
/**
* Execute one CPU cycle, beginning at the concl... |
package main.java.com.bag.server;
import bftsmart.reconfiguration.util.RSAKeyLoader;
import bftsmart.tom.MessageContext;
import bftsmart.tom.ServiceProxy;
import bftsmart.tom.core.messages.TOMMessageType;
import bftsmart.tom.util.TOMUtil;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;... |
package mcjty.rftoolsdim.network;
import mcjty.lib.network.PacketHandler;
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraftforge.fml.relauncher.Side;
public class RFToolsDimMessages {
public static SimpleNetworkWrapper INSTANCE;
public static void registerNetwork... |
package me.corsin.javatools.reflect;
// Project : Ever WebService
// Package : com.ever.wsframework.utils
// ReflectionUtils.java
// Author : Simon CORSIN <simoncorsin@gmail.com>
import me.corsin.javatools.misc.Pair;
import org.apache.commons.lang3.ClassUtils;
import java.lang.annotation.Annotation;
import java.lang.re... |
package net.aeronica.libs.mml.core;
import java.util.ArrayList;
import java.util.List;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ParseTreeProperty;
import net.aeronica.libs.mml.core.MMLParser.AnoteContext;
import net.aeronica.libs.mml.core.MMLParser.BandContext;
import net.aeronica... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.