answer
stringlengths
17
10.2M
package seedu.todo; import com.google.common.eventbus.Subscribe; import javafx.application.Application; import javafx.application.Platform; import javafx.stage.Stage; import seedu.todo.commons.core.EventsCenter; import seedu.todo.ui.UiManager; import seedu.todo.ui.views.IndexView; import seedu.todo.commons.core.Config;...
package seu.domain; import org.springframework.stereotype.Component; import java.io.Serializable; @Component public class Teacher implements Serializable { private int teacherId; private String teacherName; private int teacherPhoneNumber; private String password; public Teacher() { super(); ...
package spdxedit; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; import com.google.common.net.MediaType; import org.apache.commons.codec.binary.Hex; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.text.WordUtils; import org.slf4j.Logger; import org.sl...
package org.anddev.andengine.entity.sprite.batch; import java.util.ArrayList; import org.anddev.andengine.entity.IEntity; import org.anddev.andengine.entity.sprite.BaseSprite; import org.anddev.andengine.opengl.texture.Texture; import org.anddev.andengine.util.SmartList; /** * @author Nicolas Gramlich * @since 12:10:...
package org.apache.xerces.validators.schema; import java.util.*; import org.w3c.dom.*; import org.apache.xerces.validators.schema.SchemaSymbols; import org.apache.xerces.validators.datatype.*; import org.apache.xerces.framework.XMLErrorReporter; import org.apache.xerces.validators.common.XMLAttributeDecl; public class ...
package org.cherchgk.actions.tournament; import com.opensymphony.xwork2.Action; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.Preparable; import org.cherchgk.domain.TeamCategory; import org.cherchgk.domain.Tournament; import org.cherchgk.security.PermissionChecker; import org.cherchgk.ser...
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id$ */ package org.gridlab.gridsphere.portlet.impl; import org.gridlab.gridsphere.portlet.Client; import org.gridlab.gridsphere.portlet.PortletApplicationSettings; import org.gridlab.gridsphere.portlet.PortletSettings; import org.gridlab....
package org.jitsi.impl.neomedia.transform.dtls; import java.io.*; import java.util.*; import org.bouncycastle.crypto.tls.*; import org.jitsi.util.*; /** * Implements {@link TlsServer} for the purposes of supporting DTLS-SRTP. * * @author Lyubomir Marinov */ public class TlsServerImpl extends DefaultTlsServer { ...
package org.objectweb.proactive.core.mop; import org.apache.bcel.Constants; import org.apache.bcel.classfile.JavaClass; import org.apache.bcel.generic.*; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Vector; public class BytecodeStubBuilder { // Those fields contain informatio...
package org.pentaho.agilebi.spoon.publish; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Arrays; import...
package scalac.util; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.io.PrintWriter; import java.util.HashSet; import ch.epfl.lamp.util.Position; import scalac.ApplicationError; public class Reporter { // // Private Fields /** The reader to ask for fa...
package org.exist.xquery.functions.request; import org.apache.log4j.Logger; import java.io.File; import java.util.List; import org.exist.dom.QName; import org.exist.http.servlets.RequestWrapper; import org.exist.xquery.BasicFunction; import org.exist.xquery.Cardinality; import org.exist.xquery.FunctionSignature; import...
package editor.gui.inventory; import java.awt.Dialog; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.text.DateFormat; i...
package picodedTests.RESTBuilder.templates; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import...
package comments.user; import static com.dyuproject.protostuffdb.EntityMetadata.ZERO_KEY; import static com.dyuproject.protostuffdb.SerializedValueUtil.readByteArrayOffsetWithTypeAsSize; import java.io.IOException; import java.util.Arrays; import com.dyuproject.protostuff.KeyBuilder; import com.dyuproject.protostuff.Pi...
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id$ */ package org.gridlab.gridsphere.layout; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.S...
package edu.cmu.cs.diamond.opendiamond; import edu.cmu.cs.diamond.opendiamond.glue.groupidArray; public class NameScope extends Scope { private final String name; NameScope(String name, groupidArray gids, int size) { super(gids, size); this.name = name; } @Override public String toSt...
package io.myweb.api; import org.json.JSONObject; import java.io.InputStream; public class HttpResponse { private String mimeType; private Object body; private int statusCode; private long contentLength; private HttpResponse() {} public static HttpResponse create() { return new HttpRespo...
package edu.cuny.qc.speech.AuToBI.util; import edu.cuny.qc.speech.AuToBI.core.AuToBIException; import edu.cuny.qc.speech.AuToBI.core.Word; import edu.cuny.qc.speech.AuToBI.util.AuToBIUtils; import java.util.List; import java.util.regex.Pattern; import java.util.regex.Matcher; /** * ToBIUtils is a utility class to stor...
package org.pentaho.di.trans.steps.setvariable; import org.pentaho.di.core.Const; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.core.exception.KettleStepException; import org.pentaho.di.core.variables.VariableSpace; import org.pentaho.di.job.Job; import org.pentaho.di.trans.Trans; import o...
package org.pentaho.di.trans.steps.tableoutput; import java.sql.PreparedStatement; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import org.pentaho.di.core.Const; import org.pentaho.di.core.RowMetaAndData; import org.pentaho.di.core.database.Database; imp...
package com.drone; import static com.drone.ReaderUtils.getUInt32; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketException; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import ...
package at.sw2017.q_up; import android.app.Activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import java.util.List; import static junit.f...
package net.yasme.android.entities; import android.os.AsyncTask; import com.j256.ormlite.dao.BaseForeignCollection; import com.j256.ormlite.dao.ForeignCollection; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.field.ForeignCollectionField; import com.j256.ormlite.table.DatabaseTable; import net.ya...
package procesamientos.comprobaciontipos; import errores.Errores; import procesamientos.Procesamiento; import programa.Programa; import programa.Programa.CteInt; import programa.Programa.CteBool; import programa.Programa.Suma; import programa.Programa.And; import programa.Programa.DecVar; import programa.Programa.IAsig...
package edu.colorado.csdms.wmt.client.ui; import com.google.gwt.core.shared.GWT; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.FlexTable; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.HasHorizontalAlignment; ...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.templates.RobotMap; import ed...
package org.hoteia.qalingo.core.service; import java.sql.Timestamp; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util.Set; import java.util.UUID; import javax.servlet.http.HttpServletRequest; import...
package com.microsoft.applicationinsights.library; import android.app.Application; import android.content.Context; import android.content.pm.PackageManager; import android.os.Bundle; import android.util.Log; import com.microsoft.applicationinsights.library.config.ApplicationInsightsConfig; import com.microsoft.applicat...
package com.microsoft.applicationinsights.library; import android.app.Application; import android.content.Context; import android.content.pm.PackageManager; import android.os.Bundle; import android.util.Log; import com.microsoft.applicationinsights.library.config.ApplicationInsightsConfig; import com.microsoft.applicat...
package timeBench.data.io; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import prefuse.data.Node; import prefuse.data.io.DataIOException; import prefuse.data.io.GraphMLReader.Tokens; import timeBench.data.TemporalDataException; import timeBench.data.Tempo...
package de.ptb.epics.eve.data.scandescription.processors; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.SimpleDateFormat; import javax.xml.datatype.Duration; import org.apache.log4j.Logger; import org.apache.xml.seriali...
package externaldata.controller; import foodprofile.model.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import moodprofile.model.*; import userprofile.model....
package org.digidoc4j.impl.asic; import eu.europa.esig.dss.DSSDocument; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.digidoc4j.Configuration; import org.digidoc4j.Constant; import org.digidoc4j.Container; import org.digidoc4j.ContainerValidationResult; import org.digidoc...
/** * Created Dec 19, 2007 */ package com.crawljax.core.state; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.HashSet; import j...
package es.ucm.fdi.tp.views.swing.controlpanel; import java.awt.FlowLayout; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JPanel; import javax.swing.SwingUtilities; import es.ucm.fdi.tp.basecode.bgame.control.Controller; i...
package org.distbc.data.structures; import com.esotericsoftware.kryo.DefaultSerializer; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; import java.lang.reflect.Constructor; import java.lang.reflec...
package com.github.davidmoten.rx.jdbc; import static com.github.davidmoten.rx.jdbc.DatabaseCreator.connectionProvider; import static com.github.davidmoten.rx.jdbc.DatabaseCreator.createDatabase; import static com.github.davidmoten.rx.jdbc.DatabaseCreator.db; import static com.github.davidmoten.rx.jdbc.DatabaseCreator.n...
package com.litle.sdk; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java...
package com.learning.ads.misc; import static org.junit.Assert.assertArrayEquals; import org.junit.Test; public class MatriSpiralOrderTest { MatriSpiralOrder<Integer> mso = new MatriSpiralOrder<>(); @Test public void spiralRowVector() { assertArrayEquals(new Integer[] { 1 }, mso.spiral(new Integer[][...
package com.deque; import org.json.JSONArray; import org.json.JSONObject; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.c...
package com.psidox.garage; import com.psidox.garage.model.Car; import com.psidox.garage.model.Customer; import com.psidox.garage.model.ServiceRecord; import com.psidox.garage.service.CarRepository; import com.psidox.garage.service.CustomerRepository; import com.psidox.garage.service.ServiceRecordService; import com.psi...
package com.rethinkdb.ast; import com.rethinkdb.gen.ast.*; import com.rethinkdb.gen.exc.ReqlDriverCompileError; import com.rethinkdb.gen.exc.ReqlDriverError; import com.rethinkdb.model.Arguments; import com.rethinkdb.model.MapObject; import com.rethinkdb.model.ReqlLambda; import com.rethinkdb.net.Cursor; import java.la...
package gov.nih.nci.cananolab.util; import gov.nih.nci.cananolab.domain.common.DerivedDatum; import gov.nih.nci.cananolab.domain.common.LabFile; import gov.nih.nci.cananolab.domain.common.ProtocolFile; import gov.nih.nci.cananolab.domain.common.Source; import gov.nih.nci.cananolab.domain.particle.characterization.Chara...
package fr.cs.orekit.frames.series; import java.io.ByteArrayInputStream; import java.io.InputStream; import fr.cs.orekit.errors.OrekitException; import fr.cs.orekit.frames.series.Development; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; public class DevelopmentTest ext...
package nl.dvberkel.brainfuck.language; import nl.dvberkel.brainfuck.language.instruction.*; import nl.dvberkel.brainfuck.machine.BrainfuckMachine; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.ArrayList; import java.util.Collec...
package nl.han.ica.ap.purify.modles; import static org.easymock.EasyMock.createMock; import static org.easymock.EasyMock.replay; import static org.easymock.EasyMock.verify; import static org.junit.Assert.assertEquals; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.tree.ParseTree; import org....
package org.embulk.input; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Logger; import com.github.dockerjava.api.DockerClient; import com.github.dockerjava.api.model.Container; import com.github.dockerjava.core.DockerClientBuilder; import org.embulk.EmbulkEmbed; import org.embulk.config.ConfigSourc...
package org.jenkinsci.plugins.gitclient; import hudson.FilePath; import hudson.Util; import hudson.model.TaskListener; import hudson.plugins.git.Branch; import hudson.plugins.git.GitException; import hudson.plugins.git.IGitAPI; import hudson.util.StreamTaskListener; import org.apache.commons.io.FileUtils; import org.ap...
package org.neo4j.gis.spatial; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.List; import junit.framework.AssertionFailedError; import org.junit.Test; import org.neo4j.collections.rtree.Envelope; import org.neo4j.gis.spatial.geotools.data.StyledImageExporter; imp...
// This file is part of Hadoop-BAM. // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following cond...
package redis.clients.jedis.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import static redis.clients.jedis.tests.utils.AssertUtil.assertByteArr...
package redis.clients.jedis.tests; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.junit.Assert; import org.junit.Test; import redis.clients.jedis.HostAndPort; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisShardInfo; import redis.clients.jedis.Protocol; impor...
// $Header: /cvsshare/content/cvsroot/cdecurate/src/gov/nih/nci/cadsr/cdecurate/test/testdec.java,v 1.11 2008-03-13 17:57:59 chickerura Exp $ // $Name: not supported by cvs2svn $ package gov.nih.nci.cadsr.cdecurate.test; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; i...
package net.sourceforge.jtds.test; import java.sql.*; import junit.framework.TestCase; /** * @version 1.0 */ public class CallableStatementTest extends TestBase { public CallableStatementTest(String name) { super(name); } public void testCallableStatement() throws Exception { CallableState...
package storm.kafka.trident; import backtype.storm.utils.Utils; import com.google.common.collect.ImmutableMap; import java.net.ConnectException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import kafka.api.FetchRequest; import kafka.javaap...
package gseproject.gridagent; import gseproject.core.grid.Grid; import gseproject.infrastructure.contracts.RobotStateContract; import gseproject.infrastructure.serialization.SerializationController; import jade.core.Agent; import jade.core.behaviours.DataStore; import jade.lang.acl.ACLMessage; import jade.lang.acl.Mess...
package com.dmnlk.doma; import org.apache.log4j.Logger; import org.seasar.doma.jdbc.JdbcLogger; import org.seasar.doma.jdbc.Sql; import org.seasar.doma.jdbc.SqlExecutionSkipCause; import java.sql.SQLException; /** * @author dmnlk */ public class CommonJdbcLogger implements JdbcLogger { private final Logger logger...
package com.dmnlk.sample; import com.codahale.metrics.annotation.Timed; import com.dmnlk.doma.dao.TAccountDao; import com.google.common.base.Optional; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import java.util.concurre...
// This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should have received a copy of the GNU Lesser Gene...
/* * $Log: HttpSender.java,v $ * Revision 1.32 2008-03-20 12:00:10 europe\L190409 * set default path '/' * * Revision 1.31 2007/12/28 12:09:33 Gerrit van Brakel <gerrit.van.brakel@ibissource.org> * added timeout exception detection * * Revision 1.30 2007/10/03 08:46:40 Gerrit van Brakel <gerrit.van.brakel...
package kernitus.plugin.OldCombatMechanics.module; import kernitus.plugin.OldCombatMechanics.Config; import kernitus.plugin.OldCombatMechanics.OCMMain; import org.bukkit.World; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.event.Listener; public class Module implements Listener { protected...
package org.unitime.timetable.model; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util.TreeSet; import javax.servlet.http.HttpServletRequest; import org.unitime.commons.web.Web; import org.unit...
package edu.duke.cabig.c3pr.infrastructure.interceptor; import java.io.Serializable; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hibernate.EmptyInterceptor; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.type.Type; import org.s...
package afc.ant.modular; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Collection; import java.util.IdentityHashMap; import java.util.Iterator; import java.util.LinkedHashSet; /** * <p>A {@link DependencyResolver} that supports multi-threaded {@link Module module} * processing. That is,...
package info.guardianproject.otr; import info.guardianproject.otr.OtrDataHandler.Transfer; import info.guardianproject.otr.app.im.engine.ChatSession; import info.guardianproject.otr.app.im.engine.ImErrorInfo; import info.guardianproject.otr.app.im.engine.Message; import info.guardianproject.otr.app.im.engine.MessageLis...
package hudson.diagnosis; import hudson.XmlFile; import hudson.model.FreeStyleBuild; import hudson.model.FreeStyleProject; import hudson.model.InvisibleAction; import hudson.model.Saveable; import java.io.File; import java.io.IOException; import java.lang.ref.WeakReference; import java.util.Collections; import java.uti...
package vg.civcraft.mc.bettershards.database; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.UUID; import java...
package nl.b3p.viewer.stripes; import java.io.StringReader; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.Callable; import javax.persistence.NoResultExc...
package org.perl6.nqp.sixmodel; import org.perl6.nqp.runtime.ExceptionHandling; import org.perl6.nqp.runtime.ThreadContext; /** * All 6model objects derive from this base class. A bunch of the REPR * API methods are also implemented through here. This is not the way * that 6model implementions in, say, C are factore...
package org.apache.commons.vfs.impl; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.security.CodeSource; import java.security.Permission; import java.security.PermissionCollection; import java.security.Permissions; import java.security.SecureClassLoader; import java....
package org.apache.velocity.test; import java.util.Properties; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.io.IOException; import java.io.FileInputStream; import java.io.BufferedInputStream; import junit.framework.*; /** * Test suite for Apache Velocity. * * @author <a h...
package jsettlers.logic.algorithms.fogofwar; import java.io.IOException; import java.io.ObjectInputStream; import java.util.concurrent.ConcurrentLinkedQueue; import jsettlers.common.CommonConstants; import jsettlers.common.logging.MilliStopWatch; import jsettlers.common.logging.StopWatch; import jsettlers.common.map.sh...
package org.seedstack.i18n.internal.infrastructure.service; import org.seedstack.i18n.api.LocaleService; import org.seedstack.i18n.api.LocalizationService; import org.seedstack.i18n.internal.domain.model.key.Key; import org.seedstack.i18n.internal.domain.model.key.KeyFactory; import org.seedstack.i18n.internal.domain.m...
package com.orientechnologies.orient.core.storage.impl.local.paginated.wal; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; im...
package org.wyona.yanel.servlet; import java.io.ByteArrayInputStream; import java.io.File; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.net.URL; import java.util.Calendar; import java.util.Enumeration; import java.util.HashMap; import java....
package ibis.ipl; import java.io.File; import java.io.IOException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.StringTokenizer; import j...
package ibis.util; import java.io.IOException; import java.io.InputStream; /** * Utility to run a process and read its output in a separate thread. * Afterwards, the user can obtain the output or error output. * To run a command, the sequence is: * <br> * <pre> * RunProcess p = new RunProcess("command ..."); ...
package ibis.util; import ibis.ipl.IbisError; import java.util.LinkedList; import org.apache.log4j.Logger; /** * @author Niels Drost * * Threadpool which uses timeouts to determine the number of threads... * There is no maximum number of threads in this pool, to prevent deadlocks. * */ public final class ThreadPo...
// This file is part of the OpenNMS(R) Application. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // and included code are below. // OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. // This program is free software; you can redistribute it and/or modify // ...
package BlueTurtle.finders; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import java.io.File; import java.nio.file.Paths; import java.util.HashSet; import java.util.Set; import org.junit.Before; import org.junit.Test; /** * Test for the ProjectInforFinder class. * * @autho...
package com.ams.pageobject; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.Select; import com.ams.testsetup.SetUpLogin; public class RequestAsset_Dro...
package com.ams.pageobject; import java.io.IOException; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.Select; import com.ams.testsetup.SetUp; import com.nerdapplabs.test.TestDataReader; public class RequestAsset_DropDown extends SetUp ...
package com.bitplan.mediawiki.japi; import static org.junit.Assert.*; import org.junit.Test; import com.bitplan.mediawiki.japi.api.Api; import com.bitplan.mediawiki.japi.api.Login; import com.bitplan.mediawiki.japi.jaxb.JaxbFactory; import com.bitplan.mediawiki.japi.user.WikiUser; public class TestAPI_Login extends API...
package com.relayrides.pushy.apns; import io.netty.bootstrap.ServerBootstrap; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.EventLoopGroup; i...
package com.stevewedig.blog.symbol; import static com.stevewedig.blog.symbol.SymbolLib.map; import static com.stevewedig.blog.symbol.SymbolLib.symbol; import static com.stevewedig.blog.value_objects.ObjectHelperLib.assertStateEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFals...
package com.treasure_data.jdbc; import com.treasure_data.client.ClientException; import org.junit.Ignore; import org.junit.Test; import org.msgpack.type.ArrayValue; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOEx...
package io.dummymaker.export.asfile; import org.junit.After; import org.junit.Assert; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.nio.f...
package org.cactoos.iterator; import java.util.Iterator; import java.util.NoSuchElementException; import org.cactoos.list.ListOf; import org.cactoos.text.TextOf; import org.hamcrest.core.IsEqual; import org.junit.Test; import org.llorllale.cactoos.matchers.Assertion; import org.llorllale.cactoos.matchers.HasValues; /**...
package us.jubat.clustering; import static org.hamcrest.Matchers.instanceOf; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import static org.junit.Assert.assertThat; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import or...
// jTDS JDBC Driver for Microsoft SQL Server and Sybase // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU /...
package alignment.alignment_v2; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.Date; import java.util.GregorianCalendar; import java.util.TimeZone; import java.util.UUID; import java.io.ByteArrayInputStream; import java.io.IOException; import ja...
package at.ac.ait.ariadne.routeformat; import static at.ac.ait.ariadne.routeformat.Sproute.GeneralizedModeOfTransportType.PUBLIC_TRANSPORT; /** * {@link Sproute} holds all {@link Enum}s of the sproute route format * * @author AIT Austrian Institute of Technology GmbH */ public class Sproute { public enum Access...
package br.gov.servicos.editor.xml; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import lombok.experimental.FieldDefaults; import org.jsoup.Jsoup; import org.jsoup.nodes.Element; import java.io.File; import java.io.IOException; import java.util.List; import java.util.Optional; import java.util.function.Fu...
package ca.phon.plugins.praat; import java.io.File; import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.ut...
package imj3.draft; import static imj2.topology.Manifold.*; import static imj2.topology.Manifold.Traversor.*; import static imj3.draft.SVGTools.*; import static imj3.draft.Vectorize.WeakProperties.weakProperties; import static imj3.tools.CommonTools.formatColor; import static java.lang.Math.*; import static multij.tool...
package ch.ethz.geco.bass.audio.util; import ch.ethz.geco.bass.Main; import ch.ethz.geco.bass.audio.AudioManager; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.reflect.TypeToken; import com.sedmelluq.discord.lavaplayer.track.AudioTrack; import java.lang.reflect.Type; import...
/* class RadarLevel2Servlet * * Library for the RadarLevel2 Servlet * * Finds the near realtime product files for a particular station and time. * Outputs either html, dqc or catalog files. * * By: Robb Kambic 09/25/2007 * */ package thredds.servlet.idd; import thredds.servlet.*; import java.io.*; import ja...
package ch.tkuhn.memetools; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.ut...
package org.rzo.yajsw.tray; import java.awt.BorderLayout; import java.awt.Color; import java.awt.ComponentOrientation; import java.awt.Container; import java.awt.Dimension; import java.awt.Font; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.Box; import javax.swing.ImageIcon;...