answer
stringlengths
17
10.2M
package nl.fixx.asset.data; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.support.SpringBootServletInitializer; import org.springframework.conte...
package org.cojen.tupl.repl; import java.io.InterruptedIOException; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketAddress; import java.util.Arrays; import java.util.Map; import java.util.function.Consumer; import java.util.concurrent.ThreadLocalRandom; import ja...
package org.dynmap.bukkit; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.InetSocketAddress; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map...
package org.gitlab4j.api; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.file.Files; import java.nio.file.StandardCopyOption; import java.util.List; import java.util.Optional; import javax.ws.rs.core.F...
package org.gitlab4j.api.utils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.Instant; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeFormatterBuilder; import java.time.temporal.ChronoField; import java.util.Calendar; im...
package org.jtrfp.trcl.core; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.IntBuffer; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.concurrent.Callable; import javax.media.opengl.GL3; import org.jtrfp.trcl.BriefingScreen; import org.jtrfp.trcl....
package org.jtrfp.trcl.core; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.IntBuffer; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.Executors; import ja...
package org.jtrfp.trcl.obj; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.concurrent.Callable; import org.apache.commons.math3.exception.MathArithmeticException; import org.apache.commons.math3.geometry...
package org.lantern.state; import org.codehaus.jackson.annotate.JsonIgnore; public class ClientFriend implements Friend { private Long id; private String email; private String name = ""; private String userEmail = ""; private Status status = Status.pending; /** * The next time, in milliseco...
package org.lightmare.ejb; import java.io.IOException; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Proxy; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManagerFactory; import or...
package org.myrobotlab.service; import java.io.File; import java.io.IOException; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeSet; import org.apache.commons.io.FilenameUtils; import org.myrobotlab.framework.Platform; import org.myrobotlab.framew...
package org.myrobotlab.service; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util....
package org.restheart.db; import com.mongodb.BasicDBList; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; import com.mongodb.MongoClient; import com.mongodb.MongoException; import com.mongodb.util.JSON; import com.mongod...
package org.scm4j.releaser; import org.scm4j.commons.Version; import org.scm4j.releaser.actions.ActionKind; import org.scm4j.releaser.actions.ActionNone; import org.scm4j.releaser.actions.IAction; import org.scm4j.releaser.branch.DevelopBranch; import org.scm4j.releaser.branch.DevelopBranchStatus; import org.scm4j.rele...
package org.smoothbuild.parse.ast; import java.util.Optional; import org.smoothbuild.lang.base.Loc; import org.smoothbuild.lang.like.Obj; import org.smoothbuild.util.collect.Named; public sealed abstract class ArgP extends GenericP implements NamedP permits DefaultArgP, ExplicitArgP { private final Optional<Strin...
package org.to2mbn.jmccc.util; import java.nio.charset.Charset; public enum Platform { WINDOWS, LINUX, OSX, UNKNOWN; /** * Returns the file separator on the current platform. * <p> * This method refers to <code>System.getProperty("file.separator")</code> * * @return the file separator o...
package org.vietabroader.view; import org.vietabroader.GoogleAPIUtils; import javax.swing.*; import javax.swing.border.CompoundBorder; import javax.swing.border.EmptyBorder; import javax.swing.border.TitledBorder; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapt...
package org.weasis.servlet; import static org.weasis.dicom.wado.DicomQueryParams.AccessionNumber; import static org.weasis.dicom.wado.DicomQueryParams.ObjectUID; import static org.weasis.dicom.wado.DicomQueryParams.PatientID; import static org.weasis.dicom.wado.DicomQueryParams.SeriesUID; import static org.weasis.dicom...
package org.yinwang.pysonar.demos; import org.jetbrains.annotations.NotNull; import org.yinwang.pysonar.Indexer; import org.yinwang.pysonar.Progress; import org.yinwang.pysonar.Util; import java.io.File; import java.util.List; public class Demo { private static File OUTPUT_DIR; private static final String CSS =...
package otanga.Controllers; import com.google.appengine.api.files.*; import com.google.appengine.api.files.GSFileOptions.GSFileOptionsBuilder; import sun.security.ssl.Debug; import java.nio.ByteBuffer; import java.io.IOException; import java.nio.channels.Channels; import java.util.UUID; import java.io.BufferedReader; p...
package qualify.tools; import org.apache.commons.io.FileUtils; import org.apache.log4j.Logger; import org.openqa.selenium.Alert; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.Keys; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.Ou...
package romelo333.rflux.blocks; import elucent.albedo.lighting.ILightProvider; import elucent.albedo.lighting.Light; import mcjty.lib.bindings.DefaultValue; import mcjty.lib.bindings.IValue; import mcjty.lib.blocks.BaseBlock; import mcjty.lib.blocks.GenericBlock; import mcjty.lib.tileentity.GenericEnergyReceiverTileEnt...
package seedu.geekeep.ui; import java.util.logging.Logger; import javafx.application.Platform; import javafx.collections.ObservableList; import javafx.collections.transformation.FilteredList; import javafx.fxml.FXML; import javafx.scene.control.ListCell; import javafx.scene.control.ListView; import javafx.scene.control...
package seedu.task.model.task; import seedu.task.commons.exceptions.IllegalValueException; /** * Represents a Task's name in the task manager. * Guarantees: immutable; is valid as declared in {@link #isValidName(String)} */ public class TaskName { public static final String MESSAGE_NAME_CONSTRAINTS = "Task names...
package seedu.tasklist.model.task; import seedu.tasklist.commons.exceptions.IllegalValueException; /** * Represents a Task's name in the address book. * Guarantees: immutable; is valid as declared in {@link #isValidName(String)} */ public class Name { public static final String MESSAGE_NAME_CONSTRAINTS = ...
package seedu.unburden.model.task; import java.util.regex.Matcher; import java.util.regex.Pattern; import seedu.unburden.commons.exceptions.IllegalValueException; /** * Represents a Task's time in the Task Manager. Guarantees: immutable; is valid * as declared in {@link #isValidTime(String)} * * @@author A0143095H ...
package tars.logic.commands; import java.time.DateTimeException; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; import tars.commons.core.Messages; import tars.commons.core.UnmodifiableObservableList; import tars.commons.exceptions.DuplicateTaskException; import tars.commons.exceptions.Illeg...
package teropa.globetrotter.client; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import teropa.globetrotter.client.common.Bounds; import teropa.globetrotter.client.common.Calc; import teropa.globetrotter.client.common.Direction; import teropa.globetrotter.client.common.LonLat; impo...
package uk.ac.edukapp.model; import java.io.Serializable; import java.util.Date; import javax.persistence.*; import org.codehaus.jackson.annotate.JsonIgnore; import org.codehaus.jackson.annotate.JsonProperty; /** * The persistent class for the userreview database table. * */ @Entity @Table(name="userreview") @NamedQ...
package vontus.magicbottle; import java.lang.reflect.Field; import org.bukkit.enchantments.Enchantment; import org.bukkit.enchantments.EnchantmentTarget; import org.bukkit.enchantments.EnchantmentWrapper; import org.bukkit.inventory.ItemStack; public class EnchantGlow extends EnchantmentWrapper { private static Enc...
package paidia; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.math.BigDecimal; import java.util.function.Consumer; import java.util.function.Supplier; import java.util.stream.Stream; public class PlaygroundView extends JPanel { private EditableView currentEditableView; private Mo...
package com.thinkbiganalytics.feedmgr.sla; import com.google.common.collect.Lists; import com.thinkbiganalytics.metadata.rest.model.sla.Obligation; import com.thinkbiganalytics.metadata.rest.model.sla.ObligationGroup; import com.thinkbiganalytics.metadata.rest.model.sla.ServiceLevelAgreement; import com.thinkbiganalyti...
package de.fu_berlin.imp.seqan.usability_analyzer.groundedtheory.ui.wizards.pages; import java.util.concurrent.Callable; import org.eclipse.jface.layout.GridLayoutFactory; import org.eclipse.jface.wizard.WizardPage; import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.Pain...
package uk.ac.ucl.excites.sapelli.storage.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import uk.ac.ucl.excites.sapelli....
package com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes; import java.util.Iterator; import java.util.List; import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.XWikiException; import com.xpn.xwiki.api.Document; import com.xpn.xwiki.doc.XWikiDocument; import com.xpn.xwiki.objects.BaseElement; import ...
package org.ovirt.engine.ui.uicommonweb.models.hosts.network; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import static org.mockito.Matchers.anyString; import static org.mockito...
package fr.javatronic.damapping.intellij.plugin.integration.psiparsing.impl; import fr.javatronic.damapping.intellij.plugin.integration.psiparsing.PsiContext; import fr.javatronic.damapping.intellij.plugin.integration.psiparsing.PsiParsingService; import fr.javatronic.damapping.processor.model.DAAnnotation; import fr.j...
package org.innovateuk.ifs.project.grantofferletter.controller; import org.innovateuk.ifs.commons.error.CommonFailureKeys; import org.innovateuk.ifs.BaseControllerMockMVCTest; import org.innovateuk.ifs.file.resource.FileEntryResource; import org.innovateuk.ifs.project.grantofferletter.form.ProjectGrantOfferLetterForm; ...
package io.subutai.core.environment.impl.adapter; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.commons.lang3.StringUtils; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.Sets; import io.subutai.common.command.CommandException; import i...
package cz.cuni.mff.odcleanstore.fusiontool.conflictresolution.impl; import com.google.common.collect.Table; import cz.cuni.mff.odcleanstore.conflictresolution.*; import cz.cuni.mff.odcleanstore.conflictresolution.exceptions.ConflictResolutionException; import cz.cuni.mff.odcleanstore.conflictresolution.exceptions.Reso...
package org.xwiki.extension.repository.internal.core; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.net.URL; import javax.inject.Inject; import javax.inject.Singleton; import org.slf4j.Logger; import org.xwiki.component.annotation.Component; import org.xwiki.component...
package xal.app.tripviewer; import xal.extension.application.*; /** * Main is the ApplicationAdaptor for the trip viewer. * @author t6p */ public class Main extends ApplicationAdaptor { /** * Returns the text file suffixes of files this application can open. * @return Suffixes of readable files *...
package yaplstack.ast; import yaplstack.Instruction; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.*; import java.util.function.Consumer; import java.util.function.Function; import java.util.stream.Collectors; public class Generator implements AS...
package owltools.graph; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import java.util.Vector; import org.apa...
package travelplanner; import java.awt.EventQueue; import javax.swing.JFrame; import com.toedter.calendar.JCalendar; import javax.swing.JTextField; import javax.swing.ScrollPaneConstants; import javax.swing.border.EmptyBorder; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import javax.s...
package org.opendaylight.controller.cluster.databroker.actors.dds; import akka.actor.ActorRef; import akka.actor.Status; import com.google.common.base.Throwables; import com.google.common.base.Verify; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.concurrent.ConcurrentHa...
package fr.openwide.core.wicket.more.markup.html.basic; import java.util.Collection; import java.util.List; import org.apache.wicket.Component; import org.apache.wicket.markup.html.WebMarkupContainer; import org.apache.wicket.model.IModel; public abstract class AbstractHideableContainer<T extends AbstractHideableContai...
package com.camnter.hook.ams.f.service.plugin.host; import android.annotation.SuppressLint; import android.app.Service; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ServiceInfo; import android.os....
package org.epics.pvmanager.util; import java.util.Date; import org.epics.util.time.Timestamp; /** * Represent a time stamp at nanosecond accuracy. The time is internally stored * as two values: the UNIX timestamp (number of seconds since * 1/1/1970) and the nanoseconds past that timestamp. The UNIX timestamp is * ...
package de.cooperate.modeling.graphical.papyrus.extensions.outline; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.Optional; import java.util.stream.Collectors; import org.eclipse.emf.common.util.TreeIterator; import org.eclipse.emf.eco...
package xyz.hotchpotch.util.stream; import java.io.Serializable; import java.util.Objects; /** * 2<br> * * @param <T> 1 * @param <U> 2 * @author nmby */ public class Pair<T, U> implements Serializable { // ++++++++++++++++ static members ++++++++++++++++ private static final long serialVersionUID = 1L; ...
package com.parse.starter; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.database.Cursor; import android.graphics.Bitmap; import android.gra...
package io.subutai.core.hubmanager.impl.environment.state.build; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.commons.lang3.StringUtils; import com.google.common.collect.Maps; import io.subutai.common.environment.Environment; import io.subutai.common.environment.EnvironmentNot...
package fr.openwide.core.jpa.more.business.link.service; import io.mola.galimatias.GalimatiasParseException; import java.io.IOException; import java.net.SocketTimeoutException; import java.net.URI; import java.net.URISyntaxException; import java.util.Collection; import java.util.Date; import java.util.List; import java...
package org.modmine.web; import java.io.IOException; import java.io.InputStream; import java.sql.SQLException; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import j...
package j2048.jgamegui; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import jgame.GContainer; import jgame.GMessage; /** * The main view for a game of 2048. * * @author William Chargin * */ public class GamePanel extends GContainer { /** * A score display component with a label...
package cz.cuni.lf1.lge.ThunderSTORM; import static cz.cuni.lf1.lge.ThunderSTORM.util.ImageMath.subtract; import static cz.cuni.lf1.lge.ThunderSTORM.util.ImageMath.add; import cz.cuni.lf1.lge.ThunderSTORM.UI.AnalysisOptionsDialog; import cz.cuni.lf1.lge.ThunderSTORM.UI.GUI; import cz.cuni.lf1.lge.ThunderSTORM.UI.MacroP...
package de.osramos.ss13.proj1.services; import org.springframework.context.ApplicationListener; import org.springframework.context.event.ContextRefreshedEvent; import de.osramos.ss13.proj1.model.Route; import de.osramos.ss13.proj1.model.Taskdb; import de.osramos.ss13.proj1.model.Userdb; public class FirstRun implements...
package de.fhpotsdam.unfolding.marker; import java.util.ArrayList; import java.util.List; import de.fhpotsdam.unfolding.UnfoldingMap; /** * Manages markers of different types. Is always connected to one map (for location to screen coordinate conversion). */ public class MarkerManager<E extends Marker> { protected...
package de.wak_sh.client.backend; import android.app.ProgressDialog; import android.content.Context; import android.os.AsyncTask; public abstract class ProgressDialogTask<Params, Result> extends AsyncTask<Params, Void, Result> { private ProgressDialog progressDialog; private Context context; private...
package org.opennms.features.topology.plugins.browsers; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import...
package org.apache.hadoop.yarn.server.nodemanager; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.yarn.api.records.ContainerId; import org.apache.hadoop.yarn.conf.YarnConfigurati...
package com.opengamma.analytics.financial.interestrate.future.provider; import static org.testng.AssertJUnit.assertEquals; import org.testng.annotations.Test; import org.threeten.bp.Period; import org.threeten.bp.ZonedDateTime; import com.opengamma.analytics.financial.instrument.future.SwapFuturesPriceDeliverableSecuri...
package org.xwiki.eventstream.store.internal; import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.XWikiException; import com.xpn.xwiki.store.XWikiHibernateStore; import org.hibernate.Session; import org.xwiki.component.annotation.Component; import org.xwiki.component.namespace.NamespaceContextExecutor; import org.x...
package edu.cs4730.wearapp; import android.os.Bundle; import android.support.wearable.activity.WearableActivity; import android.view.View; import android.widget.ImageButton; import android.widget.TextView; import java.util.Random; public class MainActivity extends WearableActivity { private TextView mTextView; ...
package org.hd.d.edh; import java.io.BufferedWriter; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.URL; import java.net.URLConnection; import java.text.ParseException; import...
package com.thinkbiganalytics.nifi.provenance.model; import com.thinkbiganalytics.nifi.provenance.util.ProvenanceEventUtil; import org.apache.nifi.provenance.ProvenanceEventType; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Objects; import java.util.Set; import java.uti...
package dr.app.beauti.priorsPanel; import dr.app.beauti.options.Parameter; import dr.app.beauti.types.PriorType; import dr.app.gui.components.RealNumberField; import dr.app.util.OSType; import dr.math.distributions.*; import jam.panels.OptionsPanel; import javax.swing.*; import java.awt.event.*; import java.beans.Prope...
package org.xwiki.gwt.wysiwyg.client.plugin.image.ui; import java.util.List; import org.xwiki.gwt.user.client.StringUtils; import org.xwiki.gwt.user.client.ui.VerticalResizePanel; import org.xwiki.gwt.user.client.ui.wizard.NavigationListener; import org.xwiki.gwt.user.client.ui.wizard.SourcesNavigationEvents; import or...
package com.pigdogbay.wordpig; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Point; import com.pigdogbay.library.games.BitmapButton; import com.pigdogbay.library.games.FrameBuffer; import com.pigdogbay.library.games.GameView; import com.pigdogbay.l...
package org.jpos.util; import java.io.*; import java.util.*; /** * Peer class Logger forwards LogEvents generated by LogProducers * to LogListeners. * <br> * This little <a href="/doc/LoggerGuide.html">tutorial</a> * give you additional information on how to extend the jPOS's * Logger subsystem. * * @author apr...
package org.xwiki.rendering.internal.parser.wikimodel; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import org.wikimodel.wem.IWemConstants; import org.wikimodel...
package dr.evomodel.coalescent; import dr.inference.model.Statistic; import dr.xml.AbstractXMLObjectParser; import dr.xml.AttributeRule; import dr.xml.ElementRule; import dr.xml.XMLObject; import dr.xml.XMLObjectParser; import dr.xml.XMLParseException; import dr.xml.XMLSyntaxRule; public class GMRFPopSizeStatistic exte...
package dr.evomodel.tree; import dr.app.beast.BeastVersion; import dr.evomodel.coalescent.GMRFSkyrideLikelihood; import dr.evomodelxml.LoggerParser; import dr.inference.loggers.LogColumn; import dr.inference.loggers.LogFormatter; import dr.inference.loggers.MCLogger; import dr.inference.loggers.TabDelimitedFormatter; i...
package edu.asu.scrapbook.digital.api; import java.util.List; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.InternalServerErrorException; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import edu.as...
package com.xpn.xwiki.plugin.lucene; import java.io.IOException; import javax.servlet.ServletContext; import org.jmock.Expectations; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.xwiki.display.internal.DisplayConfiguration; import org.xwiki.model.reference....
package org.wso2.carbon.appmgt.sample.deployer.javascriptwrite; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; public class InvokeStatistcsJavascriptBuilder { private String jsFunction; public InvokeStatistcsJavascriptBuilder(String trackingID, String ...
package edu.wheaton.simulator.gui; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.util.ArrayList; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JScrollPane; import javax.swing.JSpinner; import javax.swing.JT...
package org.xwiki.officeimporter.internal; import java.util.Properties; import org.apache.velocity.VelocityContext; import org.jmock.Expectations; import org.junit.Assert; import org.junit.Test; import org.xwiki.configuration.ConfigurationSource; import org.xwiki.context.Execution; import org.xwiki.context.ExecutionCon...
package edu.cuny.citytech.defaultrefactoring.core.refactorings; import static org.eclipse.jdt.ui.JavaElementLabels.ALL_FULLY_QUALIFIED; import static org.eclipse.jdt.ui.JavaElementLabels.getElementLabel; import static org.eclipse.jdt.ui.JavaElementLabels.getTextLabel; import java.text.MessageFormat; import java.util.Ar...
package edu.cuny.citytech.defaultrefactoring.core.refactorings; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set...
package edu.cuny.citytech.defaultrefactoring.core.refactorings; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Opti...
package org.carewebframework.security.spring.mock; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang.RandomStringUtils; import org.apache.commons.lang.math.NumberUtils; import org.carewebframework.api.security.ISecurityDomain; import org.carewebframework.api.spring.SpringUtil; import org...
package org.xwiki.wiki.internal.descriptor.document; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Provider; import javax.inject.Singleton; import org.xwiki.component.annotation.Component; import org.xwiki.model.EntityType; import org.xwiki.model.reference.DocumentReference; import org.xwik...
package edu.cuny.citytech.defaultrefactoring.eval.handlers; import static com.google.common.io.Files.touch; import static edu.cuny.citytech.defaultrefactoring.core.utils.Util.createMigrateSkeletalImplementationToInterfaceRefactoringProcessor; import java.io.File; import java.io.FileWriter; import java.io.IOException; i...
package eu.e43.impeller.content; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteConstraintException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLite...
package flatgui.core.websocket; import flatgui.core.FGHostStateEvent; import flatgui.core.FGWebContainerWrapper; import flatgui.core.IFGContainer; import flatgui.core.IFGTemplate; import org.eclipse.jetty.websocket.api.Session; import org.eclipse.jetty.websocket.api.WebSocketListener; import java.io.IOException; import...
package ifc.awt; import lib.MultiPropertyTest; import util.utils; /** * Testing <code>com.sun.star.awt.UnoControlScrollBarModel</code> * service properties : * <ul> * <li><code> BlockIncrement</code></li> * <li><code> Border</code></li> * <li><code> DefaultControl</code></li> * <li><code> Enabled</code></li> * <li...
package org.xwiki.observation.remote.internal.jgroups; import javax.inject.Inject; import javax.inject.Singleton; import org.jgroups.Message; import org.jgroups.ReceiverAdapter; import org.slf4j.Logger; import org.xwiki.component.annotation.Component; import org.xwiki.component.manager.ComponentLookupException; import ...
package io.quarkus.smallrye.reactivemessaging.kafka.deployment; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.BiConsumer; import java.util.function.Function; import org.eclipse.microprofile.config.Config; import org.eclipse.microprofile.conf...
package com.czbix.v2ex.model; import android.os.Parcel; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.czbix.v2ex.common.exception.FatalException; import com.czbix.v2ex.network.RequestHelper; import com.czbix.v2ex.ui.widget.ExArrayAdapter; import com.google.common.base...
package org.xwiki.officeimporter.test.ui; import java.io.File; import java.util.Arrays; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import o...
import java.io.*; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.net.ftp.FTPReply; public class ftp_client { private static Console console = System.console(); private static BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ...
package org.commcare.android.view; import android.annotation.TargetApi; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.Paint.Align; import android.os.Build; import android.view.View; import android.webkit.WebSettings; import android.webkit.WebView; ...
package com.allaboutolaf; import android.app.Application; import android.net.http.HttpResponseCache; import android.os.Bundle; import android.util.Log; // keep these sorted alphabetically import com.avishayil.rnrestart.ReactNativeRestartPackage; import com.bugsnag.BugsnagReactNative; import com.BV.LinearGradient.Linear...
package org.commcare.android.view; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.Iterator; import java.util.Vector; import org.achartengine.ChartFactory; import org.achartengine.chart.PointStyle; import org.achartengine.model.TimeSeries; import org.achartengine.model...
package com.rnim.rn.audio; import android.content.Context; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReadableMap; import j...
package org.appcelerator.titanium; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URLConnection; import java.util.Arrays; import java.util.HashMap; import...
package org.gemoc.execution.sequential.javaengine.ui.launcher.tabs; import java.lang.reflect.Method; import java.util.List; import java.util.Set; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspace...
package org.xwiki.gwt.wysiwyg.client.widget.wizard.util; import java.util.HashMap; import java.util.List; import java.util.Map; import org.xwiki.gwt.user.client.ui.wizard.NavigationListener; import org.xwiki.gwt.user.client.ui.wizard.NavigationListenerCollection; import org.xwiki.gwt.user.client.ui.wizard.SourcesNaviga...