text
stringlengths
7
995k
package org.michenux.drodrolib.network.ssl; import org.apache.http.conn.scheme.SocketFactory; import org.apache.http.conn.ssl.AllowAllHostnameVerifier; import org.apache.http.conn.ssl.SSLSocketFactory; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.security.KeyManagementE...
package org.apache.lucene.analysis.miscellaneous; /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apach...
/* * Copyright (c) 2015, Franco Toninato. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 3 of the License, or (at your option) * any later versio...
package com.tencentcloudapi.wemeet.models.corp; import com.squareup.okhttp.MediaType; import com.tencentcloudapi.wemeet.common.constants.HttpMethodEnum; import com.tencentcloudapi.wemeet.models.AbstractModel; /** * <p>查询账户级录制列表请求参数</p> * * @author tencent * @date 2021/4/28 */ public class QueryCorpRecordsRequest...
package com.nerotomato.clone; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; import java.util.Objects; /** * @Created by nerotomato on 2021/8/17. */ @Getter @Setter @AllArgsConstructor public class Student implements Cloneable { private int age; private String name; priv...
package org.hl7.fhir.dstu3.model; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright n...
package org.springframework.beans.factory; /** * @author wardseptember * @create 2021-01-24 18:31 */ public interface DisposableBean { void destroy() throws Exception; }
package fr.agilix.services.config.oauth2; import fr.agilix.services.security.oauth2.OAuth2SignatureVerifierClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.jwt.crypto.sign.SignatureVerifier; import org.springframework.security.oauth2.common.exceptions.InvalidTokenExc...
package com.strange1.ReminderBot; import net.dv8tion.jda.api.*; import net.dv8tion.jda.api.entities.*; import net.dv8tion.jda.api.events.interaction.SlashCommandEvent; import net.dv8tion.jda.api.hooks.ListenerAdapter; import net.dv8tion.jda.api.interactions.commands.OptionType; import net.dv8tion.jda.api.interactions....
package org.kyojo.schemaorg.m3n4.gson.healthLifesci.clazz; import java.lang.reflect.Field; import java.lang.reflect.Type; import java.util.HashMap; import java.util.Map; import org.kyojo.gson.JsonDeserializationContext; import org.kyojo.gson.JsonDeserializer; import org.kyojo.gson.JsonElement; import org.kyojo.gson.J...
package com.fabrikam.dronedelivery.ingestion; import static org.junit.Assert.*; import static org.mockito.Mockito.times; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; import org.springframework.context.annotation.Bean; import org.springframework.con...
package com.snowball.finder.finderskill.client; import com.amazonaws.auth.*; import com.mashape.unirest.http.HttpResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import java.net.URI; import java.net.URISyntaxException; import java.nio....
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
package com.openvehicletracking.protocols.xtakip.oxprotocol; import com.openvehicletracking.protocols.BaseCommandMessage; import com.openvehicletracking.protocols.xtakip.XTakipProtocol; /** * Created by oksuz on 20/05/2017. * */ public final class OXProtocolMessage extends BaseCommandMessage { @Override ...
/** * Scaffolding file used to store all the setups needed to run * tests automatically generated by EvoSuite * Fri Nov 27 16:07:05 GMT 2020 */ package client.network; import org.evosuite.runtime.annotation.EvoSuiteClassExclude; import org.junit.BeforeClass; import org.junit.Before; import org.junit.After; impor...
package de.adorsys.opba.protocol.xs2a.service.xs2a.consent; import de.adorsys.opba.protocol.xs2a.config.MapperTestConfig; import de.adorsys.opba.protocol.xs2a.service.xs2a.context.Xs2aContext; import de.adorsys.opba.protocol.xs2a.service.xs2a.context.ais.AccountListXs2aContext; import de.adorsys.opba.protocol.xs2a.ser...
/* * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACT...
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
package consulo.msbuild.daemon.impl; import com.intellij.openapi.projectRoots.Sdk; import com.intellij.util.containers.MultiMap; import consulo.msbuild.MSBuildProcessProvider; import consulo.msbuild.daemon.impl.message.model.MSBuildEvaluatedItem; import consulo.msbuild.daemon.impl.message.model.ProjectItem; import con...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE400_Resource_Exhaustion__connect_tcp_write_54c.java Label Definition File: CWE400_Resource_Exhaustion.label.xml Template File: sources-sinks-54c.tmpl.java */ /* * @description * CWE: 400 Resource Exhaustion * BadSource: connect_tcp Read count using an outbound tcp con...
/* * Copyright 2012 Phil Pratt-Szeliga and other contributors * http://chirrup.org/ * * See the file LICENSE for copying permission. */ package org.trifort.rootbeer.generate.opencl.fields; import java.util.Comparator; import soot.SootClass; import soot.rbclassload.RootbeerClassLoader; public class NumberedTypeS...
package com.github.philippheuer.swaggerwebflux.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.reactive.config.ResourceHandlerRegistry; import org.springframework.web.reactive.config.WebFluxConfigurer; /** * WebFlux Swagger Resource Handlers */ @Configuration publ...
// Copyright 2017 JanusGraph Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
package comparators; import java.util.Comparator; import objects.AidLoad; /** * Orders in terms of decreasing priority * * @author KJGarbutt * */ public class AidLoadPriorityComparator implements Comparator<AidLoad> { @Override public int compare(AidLoad o1, AidLoad o2) { int o1_priority = o1.getTargetCom...
/* * Copyright (C) 2017 The TwoDragonLake Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* * Copyright 2018 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/** * Copyright (c) 2011-2012 Ardor Labs AB. * * This file is part of the ArdorCraft API, developed by Rikard Herlitz. */ package com.ardorcraft.collision; import com.ardor3d.math.MathUtils; import com.ardor3d.math.Vector3; import com.ardor3d.math.type.ReadOnlyVector3; import com.ardorcraft.world.BlockProvider; ...
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__int_random_multiply_05.java Label Definition File: CWE191_Integer_Underflow__int.label.xml Template File: sources-sinks-05.tmpl.java */ /* * @description * CWE: 191 Integer Underflow * BadSource: random Set data to a random value * GoodSource: A ha...
package com.capitalone.dashboard.collector; import com.capitalone.dashboard.model.Collector; import com.capitalone.dashboard.repository.*; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.runners.MockitoJUnitRunner;...
/** * Copyright 2011 Tony Murray <murraytony@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
package com.implosion.user.services.exceptions; public class MissingAuthorizationException extends Exception { private static final long serialVersionUID = 9160964272956378664L; public MissingAuthorizationException(String message) { super(message); } public MissingAuthorizationException(Throwable throwable) ...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution Licens...
package io.github.ocelot.modelanima.core.client.geometry; import io.github.ocelot.modelanima.api.client.geometry.GeometryModel; import io.github.ocelot.modelanima.api.common.geometry.GeometryModelData; import io.github.ocelot.modelanima.api.common.geometry.GeometryModelParser; import io.github.ocelot.modelanima.api.co...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.pfc.soriano.wsdbmodel.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation....
package com.greencode.enticement_android.Activities; import android.content.Intent; import android.net.Uri; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v4.view.ViewPager; import android.os.Bundle; impor...
package com.atguigu.gulimall.thirdparty; import com.aliyun.oss.OSS; import com.aliyun.oss.OSSClientBuilder; import com.aliyun.oss.common.utils.BinaryUtil; import com.aliyun.oss.model.MatchMode; import com.aliyun.oss.model.PolicyConditions; import com.atguigu.common.utils.R; import org.springframework.beans.factory.ann...
package ar.com.ezequielaceto.mobile.android.libraries.pki; public class SCCSRAttributes { private String commonName, organization, organizationUnit, country, stateOrProvince, locality, serialNumber; public SCCSRAttributes(String commonName, String organization, String organizationUnit, String country, String ...
/* * Copyright (c) 2013-2016, EMC Corporation. * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * + Redistributions of source code must retain the above copyright notice, * this list of conditions and the followi...
/* * Copyright LWJGL. All rights reserved. * License terms: http://lwjgl.org/license.php * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.opengles; /** * Native bindings to the <a href="https://www.khronos.org/registry/gles/extensions/APPLE/APPLE_texture_packed_float.txt">APPLE_texture_packed_float</a> ...
/******************************************************************************* * Copyright (c) 2017 Timo Homburg, i3Mainz. * All rights reserved. This program and the accompanying materials * are made available under the terms of the BSD License * which accompanies this distribution, and is available at * https:...
/** * Licensed to the TomTom International B.V. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. TomTom International B.V. * licenses this file to you under the Apache License, * Version 2.0 (the "Li...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* Copyright (c) 2007 Wayne Meissner, All Rights Reserved * * The contents of this file is dual-licensed under 2 * alternative Open Source/Free licenses: LGPL 2.1 or later and * Apache License 2.0. (starting with JNA version 4.0.0). * * You can freely decide which license you want to apply to * the project. * ...
/******************************************************************************* * Copyright 2017 Cognizant Technology Solutions * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * ...
package eu.trentorise.game.repo; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import org.bson.Document; import org.joda.time.LocalDate; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import or...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.bson.codecs; import org.bson.BsonReader; import org.bson.BsonWriter; public class DoubleCodec implements Codec<Double> { public DoubleCodec() {} public void encode(BsonWriter writer, Double value, EncoderContext encoderContext) { writer.writeDouble(value.doubleValue()); }...
package mediatransfer.assistant.com.mediatransfer; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @T...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
/* * Copyright (C) 2015 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
package quests; import l2f.gameserver.model.instances.NpcInstance; import l2f.gameserver.model.quest.Quest; import l2f.gameserver.model.quest.QuestState; import l2f.gameserver.scripts.ScriptFile; public class _623_TheFinestFood extends Quest implements ScriptFile { public final int JEREMY = 31521; public static fi...
package com.wjj.coolweather.gson; import com.google.gson.annotations.SerializedName; /** * Created by Android Studio * #Author: 魏军杰 * #Date: 2019-07-10 * #Time:12:31 */ public class Basic { @SerializedName("city") public String cityName; @SerializedName("id") public String weatherId; publi...
package com.lykke.tests.api.service.customer; import static com.lykke.tests.api.common.CommonConsts.ERROR_FIELD; import static com.lykke.tests.api.common.CommonConsts.MESSAGE_FIELD; import static com.lykke.tests.api.service.customer.GeneratePwLinkUtils.generateResetPasswordLink; import static com.lykke.tests.api.servi...
/* * Copyright 2010, Mysema Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writin...
package willy.individual.com.dribbbow.views.dribbble; import com.google.gson.reflect.TypeToken; import java.io.IOException; import java.util.ArrayList; import java.util.List; import okhttp3.FormBody; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; import will...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.vladsch.flexmark.samples; import com.vladsch.flexmark.ast.Code; import com.vladsch.flexmark.ast.Paragraph; import com.vladsch.flexmark.ast.Text; import com.vladsch.flexmark.ext.toc.TocExtension; import com.vladsch.flexmark.html.HtmlRenderer; import com.vladsch.flexmark.html.HtmlRenderer.Builder; import com...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package com.google.firebase.crash; public final class R { }
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2020 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
/* Copyright (c) 2013 OpenPlans. All rights reserved. * This code is licensed under the BSD New License, available at the root * application directory. */ package org.geogit.storage.datastream; import org.geogit.storage.ObjectSerializingFactory; import org.geogit.storage.RevFeatureSerializationTest; public class D...
package Package01; import java.io.File; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; public class FileWriter_07 { public static void main(String[] args){ var file01 = new File("test.txt"); try(var bufferedWriter01 = new BufferedWriter(new FileWriter(file01, ...
package com.renatdux; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. * This is used to schedule rendering of the component. */ @Override protected String getMainComponentNam...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.fixedincome; import java.util.Collections; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import jav...
package cn.evilcoder.list; import cn.evilcoder.model.LinkNode; /** * 面试题13 O(1)时间删除链表节点 * Created by huangshanqi on 2016/8/2. */ public class DeleteNode { public static void delete(LinkNode root, LinkNode delete) { if (null == root || null == delete) { return; } if (null !=...
package com.jwcq.config; import com.sun.istack.NotNull; import org.springframework.security.crypto.password.PasswordEncoder; import java.math.BigInteger; import java.security.MessageDigest; /** * Created by luotuo on 17-9-26. */ public class MyPasswordEncoder implements PasswordEncoder { @NotNull private f...
public void addLast(int qId, int x) { alloc(); values[alloc] = x; next[alloc] = heads[qId]; heads[qId] = alloc; }
package com.sample.domain.service.users; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.Assert; import com.sample.domain.dto.commo...
package llc.taurusgroup.exampleapp.mvp.views; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy; import com.arellomobile.mvp.viewstate.strategy.StateStrategyType; @StateStrategyType(value = AddToEndSingleStrategy.class) public interface IProgressView extends Mv...
/** */ package laboratoryAutomation; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Distribute Sample</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link laboratoryAutomation.DistributeSample#getVolume <em>Volume</em>}...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package commands.etc; import commands.Command; import fr.bmartel.speedtest.SpeedTestReport; import fr.bmartel.speedtest.SpeedTestSocket; import fr.bmartel.speedtest.inter.ISpeedTestListener; import fr.bmartel.speedtest.model.SpeedTestError; import net.dv8tion.jda.core.EmbedBuilder; import net.dv8tion.jda.core.entities...
package ru.bclib.blocks; import java.util.Collections; import java.util.List; import org.jetbrains.annotations.Nullable; import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; import net.minecraft.client.renderer.block.model.BlockModel; import net.minecraft.core.BlockPos; import net.minecraft.co...
package project2; import java.util.Iterator; import java.util.NoSuchElementException; public class LinkedListIterator<T> implements Iterator<T> { private PublicNode<T> current; // the current position // ------------------------------------------------------------- // Sets up this iterator using the specified ite...
package com.slack.api.methods.response.chat; import com.slack.api.methods.SlackApiTextResponse; import lombok.Data; import java.util.List; import java.util.Map; @Data public class ChatPostEphemeralResponse implements SlackApiTextResponse { private boolean ok; private String warning; private String error...
package com.bigeek.flink.utils; import org.web3j.protocol.Web3j; /** * Wrapper for web3j client */ public class EthereumWrapper { private transient static Web3j web3jInstance; /** * Get instance with parameters. * * @param address * @param timeout * @return web3j client */ ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.cashforward.service.internal; import org.cashforward.util.DateUtilities; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.cashforward.model.Payment; import org.cashforward.model.Payment.Occurence; /** * * Utility class for calculating Payments for scheduled Payments....
package client; import endpoint.ConnectionsEndpoint; import play.libs.F.Promise; import play.libs.ws.WS; import play.libs.ws.WSResponse; import javax.inject.Inject; import javax.inject.Provider; public class ConnectionsClient { @Inject Provider<ConnectionsEndpoint> endpoint; public Promise<WSResponse> ...
package com.planet_ink.coffee_mud.WebMacros; import com.planet_ink.coffee_web.interfaces.*; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.co...
/** * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.twitter.zipkin.gen; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import org.a...
package com.battlelancer.seriesguide.api; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.support.v4.app.JobIntentService; /** * Base class to expose a {@link SeriesGuideExtension} service. See the documentation of {@link * SeriesGuideExtension...
package com.scottlogic.deg.generator.generation.combinationstrategies; import com.scottlogic.deg.common.profile.Field; import com.scottlogic.deg.generator.builders.DataBagBuilder; import com.scottlogic.deg.generator.generation.databags.DataBag; import org.hamcrest.collection.IsArrayContainingInAnyOrder; import org.jun...
package com.jitterted.yacht.domain; import org.junit.jupiter.api.Test; import java.util.Iterator; import java.util.List; import static org.assertj.core.api.Assertions.*; public class DiceRollerTest { @Test public void multipleRollsShouldUseDieRoller() throws Exception { DiceRoller diceRoller = new DiceRoll...
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package de.digitalcollections.cudami.server.controller.identifiable.agent; import de.digitalcollections.cudami.server.business.api.service.exceptions.IdentifiableServiceException; import de.digitalcollections.cudami.server.business.api.service.exceptions.ValidationException; import de.digitalcollections.cudami.server....
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package com.atguigu.gmall.pms.fegin; import com.atguigu.core.bean.Resp; import com.atguigu.gmall.sms.feign.SmsSaleApi; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * @author nyf * @...
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package fr.insee.rmes.utils; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; import fr.insee.rmes.exceptions.RmesException; class DateUtilsTest { @Test void givenDate_whenGetDate_thenResponseIsClean() throws RmesException { String date = DateUtils.getDate("2018-...
package com.xm.xmvp.di.module.impl; import android.support.annotation.NonNull; import javax.inject.Inject; import rx.Scheduler; import rx.android.schedulers.AndroidSchedulers; /** * created on 2019/1/26. * author:wangkezhi * email:45436460@qq.com * summary: */ public class UIThreadImpl implements PostExecution...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package processing.tests; import java.util.*; import processing.*; import processing.utility.*; import processing.testsimulator.*; import processing.testsimulator.handlers.*; import processing.testsimulator.ui.*; import infrastructure.validation.logger.*; import infrastructure.validation.testing.TestCase; /** * Te...
package seedu.address.model; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.address.model.Model.PREDICATE_SHOW_ALL_PERSONS; import static seedu.address.testutil.TypicalPersons.ALICE; import static seedu.address.testutil.TypicalPersons.BENSON; import java.uti...
package com.atguigu.gmall.pms.controller; import java.util.Arrays; import java.util.List; import java.util.Map; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; import com.atguigu.core.bean.Resp; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import or...
package org.icpclive.testing; import com.sun.jna.NativeLibrary; import org.icpclive.backend.player.FramePlayer; import org.icpclive.backend.player.generator.ScreenGeneratorGL; import org.icpclive.backend.player.widgets.Widget; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetE...