text
stringlengths
7
995k
package com.gitpitch; import org.junit.Test; import play.Logger; import play.libs.ws.*; import play.test.TestServer; import java.util.concurrent.CompletionStage; import static org.junit.Assert.assertEquals; import static play.mvc.Http.Status.OK; import static play.mvc.Http.Status.SEE_OTHER; import static play.test.H...
package net.lightbody.bmp.proxy; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.RemovalListener; import com.google.common.cache.RemovalNotification; import com.google.inject.Inject; import com.google.inject.Provider; import com.google.inject.Singleton;...
/* * Copyright (C) 2015 Intel Corporation * * 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...
package com.kosprov.jargon2.nativeri.backend; import org.junit.Test; import static com.kosprov.jargon2.api.Jargon2.Type.ARGON2i; import static com.kosprov.jargon2.api.Jargon2.Version.V10; import static com.kosprov.jargon2.api.Jargon2.Version.V13; import static com.kosprov.jargon2.nativeri.backend.TestUtils.hashTest; ...
package org.spongycastle.openpgp.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.NoSuchProviderException; import java.security.Security; import java.security.SignatureException; im...
package com.buschmais.xo.neo4j.test.instancelistener.composite; import com.buschmais.xo.neo4j.api.annotation.Label; @Label("B") public interface B extends Version { A2B getA2b(); }
/* * MIT License * * Copyright (c) 2020 Jacob Wysko * * 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, modi...
/** * 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.xiangzhurui.example.demo.restful.config; import java.net.URI; import java.util.Map; import org.springframework.web.util.DefaultUriTemplateHandler; import org.springframework.web.util.UriComponentsBuilder; /** * @author xiangzhurui * @version 2018/10/29 20:15 */ public class QueryParamsUrlTemplateHandl...
package me.aias; import me.aias.util.GeneralUtils; import me.aias.util.GrayUtils; import org.bytedeco.opencv.opencv_core.Mat; import org.junit.Test; /** * 测试灰度化 */ public class TestGrayUtils { @Test /** * 测试opencv自带的灰度化方法 */ public void testGrayNative(){ String imgPath = "src/test/res...
package org.pushingpixels.demo.flamingo.svg.filetypes.transcoded; import java.awt.*; import java.awt.geom.*; import java.awt.image.BufferedImage; import java.io.*; import java.lang.ref.WeakReference; import java.util.Base64; import javax.imageio.ImageIO; import javax.swing.plaf.UIResource; import org.pushingpixels.ne...
package it.unibz.inf.ontop.constraints.impl; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import it.unibz.inf.ontop.constraints.ImmutableHomomorphism; import it.unibz.inf.ontop.model.atom.AtomFactory; import it.unibz.inf.ontop.model.atom.AtomPredicate; import it.unibz....
/* * Copyright 2002-2019 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 mage.cards.n; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; import mage.abilities.keyword.ProwlAbility; import mage.cards.*; import mage.constants.CardType; import mage.constants.Outcome; import mage.constants.SubType; import mage.constants.Zone; import mage.filter.FilterCard; imp...
package org.myproject.ms.monitoring.util; import java.util.Comparator; import java.util.Map; import java.util.TreeMap; public final class TextMapUtil { private TextMapUtil() {} public static Map<String, String> asMap(Iterable<Map.Entry<String, String>> iterable) { Map<String, String> map = new TreeMap<>(new Co...
package seedu.address.model.person; import static seedu.address.commons.util.AppUtil.checkArgument; /** * Represents a Students's telegram handle in TAPA. * Guarantees: immutable; is valid as declared in {@link #isValidTelegramHandle(String)} */ public class TelegramHandle { // Telegram handle has a limit of 5...
package tests_dominio; import org.junit.Test; import dominio.Item; public class TestItems { @Test public void testItem() { // new Item(1, "Capa de gatitos", 3, 3, 3, 0, 0, foto); } }
package me.ineqbench.tests.IntegrationTests; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4....
package org.poco.framework.poi.managers; import org.poco.framework.poi.exception.PoiException; import org.poco.framework.poi.managers.IPoiManager.IPoiBook; import org.poco.framework.poi.managers.impl.ReadWriter.XMLBook; public interface IReadWriter { public IReadWriter loadFromXml(String fileName) throws PoiExceptio...
package com.sherlock.game.challenge.domain; import org.junit.Test; import static com.sherlock.game.support.GameHandler.generateRandomCode; public class ChallengeRoomTest { @Test public void shouldTriggerTimerTestSuccess() { ChallengeConfig config = ChallengeConfig.builder() .timerIn...
package prefuse.data.expression; /** * A Predicate is a special type of Expression that carries the guarantee * that the {@link prefuse.data.expression.Expression#getBoolean(Tuple)} * method is supported. Predicates are particularly useful for issuing * queries to prefuse data structures. To create a Predicate, on...
package org.pjay; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.support.SpringBootServletInitializer; public class ServletInitializer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder applic...
/* * Copyright 2001-2004 The Apache Software Foundation. * * 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...
package com.ruoyi.common.constant; /** * 通用常量信息 * * @author ruoyi */ public class Constants { /** * UTF-8 字符集 */ public static final String UTF8 = "UTF-8"; /** * 通用成功标识 */ public static final String SUCCESS = "0"; /** * 通用失败标识 */ public static final String F...
/* Copyright (c) 2013-2014 Boundless and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/edl-v10.html * * Cont...
package document; import java.util.List; /** * A class that represents a text document * It does one pass through the document to count the number of syllables, words, * and sentences and then stores those values. * * @author UC San Diego Intermediate Programming MOOC team */ public class EfficientDocument e...
/* * 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 mezz.jei.gui; import net.minecraft.util.ResourceLocation; import mezz.jei.api.gui.ITickTimer; import mezz.jei.api.gui.drawable.IDrawable; import mezz.jei.api.gui.drawable.IDrawableAnimated; import mezz.jei.api.gui.drawable.IDrawableBuilder; import mezz.jei.api.gui.drawable.IDrawableStatic; import mezz.jei.api...
/* * #%L * LambdaCallbackAdapter.java - mongodb-async-driver - Allanbank Consulting, Inc. * %% * Copyright (C) 2011 - 2014 Allanbank Consulting, 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 ...
/* * Copyright 2014 http://Bither.net * * 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...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2020_05_01; import com.microsoft.azure....
import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; //import java.util.Arrays; import java.util.Date; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import javax.xml.bind.DatatypeConverter; import com.fasterxml.jackson.core.JsonProcessingException; import com.fas...
/** * 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...
/* * generated by Xtext */ package uk.ac.open; import java.util.Collections; import java.util.List; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EReference; import org.eclipse.xtext.linking.impl.DefaultLinkingService; import org.eclipse.xtext.linking.impl....
/* * (C) Copyright IBM Corp. 2017, 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.server.test; import static com.ibm.fhir.model.test.TestUtil.isResourceInResponse; import static com.ibm.fhir.model.type.Code.code; import static com.ibm.fhir.model.type.Uri.uri; import static org.testng.Assert....
package com.zhaidaosi.game.jgframework.rsync; import java.util.Map; import com.zhaidaosi.game.jgframework.common.sdm.IBaseModel; public interface IBaseRsync { public void addRsync(Integer id, IBaseModel obj); public void runRsync(); public void setRsyncMap(Map<Integer,IBaseModel> map); public void clearR...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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 r...
package dev.spiritworker; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.net.InetSocketAddress; import dev.spiritworker.game.data.SoulWorker; import org.slf4j.LoggerFactory; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import ch.qos.logback.classic.Logger;...
package com.github.wxiaoqi.blog.admin.rest; import com.github.pagehelper.PageHelper; import com.github.wxiaoqi.blog.admin.biz.CommentBiz; import com.github.wxiaoqi.blog.admin.entity.Comment; import com.github.wxiaoqi.security.common.msg.TableResultResponse; import com.github.wxiaoqi.security.common.rest.BaseController...
package org.fastcatsearch.ir.search.clause; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.TreeSet; /** * Created by swsong on 2016. 2. 14.. */ public class TermOccurrenceScorer { private static Logger ...
package soot.jbco.name; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 1997 - 2018 Raja Vallée-Rai and others * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foun...
package com.example.gmailsignup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com.google....
package com.ulibre.parcial; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AutoCompleteTextVi...
/* * Copyright 2017-2022 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) 2015-2017 Samuel Audet * * Licensed either under the Apache License, Version 2.0, or (at your option) * under the terms of the GNU General Public License as published by * the Free Software Foundation (subject to the "Classpath" exception), * either version 2, or any later version (collectively...
package com.rokejits.android.tool.connection2; import java.io.InputStream; public interface ConnectionListener{ public void onConnected(IConnection2 iConnection2, InputStream in); public void onConnectFailed(IConnection2 iConnection2, int errorCode, String error); }
/** * This file is part of Erjang - A JVM-based Erlang VM * * Copyright (c) 2009 by Trifork * * 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/L...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.sequenceiq.cloudbreak.converter.spi; import java.io.IOException; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.convert.ConversionService; import org.springframework.stereotype.Component; import com.sequenceiq.cloudbreak.cloud.model.S...
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.xml.xsd.typeprovider; import gw.fs.IFile; import gw.internal.xml.xsd.ResourceFileXmlSchemaSource; import gw.internal.xml.xsd.typeprovider.schema.XmlSchema; import gw.lang.reflect.module.IModule; import gw.util.Pair; import java.net.URL; import jav...
/** * Written by Mike Wallace (mfwallace at gmail.com). Available * on the web site http://mfwallace.googlepages.com/. * * Copyright (c) 2006 Mike Wallace. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software")...
// Autor y desarrollador parcial o total: Santiago Hernández Plazas (santiago.h.plazas@gmail.com). package co.gov.ideamredd.usuario.entities; import java.math.BigDecimal; import java.sql.Timestamp; public class Parcela { private Integer consecutivo; private String nombre; private String perteneceProyecto; privat...
package io.crnk.spring.setup.boot.jpa; import io.crnk.data.jpa.JpaEntityRepositoryBase; import io.crnk.data.jpa.JpaModule; import io.crnk.data.jpa.JpaModuleConfig; import io.crnk.data.jpa.query.criteria.JpaCriteriaQueryFactory; import io.crnk.data.jpa.query.querydsl.QuerydslQueryFactory; import io.crnk.spring.jpa.Spri...
package cn.telling.user.vo; import java.util.List; public class Page { private int pagesize;//每页显示个数 private int curpage;//当前页 private int pagecount;//总页数 private int sumcount;//总记录数 private List<?> result; // private List<Rmails> resultrmail; // public List<Rmails> getResultrmail...
package chao.app.debug; import android.app.Application; import org.junit.Test; import java.util.ArrayList; import chao.app.ami.Ami; import chao.app.ami.plugin.plugins.frame.search.ObjectInfo; import chao.app.ami.plugin.plugins.frame.search.ObjectProcessor; /** * @author chao.qin * @since 2018/8/8 */ public cla...
public class Pytho_and_JS_are_Also_Best{ public static void main(String.. a) { Sytem.out.prinln("Python and JS are also best but Java is the beast"); } }
/* * Copyright 2016-2018 shardingsphere.io. * <p> * 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 l...
/******************************************************************************* * Copyright FUJITSU LIMITED 2016 *******************************************************************************/ package org.oscm.serviceprovisioningservice.bean; import static org.junit.Assert.assertEquals; import static org.mockit...
/* * Copyright 2020-2020 Exactpro (Exactpro Systems Limited) * * 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...
/* * Copyright 2016 LINE Corporation * * LINE Corporation 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/licenses/LICENSE-2.0 * * Unless re...
/** * Copyright © 2016-2020 The Thingsboard 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 applicab...
/* * Copyright 2018 Hippo B.V. (http://www.onehippo.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...
package com.linkedin.avro.fastserde.generated.deserialization.AVRO_1_4; import java.io.IOException; import com.linkedin.avro.fastserde.FastDeserializer; import org.apache.avro.Schema; import org.apache.avro.generic.IndexedRecord; import org.apache.avro.io.Decoder; public class FastGenericDeserializerGeneratorTest_sho...
/** "Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. "*/ package SageOneIntegration; /** * Created by Ricardo on 2017-07-05. */ public enum NationalityType { SA("SA"); private String nationValue; Nation...
package com.cassandra.utility.trial; import com.datastax.driver.core.*; import com.datastax.driver.core.exceptions.NoHostAvailableException; import java.lang.reflect.Field; import java.util.Date; import java.util.HashSet; import java.util.Set; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Li...
package stackElimination; import java.util.concurrent.atomic.AtomicReference; public class LockFreeStack<T> implements MyStack<T> { AtomicReference<Node<T>> top = new AtomicReference<Node<T>>(null); static int MIN_DELAY = 1, MAX_DELAY = 100; Backoff backoff = new Backoff(MIN_DELAY, MAX_DELAY);...
/* * 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 ...
/* * 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.celmam.service.impl; import com.celmam.dao.SecurityDao; import com.celmam.dto.RolDto; import com.celmam.dto.UsuarioDto; im...
/* * 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.diddiz.codegeneration.exceptions; public class EvaluationException extends Exception {}
/** * Copyright 2015 StreamSets Inc. * * Licensed under 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 Lice...
package net.mightyelemental.maven.RayTraceTest2; import java.awt.image.BufferedImage; public class TexData { public BufferedImage img; public float uvX, uvY; public Vec3f getColor() { if ( img == null ) return new Vec3f(0, 0, 0); if ( uvX < 0 || uvX > 1 ) return new Vec3f(0, 0, 0); if ( uvY < 0 || uvY > ...
/** * Copyright (c) 2016-present, RxJava Contributors. * * 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 l...
package com.lambdaschool.school.config; import org.apache.catalina.Context; import org.apache.catalina.connector.Connector; import org.apache.tomcat.util.descriptor.web.SecurityCollection; import org.apache.tomcat.util.descriptor.web.SecurityConstraint; import org.springframework.beans.factory.annotation.Value; import...
package br.com.zupacademy.diego.ecommerce.controllers; import br.com.zupacademy.diego.ecommerce.config.security.TokenService; import br.com.zupacademy.diego.ecommerce.dto.LoginFormDTO; import br.com.zupacademy.diego.ecommerce.dto.TokenDTO; import org.springframework.beans.factory.annotation.Autowired; import org.sprin...
package br.fernando.ch11_Concurrency_Objective.par06_tests; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.Executor...
package bio.terra.common.exception; import java.util.Collections; import java.util.List; /** * DataRepoException is the base exception for the other data repository exceptions. It adds a list * of strings to provide error details. These are used in several cases. For example, * * <ul> * <li>validation errors -...
/* * 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.kimjunu.indiesetlist.ui.custom; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.CalendarView; public class FlingCalendarView extends CalendarView { public FlingCalendarView(Context context) { super(context); } ...
/* * Copyright 2008 Google 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 ...
/* * #%L * Service Locator Commands * %% * Copyright (C) 2011 - 2014 Talend 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...
/** * Copyright (c) 2016 See AUTHORS file * 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 conditions and...
package viamcp.platform; import net.minecraft.client.Minecraft; import nl.matsv.viabackwards.ViaBackwards; import nl.matsv.viabackwards.api.ViaBackwardsConfig; import nl.matsv.viabackwards.api.ViaBackwardsPlatform; import us.myles.ViaVersion.api.Via; import java.io.File; import java.util.logging.Logger; public class...
/* * 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 net.glowstone.entity.passive; import net.glowstone.inventory.GlowHorseInventory; import org.bukkit.Location; import org.bukkit.Sound; import org.bukkit.entity.Donkey; import org.bukkit.entity.EntityType; public class GlowDonkey extends GlowChestedHorse<GlowHorseInventory> implements Donkey { public GlowD...
/* * Copyright 1999-2019 Seata.io Group. * * 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 l...
package openblocks.trophy; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.potion.Effects; import net.minecraft.potion.EffectInstance; import openblocks.common.tileentity.TileEntityTrophy; public class CaveSpiderBehavior implements ITrophyBehavior { @Override public int executeActivateBehavio...
package dao; import models.SmallAnimalItems; import models.CatItems; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.sql2o.Connection; import org.sql2o.Sql2o; import java.util.HashMap; import static org.junit.Assert.*; public class Sql2oSmallAnimalItemsDaoTest { private Sql2oS...
/* * Copyright 2012 The Netty Project * * The Netty Project 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/licenses/LICENSE-2.0 * * Unless ...
/** * 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 is part of JSatTrak. * * Copyright 2007-2013 Shawn E. Gano * * 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...
/** * 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 you under the Apache License, Version 2.0 (the // "License"); you may...
package im.actor.core.modules.events; import im.actor.core.entity.Peer; import im.actor.runtime.eventbus.Event; public class PeerChatClosed extends Event { public static final String EVENT = "peer_chat_closed"; private Peer peer; public PeerChatClosed(Peer peer) { this.peer = peer; } p...
/* * Copyright 2020 TiKV Project 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 ...
/* * Vortex OpenSplice * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology Limited, its affiliated companies and licensors. All rights * reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
package com.example.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.cache.annotation.CachingConfigurerSupport; import org.springframework.context.annotation.Bean; imp...
package com.ufostudio.crm.common.client.sms; import com.ufostudio.crm.common.client.sms.impl.DefaultSMSClient; /** * @Author: LCF * @Date: 2020/7/5 17:26 * @Package: com.ufostudio.crm.common.client.sms */ public class SMSClientFactory { private static SMSClient SMSClient; static { SMSC...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.compute.generated; import com.azure.core.util.Context; /** Samples for VirtualMachines Delete. */ public final class VirtualMac...
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...