text stringlengths 7 995k |
|---|
package com.victuxbb.systemdesigns.tinyurlkgs.domain;
public class Base64Dictionary {
private final Character[] characters = new Character[]{
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd',
'... |
package uk.ac.excites.ucl.sapelliviewer.db;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.OnConflictStrategy;
import android.arch.persistence.room.Query;
import android.arch.persistence.room.Updat... |
package controllers;
import play.mvc.*;
import play.libs.Json;
import java.util.Map;
import java.util.HashMap;
import views.html.*;
public class HomeController extends Controller {
public Result index() {
String name = request().getQueryString("name");
Map<String, String> helloWorld = new HashMap... |
package cn.hutool.core.date;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.BetweenFormatter.Level;
import cn.hutool.core.date.format.FastDateFormat;
import cn.hutool.core.util.RandomUtil;
import org.junit.Assert;
import org.junit.Test;
import java.text.SimpleDateFormat;
import java.time.Instan... |
/*
* 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... |
package com.banuba.sdk.manager;
import androidx.annotation.Nullable;
import com.banuba.sdk.camera.Facing;
/**
* Encapsulates info about Banuba SDK Manager ({@link BanubaSdkManager}) Configuration.
*/
final public class BanubaSdkManagerConfiguration {
private final boolean mIsMirrored;
private final Facing ... |
/**
* Copyright 2011 Link Intersystems GmbH <rene.link@link-intersystems.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
*
* U... |
package eu.stratuslab.marketplace.server.store.file;
import java.io.File;
import org.apache.commons.io.FileUtils;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.... |
/**
* Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved.
*
* 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 fil... |
package io.renren.utils.wxpay;
import org.jboss.logging.Logger;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PropertiesLoaderUtils;
import java.io.IOException;
import java.util.Properties;
/**
* 创建时间:2016年6月14日 下午7:47:... |
package com.dipasquale.ai.common.fitness;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import java.io.Serial;
import java.io.Serializable;
@RequiredArgsConstructor(access = AccessLevel.PACKAGE)
final class MaximumFitnessDeterminer implements FitnessDeterminer, Serializable {
@Serial
priv... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... |
/*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2020, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.memory.trailing.trail.flatten;
import org.... |
package com.eeefff.limiter.core.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseB... |
/**
* 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.datamigration.v2018_03_31_preview;
import java.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... |
import java.util.ArrayList;
import java.util.List;
public class MyBot {
public static void main(String[] args) throws java.io.IOException {
final InitPackage iPackage = Networking.getInit();
final int myID = iPackage.myID;
final GameMap gameMap = iPackage.map;
Networking.sendInit(... |
package project.components.receipts_components;
import javax.swing.ImageIcon;
import project.MainFrame;
import project.actions.receipts_actions.PointSubmitAL;
import project.components.goods_components.BasicSmallButton;
public class PointSubmitBtn extends BasicSmallButton {
PointSubmitAL pAL;
public PointSubmi... |
package com.serdarormanli.kalah.model;
import lombok.Value;
@Value
public class Message {
MessageType messageType;
int indexOfPit;
public static Message snapshot() {
return new Message(MessageType.LATEST_SNAPSHOT, 0);
}
public static Message play(int indexOfPit) {
return new Mes... |
package com.linkedin.metadata.kafka;
import com.linkedin.data.template.RecordTemplate;
import com.linkedin.events.metadata.ChangeType;
import com.linkedin.metadata.EventUtils;
import com.linkedin.metadata.builders.graph.BaseGraphBuilder;
import com.linkedin.metadata.builders.graph.GraphBuilder;
import com.linkedin.met... |
package io.xmeta.impl.exceptions;
import java.io.PrintWriter;
import java.io.StringWriter;
public class ExceptionWrapper {
public static final int SHORT_STRING_LENGTH = 150;
private static final String NON_THIN_CHARS = "[^iIl1\\.,']";
private static int textWidth(String str) {
return str.length()... |
/*
* Copyright (C) 2016 Red Hat, 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 agre... |
package org.chain3j.protocol.scs.methods.response;
import java.math.BigInteger;
import org.chain3j.protocol.core.Response;
import org.chain3j.utils.Numeric;
/**
* BigNumber response type.
* Return the block number of the MicroChain.
*/
public class ScsGetBalance extends Response<String> {
public BigInteger ge... |
/*
* Copyright 2012 Roman Kashitsyn
*
* 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 applicabl... |
package implementations.collections;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
public class JCLSFuture<T> implements Future<T>{
private T obj;
public JCLSFuture(T obj) {
this.obj... |
package spotify.recommendation.login;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
import spotify.recommendation.SessionConst;
import spotify.recommendation.entity.Member;
... |
/*
* Copyright 2004, 2005, 2006 Acegi Technology Pty 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/*
* Copyright Terracotta, 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Shopify Inc.
*
* 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
... |
/*
* 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
* distribut... |
package Practice_Books;
public class BookArrayTest {
public static void main(String[] args){
Book[] bookShelf = new Book[5];
bookShelf[0] = new Book("토지", "박경리");
bookShelf[1] = new Book("태백산맥", "조정래");
bookShelf[2] = new Book("당신들의 천국", "이청준");
bookShelf[3] = new Book("나목",... |
/**
* @Author LengYun
* @Since 2022/01/13 14:28
* @Description
*/
package com.iuaenasong.oj.remoteJudge.task.Impl;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.ReUtil;
import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse;
import cn.hutool.http... |
/* 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
* distribut... |
/*
* Copyright 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 writing... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
package com.digirati.elucidate.repository.impl;
import java.sql.Types;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import org.springframework.transactio... |
package com.feedhenry.armark.Sub_menus;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.feedhenry.armark.R;
public class Sub_menu_categorias extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSt... |
package com.dm.wallpaper.board.adapters;
import android.animation.AnimatorInflater;
import android.animation.StateListAnimator;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.o... |
package com.jetfiretool.db.sql;
import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.Date;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java... |
/*
*
* Copyright 2002-2004 The Ant-Contrib 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 2013 University of Chicago and Argonne National Laboratory
*
* 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
*
* Unles... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appservice;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/** Defines... |
/*
* Copyright (c) 2020-2021, wvkity(wvkity@gmail.com).
* <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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless require... |
package svenhjol.charm.mixin.mineshaft_improvements;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.ChunkPos;
import net.minecraft.world.level.StructureFeatureManager;
import net.minecraft.world.level.WorldGenLevel;
import net.minecraft.world.level.chunk.ChunkGenerator;
import net.minecraft.world... |
/*
* Copyright 2021 DataCanvas
*
* 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... |
package swim.iot.util;
public class EnvConfig {
/**
* Configuration environment variables for Event Hub
*/
public static final String EVENT_HUB_CONNSTRING = envCorrection(System.getenv("EVENT_HUB_CONNSTRING"), "");
public static final String EVENT_HUB_NAME = envCorrection(System.getenv("EVENT_HUB_NAME"), ... |
/*
* Copyright 2018-2021 innoQ Deutschland GmbH
*
* 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 mage.abilities.effects.common.discard;
import mage.abilities.Ability;
import mage.abilities.dynamicvalue.DynamicValue;
import mage.abilities.dynamicvalue.common.StaticValue;
import mage.abilities.effects.OneShotEffect;
import mage.cards.Card;
import mage.cards.Cards;
import mage.cards.CardsImpl;
import mage.co... |
package org.commcare.views;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Typeface;
import android.os.Build;
import android.os.Handler;
import android.preference.PreferenceManager;
import android.text.Spannable;
import android.text.SpannableStringBuilder;
import andr... |
package org.jabref.model.search.rules;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.function.Predicate;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.ent... |
package com.poiji.option;
import com.poiji.annotation.ExcelCellName;
import com.poiji.bind.mapping.PoijiLogCellFormat;
import com.poiji.bind.mapping.PoijiNumberFormat;
import com.poiji.config.Casting;
import com.poiji.config.DefaultCasting;
import com.poiji.config.DefaultFormatting;
import com.poiji.config.Formatting;... |
package io.bootique.tools.release.service.job;
import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;
public class BatchJobTask<T> extends FutureTask<T> {
private final Object data;
private Runnable listener;
public BatchJobTask(Callable<T> callable) {
super(callable);
... |
/*************************************************************************
* *
* EJBCA Community: The OpenSource Certificate Authority *
* *
* This software is... |
/*
* 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.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 may ... |
/**
* $Id: CompDependsDAO.java,v 1.7 2020/05/07 13:50:16 mmaloney Exp $
*
* $Log: CompDependsDAO.java,v $
* Revision 1.7 2020/05/07 13:50:16 mmaloney
* Also delete from scratchpad when deleting dependencies.
*
* Revision 1.6 2017/08/22 19:58:40 mmaloney
* Refactor
*
* Revision 1.5 2017/07/06 19:06:54 m... |
package com.abaya.picacho.biz.account.model;
import com.abaya.picacho.common.model.CommonState;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
publi... |
/*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Li... |
package com.nitya.accounter.web.client.ui.grids;
import com.nitya.accounter.web.client.AccounterAsyncCallback;
import com.nitya.accounter.web.client.Global;
import com.nitya.accounter.web.client.core.*;
import com.nitya.accounter.web.client.core.reports.TransactionHistory;
import com.nitya.accounter.web.client.excepti... |
package radlab.rain.workload.cassandra;
import java.util.List;
import java.util.logging.Logger;
import radlab.rain.Generator;
import radlab.rain.IScoreboard;
import radlab.rain.LoadProfile;
import radlab.rain.Operation;
public abstract class CassandraOperation extends Operation
{
protected String _columnFamilyName... |
/**
* 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.xy.asyc.test.temp;
public enum JobPriority {
MIN(1),NORM(5),MAX(9);
private int value;
private JobPriority(int value) {
this.value = value;
}
public int getValue() {
return value;
}
} |
/******************************************************************************
* Copyright (c) 2011 GitHub Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... |
package fr.jmini.openapi.openapitools.api;
import fr.jmini.openapi.openapitools.api.*;
import fr.jmini.openapi.openapitools.model.*;
import java.util.List;
import fr.jmini.openapi.openapitools.model.User;
import java.util.List;
import fr.jmini.openapi.openapitools.api.NotFoundException;
import java.io.InputStream;... |
// Copyright 2014 The Bazel Authors. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
/*
* TesterLib
*
* This file was automatically generated for Stamplay by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
package localhost3000.models;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonSetter;
import java.util.List;
/**
* This is a model class for Sign... |
package pl.zankowski.iextrading4j.api.stocks;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
import java.io.Serializable;
import java.math.BigDecimal;
public class Ohlc implem... |
import java.io.*;
public class OrderItem {
private String drug;
private int quantity;
public OrderItem(String drug, int quantity) {
this.drug = drug;
this.quantity = quantity;
}
public String getDrug() {
return this.drug;
}
// assumption: quantity is positive
public int getQuantity() {
return this.q... |
package com.kiroule.vaadin.bakeryapp.ui.view.admin.product;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import com.vaadin.data.BeanValidationBinder;
import com.vaadin.data.ValueContext;
import com.vaadin.spring.annotation.SpringView;
import com.kiroule.vaadin... |
package com.bsnbase.sdk.util.sm2;
import org.bouncycastle.asn1.gm.GMNamedCurves;
import org.bouncycastle.asn1.gm.GMObjectIdentifiers;
import org.bouncycastle.asn1.x9.X9ECParameters;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.bouncycastle.jce.spec.ECNamedCurveParameterSpec;
import java.secur... |
package ca.objectscape.depviz.maven;
import java.util.Objects;
import ca.objectscape.depviz.graph.GraphNode;
public class MavenDependencyLink
{
private final MavenComponent source;
private final MavenComponent target;
private GraphNode sourceNode;
private GraphNode targetNode;
MavenDependencyLink(final M... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.core.transform.transforms;
import... |
package com.ruoyi.generator.mapper;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.generator.domain.GenTable;
import org.apache.ibatis.annotations.Param;
import java.u... |
package engine.gameobjects.gamebehaviour.builtin.ui;
import java.awt.Color;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import engine.game.GameContainer;
import engine.gameobjects.GameObject;
import engine.gameobjects.gamebehaviour.type.GameBehaviour;
import engine.gameobjects.gamebehaviour.type.UIG... |
package es.tearain.mate.model.combat;
public enum DamageType {
ACID,
BLUDGEONING,
COLD,
FIRE,
FORCE,
LIGHTNING,
NECROTIC,
PIERCING,
POSION,
PSYCHIC,
RADIANT,
SLASHING,
THUNDER;
} |
package cn.ganiner.util;
import com.google.gson.Gson;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpSe... |
/*
* Copyright 2006-2014 smartics, Kronseder & Reiner GmbH
*
* 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 a... |
/*
* Encog(tm) Core v3.0 - Java Version
* http://www.heatonresearch.com/encog/
* http://code.google.com/p/encog-java/
* Copyright 2008-2011 Heaton Research, 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 obt... |
/*
* Copyright (C) 2009 Jayway AB
* Copyright (C) 2007-2008 JVending Masa
*
* 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
*
* Unl... |
package com.tale.exception;
import com.blade.ioc.annotation.Bean;
import com.blade.mvc.WebContext;
import com.blade.mvc.handler.DefaultExceptionHandler;
import com.blade.mvc.ui.RestResponse;
import com.blade.validator.exception.ValidateException;
import lombok.extern.slf4j.Slf4j;
/**
* 全局异常处理
* <p>
* Created by bi... |
/*
* Copyright (c) 2011-2018, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... |
package org.apache.commons.mail;
import junit.framework.TestCase;
import org.junit.Test;
public class TestCase1 extends TestCase{
Email testEmail;
public void setUp() {
testEmail = new SimpleEmail();
}
@Test
public void testAddCc() {
System.out.println("This test class tests the AddCc() function. mjy___");
... |
package com.tuin.test;
import com.tuin.bean.Rolitemmenu;
public class RolitemmenuFactoryForTest {
private MockValues mockValues = new MockValues();
public Rolitemmenu newRolitemmenu() {
Long id = mockValues.nextLong();
Rolitemmenu rolitemmenu = new Rolitemmenu();
rolitemmenu.setId(id);
return rolitemme... |
package controllers;
import com.mongodb.BasicDBObject;
import models.Label;
import models.Response;
import models.Service;
import models.User;
import play.Logger;
import play.libs.Json;
import play.mvc.Controller;
import play.mvc.Result;
import play.mvc.Security;
import views.html.admin;
import java.util.List;
@Sec... |
/*
* Copyright (c) 2011-2020, hubin (jobob@qq.com).
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by ... |
package cana.codelessautomation.api.resources.globalvariable.service.repositories.daos;
import cana.codelessautomation.api.resources.file.service.repositories.daos.FileDao;
import com.googlecode.jmapper.annotations.JMap;
import lombok.Data;
import javax.persistence.*;
import java.time.OffsetDateTime;
@Data
@Entity
@... |
/*
* Copyright 2003-2016 JetBrains s.r.o.
*
* 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 agre... |
/* Copyright (c) 2017 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
package module1775_public.a;
import java.util.logging.*;
import java.util.zip.*;
import javax.annotation.processing.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo ... |
/*
* Copyright 2015-2020 The OpenZipkin 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 a... |
package de.buw.tmdt.plasma.services.kgs.database.neo4j;
import de.buw.tmdt.plasma.services.kgs.database.api.GraphDBDriver;
import de.buw.tmdt.plasma.services.kgs.shared.model.knowledgegraph.RelationConcept;
import de.buw.tmdt.plasma.services.kgs.TestApplication;
import de.buw.tmdt.plasma.services.kgs.database.api.exce... |
package cityguide.geocoder.controller;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.eq;
import... |
package uk.yetanother.conrec.testutils;
import uk.yetanother.conrec.domain.ContourLine;
import uk.yetanother.conrec.domain.ContourPolygon;
import uk.yetanother.conrec.domain.Coordinate;
import javax.swing.*;
import java.awt.*;
import java.awt.geom.Line2D;
import java.awt.geom.Path2D;
import java.util.ArrayList;
impor... |
/*
* Copyright (c) 2002-2020, the original author or authors.
*
* This software is distributable under the BSD license. See the terms of the
* BSD license in the documentation provided with this software.
*
* https://opensource.org/licenses/BSD-3-Clause
*/
package org.jline.console;
import java.io.File;
import ... |
package com.quorum.tessera.api;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import jakarta.xml.bind.annotation.XmlInlineBinaryData;
import java.util.Optional;
/**
* Model representation of a JSON body on incoming HTTP r... |
package com.example.android.sunshine;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.vie... |
package com.renheng.elasticjob.lite.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.core.annotation.AliasFor;
@Inherited
@Targ... |
package lecho.lib.hellocharts.model;
import android.graphics.Typeface;
/**
* Base interface for all chart data models.
*/
public interface ChartData {
/**
* Updates data by scale during animation.
*
* @param scale value from 0 to 1.0
*/
public void update(float scale);
/**
* I... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
package ai.sangmado.urbanboot.urban.iptable.management.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;
import java.time.LocalDateTime;
import ja... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.