text stringlengths 7 995k |
|---|
package io.github.galop_proxy.galop.proxy;
import io.github.galop_proxy.galop.http.ExchangeHandler;
import org.junit.Before;
import org.junit.Test;
import java.net.Socket;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.mock;
/**
* Tests the class {@link ConnectionHandlerFactoryImpl... |
// This file was generated by Mendix Modeler.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package testcases.proxies;
public enum PrerequisiteType
{
Account(new java.lang.String[][] { new java.lang.String[] { "en_US", "Account" }, new java.lang.String[] { "nl_NL", "Account" }... |
package top.chenqwwq.leetcode.weekly._189._3;
import java.util.*;
/**
* 5414. 收藏清单 显示英文描述
* 给你一个数组 favoriteCompanies ,其中 favoriteCompanies[i] 是第 i 名用户收藏的公司清单(下标从 0 开始)。
* <p>
* 请找出不是其他任何人收藏的公司清单的子集的收藏清单,并返回该清单下标。下标需要按升序排列。
* <p>
* 提示:
* <p>
* 1 <= favoriteCompanies.length <= 100
* 1 <= favoriteCompanies[i].l... |
/*
* Copyright 2018-2019 Karakun AG.
* Copyright 2015-2018 Canoo Engineering AG.
*
* 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
*
... |
package com.ubalube.starforge.core;
public class Reference
{
public static final String MOD_ID = "starforge";
public static final String NAME = "Starforge";
public static final String VERSION = "1.0";
public static final String ACCEPTED_VERSIONS = "[1.12.2]";
public static final String CLIENT_PROXY_CLASS = "com.... |
/*
* 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")... |
package com.ifountain.opsgenie.client.model.group;
import com.ifountain.opsgenie.client.model.BaseRequest;
/**
* Container for the parameters to make a list groups api call.
* groups are deprecated
*
* @see com.ifountain.opsgenie.client.IGroupOpsGenieClient#listGroups(ListGroupsRequest)
*/
@Deprecated
public cla... |
/*
* Copyright © 2005 - 2021 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package net.java.truevfs.driver.tar.gzip.it;
import net.java.truevfs.comp.tardriver.it.TarFileITSuite;
import net.java.truevfs.driver.tar.gzip.TarGZipDriver;
import net.java.truevfs.driver.tar.gzip.Tes... |
/*
* Copyright 2010 JBoss 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 to i... |
/* This file is part of SableCC ( http://sablecc.org ).
*
* See the NOTICE file distributed with this work for copyright information.
*
* 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
*
... |
/*
* Copyright (C) 2011 The Android 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 by app... |
// Copyright 2018 Google LLC
//
// 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 writi... |
package com.opengamma.bloombergexample;
import org.testng.annotations.Test;
import com.opengamma.engine.value.ValueProperties;
import com.opengamma.engine.value.ValuePropertyNames;
public class TestValuePropertiesCreation {
@Test
public void test() {
final ValueProperties fundingProp = ValueProperties.with(... |
package net.optionfactory.spring.data.jpa.filtering.filters;
import net.optionfactory.spring.data.jpa.filtering.Filter;
import net.optionfactory.spring.data.jpa.filtering.filters.spi.WhitelistedFilter;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatab... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.dimplepracticalrn;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
import... |
package com.alexiscv.t10ej4_servicioquebloqueelhiloui;
import android.app.IntentService;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import androi... |
package com.stackroute.controller;
import com.stackroute.domain.Patient;
import com.stackroute.domain.PatientAppointment;
import com.stackroute.exceptions.PatientAlreadyExistsException;
import com.stackroute.exceptions.PatientNotFoundException;
import com.stackroute.service.PatientService;
import org.springframework.b... |
/*
* Copyright (C) 2013 The Android 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 by app... |
package com.zusmart.network.packet;
import com.zusmart.network.buffer.Buffer;
public interface MessageProtocol {
public Buffer encode(Message message) throws Exception;
public Message decode(Buffer buffer) throws Exception;
} |
/**
* 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 ... |
package io.paysky.util;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by PaySky-3 on 8/13/2017.
*/
public class TrackData implements Parcelable {
String track1;
public String cardHolderName;
public String track2;
public String cardNumber;
public String expiryDate;
... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.sayee.sxsy.common.utils;
import java.text.ParseException;
import java.util.Date;
import org.apache.commons.lang3.time.DateFormatUtils;
/**
* 日期工具类, 继承org.apache.commons.lang.time.DateUtil... |
/*
* Copyright 2012 Henry Coles
*
* 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 w... |
package com.jhipster.demo.notification.security.jwt;
import com.jhipster.demo.notification.security.AuthoritiesConstants;
import io.github.jhipster.config.JHipsterProperties;
import io.jsonwebtoken.io.Decoders;
import io.jsonwebtoken.security.Keys;
import org.junit.Before;
import org.junit.Test;
import org.springfram... |
/**
* 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 ma... |
package net.yozo.services.common;
import net.yozo.core.dao.page.PagerModel;
import java.io.Serializable;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
/**
* 问卷对象
* @author huangf
*
*/
public class Questionnaire extends PagerModel implements Serializable {
private static final lon... |
package sym.ads.core.model;
import java.util.Map;
/**
* Created by vbondarenko on 11.05.2020.
*/
public class EntityDto extends Entity<Map<String, Object>> {
public EntityDto(int type, Map<String, Object> data) {
super(type, data);
}
public EntityDto(String id, int type) {
super(id, t... |
package com.atguigu.gmall.pms.service;
import com.atguigu.gmall.pms.vo.ItemGroupVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.common.bean.PageResultVo;
import com.atguigu.gmall.common.bean.PageParamVo;
import com.atguigu.gmall.pms.entity.AttrGroupEntity;
import java.util.Lis... |
package com.jmsoftware.datastructuresandalgorithms.common.constant;
/**
* <h1>IUniversalStatus</h1>
* The interface of Universal Status code
*
* @author Johnny Miller (鍾俊), email: johnnysviva@outlook.com
* @date 2019-03-23 16:48
* @see <a href="https://www.iana.org/assignments/http-status-codes">HTTP Status Code... |
/*
* 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 ... |
// -----------------------------------------------------------------------
// <copyright file="ICustomerDeviceCollection.java" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
package com.mi... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.ins.data.dsb.image.upload response.
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
public class AlipayInsDataDsbImageUploadResponse extends AlipayRespon... |
package com.blade.kit;
import com.blade.mvc.multipart.MimeType;
import lombok.NoArgsConstructor;
import java.util.Random;
import java.util.stream.Stream;
/**
* String kit
*
* @author biezhi
* 2017/6/1
*/
@NoArgsConstructor
public final class StringKit {
private static final Random RANDOM = new Random();
... |
package org.apache.naming;
import java.util.Vector;
import javax.naming.StringRefAddr;
/**
* Represents a reference web service.
*
* @author Fabien Carrion
*/
public class ServiceRef extends AbstractRef {
private static final long serialVersionUID = 1L;
/**
* Default factory for this reference.
... |
package com.bourdi_bay.WindowsRemote.Communication;
public class MessageBroadcastFactory {
public static MessageBroadcast createMoveMessage(MyDeltaPoint deltaPoint) {
String msgBuilder = "{ \"type\" : MOVE" +
", \"from_x\" : " +
deltaPoint.fromPoint.x +
", \... |
package cn.iocoder.mall.tradeservice.client.pay;
import cn.iocoder.common.framework.vo.CommonResult;
import cn.iocoder.mall.payservice.rpc.transaction.PayTransactionRpc;
import cn.iocoder.mall.payservice.rpc.transaction.dto.PayTransactionCreateReqDTO;
import org.apache.dubbo.config.annotation.DubboReference;
import or... |
package net.minecraft.server;
public class PlayerConnectionUtils {
public static <T extends PacketListener> void ensureMainThread(final Packet<T> packet, final T t0, IAsyncTaskHandler iasynctaskhandler) throws CancelledPacketHandleException {
if (!iasynctaskhandler.isMainThread()) {
iasynctask... |
package Final;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.LinkedHashMap;
import java.util.Map;
import javafx.beans.property.SimpleStringProperty;
/*
* This is an abstract super class from which the data model classes inherit, it implements TableInterface
* ... |
/**
*
*/
package net.runelite.client.rsb.event.listener;
import net.runelite.client.rsb.event.events.CharacterMovedEvent;
import java.util.EventListener;
/**
* @author Qauters
*/
public interface CharacterMovedListener extends EventListener {
public void characterMoved(CharacterMovedEvent e);
} |
package aqoursoro.teleportcraft;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.eve... |
package com.cococloud.upms.common.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
* 用户表
* </p>
*
* @... |
/*
* MIT License
*
* Copyright (c) 2017-2018 nuls.io
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... |
package org.andresoviedo.android_3d_model_engine.drawer;
import android.content.Context;
import androidx.annotation.NonNull;
import android.util.Log;
import org.andresoviedo.android_3d_model_engine.R;
import org.andresoviedo.android_3d_model_engine.model.AnimatedModel;
import org.andresoviedo.android_3d_model_engine.... |
package nextstep.subway.domain;
import org.springframework.data.jpa.repository.JpaRepository;
public interface SectionRepository extends JpaRepository<Section, Long> {
} |
package mage.cards.t;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
imp... |
/*
* (C) Copyright 2013-2017 Nuxeo (http://nuxeo.com/) and others.
*
* 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 requi... |
/**
* 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... |
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
/**
* Web resources for historical time-series.
*/
package com.opengamma.web.historicaltimeseries; |
package repetition.exercises.solution.math;
import java.util.*;
public class Example2 {
public static void main(String[] args) {
double value = 12.56;
double fractionalPart = value % 1;
double integralPart = value - fractionalPart;
System.out.print("\nOriginal value: " + value);
System.out.print("\nIntegra... |
// Licensed under the Apache License, Version 2.0
package com.flingtap.done.backup;
import android.content.Context;
import android.preference.Preference;
import android.provider.Settings;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import com.... |
package com.ccxam.eduservice.client;
import com.ccxam.commonutils.R;
import com.ccxam.eduservice.client.Impl.VodFileDegradeFeignClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.sprin... |
/*
* Copyright (C) 2018 The Android 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 by app... |
package com.xjtu.dormitory.user.admin.impl;
import com.xjtu.dormitory.user.admin.AgreeService;
import com.xjtu.dormitory.user.admin.dao.AgreeDao;
import com.xjtu.dormitory.user.admin.reacordDto;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java... |
/**
*/
package es.udima.cesarlaso.tfm.healthmonitors;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Storage</b></em>'.
* <!-- end-user-doc -->
*
*
* @see es.udima.cesarlaso.tfm.healthmonitors.HealthmonitorsPackage#getStorage()
* @model abstract="true"
* @generated
*/
public in... |
package org.symphonyoss.symphony.bots.helpdesk;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Application Main class to run HelpDesk Renderer.
* <p>
* Created by robson on 10/18/17.
*/
@SpringBootApplication
public class HelpDeskBotAp... |
package com.vk.api.sdk.objects.newsfeed;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.queries.EnumParam;
/**
* Item type
*/
public enum NewsfeedItemType implements EnumParam {
@SerializedName("post")
POST("post"),
@SerializedName("photo")
PHOTO("photo"),
@Serialized... |
package com.dx.ss.buffer.core;
import com.dx.ss.buffer.storage.PersistStorage;
import com.dx.ss.buffer.storage.TemporaryStorage;
/**
* 附带外部存储机制的缓冲池,进一步避免数据丢失。
*/
public interface BufferPoolWithStorage<E> extends BufferPool {
/**
* 设置临时存储层。
*
* @param storage 存储
*/
void setTemporaryStora... |
/*
* Copyright (c) 2015, WSO2 Inc. (http:www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/lice... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.http.filter;
import com.yahoo.jdisc.AbstractResource;
import com.yahoo.jdisc.Request;
import com.yahoo.jdisc.Response;
import com.yahoo.jdisc.http.HttpRequest;
import java.net.URI;
import j... |
/*
* Copyright 2020 Anoop V S.
*
* 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 applicable law or agreed to... |
/*
* Copyright 2014 Dayatang Open Source..
*
* 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 o... |
package com.knaus.sampleweatherapp;
import android.app.Activity;
import android.content.SharedPreferences;
/**
* Helper class to save location preference (most recently used location)
*/
public class LocationPreference {
private static final String TAG = "LocationPreference";
SharedPreferences prefs;
... |
package evolution.support.lottie.animation.keyframe;
import evolution.support.lottie.value.Keyframe;
import java.util.List;
abstract class KeyframeAnimation<T> extends BaseKeyframeAnimation<T, T> {
KeyframeAnimation(List<? extends Keyframe<T>> keyframes) {
super(keyframes);
}
} |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 头像、昵称视图
*
* @author auto create
* @since 1.0, 2019-01-26 16:33:09
*/
public class SocialInfoView extends AlipayObject {
private static final long serialVersionUID = 1659565755738533978L;
... |
/*
* Copyright 2002-2020 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... |
/*
* Copyright (C) 2016 The Android 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 by app... |
/*
* 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... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.18 ... |
/*
* 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... |
/*
* 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 ... |
/* ====================================================================
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 Y... |
/*
* 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 br.com.itau.transacao.model;
import javax.validation.constraints.NotBlank;
public class EstabelecimentoListener {
@NotBlank
private String nome;
@NotBlank
private String cidade;
@NotBlank
private String endereco;
@Deprecated
public EstabelecimentoListener() {
}
publi... |
package moe.knox.factorio_api_parser.lua_types;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.*;
public class Method {
public String name;
public String returnType;
public String returnTypeDesc;
public String description;
public String since;
public LinkedHashMap<String, MethodPa... |
package android.example.com.visualizerpreferences;
/*
* Copyright (C) 2016 The Android 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.o... |
/*
* Copyright 2020 ConsenSys AG.
*
* 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 wr... |
/*
* Copyright 2006-2015 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* $Id: f74b15219661d4dde5102055572b3205c70e92e3 $
*
* This file is part of the iText (R) project.
* Copyright (c) 2007-2015 iText Group NV
* Authors: Bruno Lowagie et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License ver... |
/*
* Copyright (c) 2021 jMonkeyEngine
* 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
* notice, this list of condi... |
package com.sromku.simple.fb.actions;
import android.os.Bundle;
import com.facebook.FacebookCallback;
import com.facebook.FacebookException;
import com.facebook.share.Sharer;
import com.facebook.share.model.ShareOpenGraphAction;
import com.facebook.share.model.ShareOpenGraphContent;
import com.facebook.share.model.Sh... |
package org.leo.im.util;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest(... |
package com.leon.htools.internal.buttons;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.leon.htools.RecruitStatus;
import com.leon.htools.api.ButtonPattern;
import com.leon.htools.api.services.RecruitService;
import com.leon.htools.config.Config;
import com.leon.htools.config.Gamemode... |
package io.tatum.model.request;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* The type Broadcast withdrawal.
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCod... |
/*
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* 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://... |
package com.baeldung.spring.mybatis.service;
import com.baeldung.spring.mybatis.mappers.StudentMapper;
import com.baeldung.spring.mybatis.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transa... |
package com.lichkin.framework.json.deserializer;
import java.io.IOException;
import java.util.Date;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeseriali... |
package br.edu.ufcspa.tc6m.modelo;
import java.io.Serializable;
/**
* Created by cliente on 25/07/2016.
*/
public class Velocidade implements Serializable {
private Long idTeste;
private Long idPaciente;
private float Velocidade;
private String tempo;
public Velocidade(float velocidade, Strin... |
/*
* (c) Copyright 2019 Micro Focus, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package io.quarkus.security.test;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import io.quarkus.test.QuarkusUnitTest;
import... |
/*
* Copyright (C) 2016 Dominik Schadow, dominikschadow@gmail.com
*
* This file is part of the Application Intrusion Detection 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
... |
/*
* 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 ... |
/*
* 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.api.caramelo.services;
import com.api.caramelo.exceptions.BusinessRuleException;
import com.api.caramelo.models.*;
import com.api.caramelo.models.enums.DonationType;
import com.api.caramelo.repositories.*;
import com.api.caramelo.services.interfaces.IDonationService;
import lombok.RequiredArgsConstructor;
... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package org.springframework.faces.config;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.faces.webflow.JSFMockHelper;
public class ResourcesBeanDefinitionParserTests extends AbstractResourcesConfigurationTest... |
/*
* 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 com.sheeom.table_per_concreteclass;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table
@AttributeOverrides({
@AttributeOverride(name="id", column = @Column(na... |
package com.rideaustin.utils.file;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Environment;
import android.support.annotation.Nullable;
import com.rideaustin.utils.Constants;
import com.rideaustin.utils.DateHelper;
import com.rideaustin.utils.TimeUtils... |
/* 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... |
package com.cornerstone.http;
import android.os.Build;
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.GeneralSecurityException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.