text stringlengths 7 1.01M |
|---|
/*
* Copyright 2020, EnMasse authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.enmasse.systemtest.sharedinfra;
import io.enmasse.api.model.MessagingAddress;
import io.enmasse.api.model.MessagingAddressBuilder;
import io.enmasse.api.model.Mess... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.p.s.pinpoint.thrift.dto;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.scheme.IScheme;
import org.ap... |
package com.acgist.snail.context.initializer;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import com.acgist.snail.context.NodeContext;
import com.acgist.snail.utils.Performance;
class DhtInitializerTest extends Performance {
@Test
void testDhtInitializer() {
Dh... |
package faceID;
public class faceGet {
private String userid;
private String faceid;
private String boosid;
/**
*get set 方法 在java文件上右键 选择 source →generate getters and setters....
*/
public String getUserid() {
return userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
public Stri... |
/**
* 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 n... |
package module518packageJava0;
import java.lang.Integer;
public class Foo51 {
Integer int0;
Integer int1;
public void foo0() {
new module518packageJava0.Foo50().foo8();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public voi... |
package com.kiuwan.importer.beans;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="violation")
public class Violation {
File file;
Rule rule;
public Violation() {
}
public Violation(File file, Rule rule) {
this.file = file;
this.rule ... |
package com.hubspot.jinjava.lib.filter;
import static com.hubspot.jinjava.util.Logging.ENGINE_LOG;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Method;
import java.util.LinkedList;
import java.util.... |
package com.wwb.gulimall.product.controller;
import java.util.Arrays;
import java.util.Map;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.an... |
package xyz.malkki.yeeja.connection.commands;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
import java.util.function.Function;
public class AdjustBright extends YeelightCommand<Void> {
private int percentage;
private int duration;
public Adj... |
/*
* 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 u... |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.internal.constraintvalidators.bv.time.pastorpresent;
import java.time... |
package sagan.site.guides;
import java.util.List;
import java.util.stream.Collectors;
import sagan.site.projects.Project;
import sagan.site.projects.ProjectMetadataService;
import sagan.site.support.nav.Navigation;
import sagan.site.support.nav.Section;
import org.springframework.beans.factory.annotation.Autowired;
... |
package com.tvd12.ezyfoxserver.event;
import com.tvd12.ezyfoxserver.entity.EzySession;
import com.tvd12.ezyfoxserver.entity.EzyUser;
import lombok.Getter;
public class EzySimpleStreamingEvent extends EzySimpleUserSessionEvent implements EzyStreamingEvent {
@Getter
private final byte[] bytes;
public... |
package com.kyperbox;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputMultiplexer;
import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.assets.loaders.BitmapFontLoader.BitmapFontParameter;
import com.badlogic.gdx... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.cam.ceb.como.tools.periodictable;
import java.util.ArrayList;
import java.util.Collection;
import org.apache.log4j.Logger;
/**
*
* @author pb556
*/
public class PeriodicTable {
priva... |
/* file: NumericTableInputId.java */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, infor... |
/*
* Copyright 2012-2013 eBay Software Foundation and ios-driver committers
*
* 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 req... |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2019 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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... |
package com.maybetm.configuration;
/**
* @author zebzeev-sv
* @version 14.10.2019 19:43
*/
public abstract class TestHelper {
public static void configProxy() {
configProxy("192.168.54.10", "3128");
}
private static void configProxy(String host, String port) {
System.setProperty("http.proxyHost", h... |
/*
* Copyright © 2015 <code@io7m.com> http://io7m.com
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ... |
package com.walmartlabs.concord.it.tasks.serializationtest;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2018 Walmart 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 ... |
package com.esotericsoftware.SpineStandard.utils;
public class SpineUtils {
static public final float PI = 3.1415927f;
static public final float PI2 = PI * 2;
static public final float radiansToDegrees = 180f / PI;
static public final float radDeg = radiansToDegrees;
static public final float degre... |
package application;
import java.util.Date;
import java.util.List;
import java.util.Scanner;
import model.dao.DaoFactory;
import model.dao.SellerDao;
import model.entities.Department;
import model.entities.Seller;
public class Program {
public static void main(String[] args) {
Scanner sc = new Scanner(System.... |
package com.atguigu.gmall.sms.controller;
import java.util.List;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Req... |
package com.kexin.mall.coupon.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 商品会员价格
*
* @author kexinwen
* @email kexinwen.ca@gmail.com
*... |
/*
* Copyright 2000-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) 2006 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... |
/**
*
* Copyright 2015 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
package alpha.proyectos.is2.fpuna.py.alpha.activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AlertDialog;
import android.suppo... |
package indi.pet.chatting.util;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* @author <a href="maimengzzz@gmail.com">韩超</a>
* @since 2018.11.05
*/
public class MD5Util {
private sta... |
package hirelah.storage.serialisetests;
import static hirelah.commons.util.JsonUtil.readJsonFile;
import static hirelah.testutil.Assert.assertThrows;
import static hirelah.testutil.TypicalAttributes.getTypicalAttributes;
import static hirelah.testutil.TypicalQuestions.getTypicalQns;
import static hirelah.testutil.Typi... |
package org.gluu.service.cache;
import org.apache.commons.lang.SerializationUtils;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import redis.clients.jedis.HostAndPort;
import redis.clients.jedis.JedisCluster;
import redis.clients.jedis.JedisPoolConfig;
import jav... |
/*
* Copyright 2019 Wolfgang Reder.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package com.wei.you.zhihu.spider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
/**
* Spring boot项目启动类
*
* @author sunzc
*
* 2017年6月10日 下午7:21:38
*/
@SpringBootApp... |
/*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* Copyright (c) 2010-2018. Axon Framework
*
* 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.github.jinahya.database.metadata.bind;
/*-
* #%L
* database-metadata-bind
* %%
* Copyright (C) 2011 - 2019 Jinahya, 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 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 ... |
package uk.gov.hmcts.reform.bulkscanprocessor.services;
import com.azure.storage.blob.BlobClient;
import com.azure.storage.blob.BlobContainerClient;
import com.azure.storage.blob.specialized.BlobInputStream;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extens... |
package dev.spaceseries.spaceapi.config.adapter;
import dev.spaceseries.spaceapi.abstraction.plugin.BungeePlugin;
import dev.spaceseries.spaceapi.config.generic.adapter.ConfigurationAdapter;
import net.md_5.bungee.config.Configuration;
import net.md_5.bungee.config.ConfigurationProvider;
import net.md_5.bungee.config... |
package com.lvcoding.cup;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.lvcoding.entity.SysTenant;
import com.lvcoding.service.SysTenantService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.a... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE369_Divide_by_Zero__float_random_modulo_45.java
Label Definition File: CWE369_Divide_by_Zero__float.label.xml
Template File: sources-sinks-45.tmpl.java
*/
/*
* @description
* CWE: 369 Divide by zero
* BadSource: random Set data to a random value between 0.0f (... |
/*
* Copyright 2014-present Open Networking 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 appli... |
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2016-2018 Ericsson. All rights reserved.
* Modifications Copyright (C) 2020 Nordix Foundation.
* ================================================================================
* Licensed under the Apache Lice... |
/*
* 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 io.smallrye.config;
import static io.smallrye.config.SmallRyeConfig.SMALLRYE_CONFIG_PROFILE;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.eclipse.microprofile.config.Config;
import org.junit.jupiter.api.Test;
class InterceptorChainTest {
@Test
void chain() {
final C... |
/* 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.codetaylor.mc.artisanworktables.common.recipe.serializer;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.network.PacketBuffer;
import javax.annotation.Nonnull;
public interface IRecipeSerializerPacketWriter<T extends IRecipe<?>> {
void write(@Nonnull PacketBuffer buffer, @Nonnull T r... |
/*
* <summary></summary>
* <author>hankcs</author>
* <email>me@hankcs.com</email>
* <create-date>2015/5/6 19:48</create-date>
*
* <copyright file="CharacterBasedGenerativeModel.java">
* Copyright (c) 2003-2015, hankcs. All Right Reserved, http://www.hankcs.com/
* </copyright>
*/
package com.hankcs.ha... |
package com.ahao.preferencelibrary.preference;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.os.Build.VERSION_CODES;
import android.support.annotation.DrawableRes;
import android.support.v4.content.C... |
/*
* Copyright © 2018 Apple Inc. and the ServiceTalk 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 requi... |
/*
* Copyright (c) 2011-2013 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distributi... |
package com.muscidae.parrot.config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAuto... |
package com.github.aznamier.keycloak.event.provider;
import java.util.HashMap;
import java.util.Map;
import org.keycloak.events.Event;
import org.keycloak.events.EventListenerProvider;
import org.keycloak.events.EventListenerTransaction;
import org.keycloak.events.admin.AdminEvent;
import org.keycloak.models.Keycloak... |
/*
* Constellation - An open source and standard compliant SDI
* http://www.constellation-sdi.org
*
* Copyright 2014 Geomatys.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*... |
package liulixiang1988;
import okhttp3.OkHttpClient;
/**
* Created by liulixiang on 16/5/26.
*/
public class Main {
public static void main(String[] args) {
OkHttpDemo demo = new OkHttpDemo();
try {
demo.run();
} catch (Exception e) {
e.printStackTrace();
... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.util.ElapsedTime;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import java.lang.Math;
import java.util.HashMap;
public class AutomMotorMethods {
final int WHEELTICKS;
double robotAngle;
double robotFrontAngle;
double[] robotPo... |
package com.vsp.dicty.domain.model;
public class Lang implements Comparable<Lang> {
private String langCode;
private String lang;
@Override
public int compareTo(Lang lang) {
return this.lang.compareToIgnoreCase(lang.getLang());
}
public String getLang() {
return lang;
}
... |
/*******************************************************************************
* Copyright (c) 2014 Chaupal.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution, and is available at
*... |
package server;
import java.sql.Date;
import java.sql.SQLException;
import java.text.DateFormat;
import java.util.ArrayList;
import javax.swing.JOptionPane;
import server.dao.MsgDao;
import server.dao.UserDao;
import server.entity.Msg;
import server.entity.Users;
import com.MyTools;
import com.MyTools.Flag;
import ... |
/*
* Copyright (C) 2020 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 may ... |
package com.hsdc.dp.web;
import java.util.Calendar;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestM... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Tue Nov 10 00:33:25 GMT 2020
*/
package net.sourceforge.squirrel_sql.client.session;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
... |
package io.reflectoring.testing.web;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.reflectoring.testing.domain.RegisterUseCase;
import io.reflectoring.testing.domain.User;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.ArgumentCaptor;
import org... |
/*
* 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 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package org.openstack4j.api.heat;
import java.util.List;
import org.openstack4j.model.heat.Event;
/**
* This interface defines all methods for the manipulation of events
*
* @author Octopus Zhang
*/
public interface EventsService {
/**
* Gets a list of currently existing {@link Event}s for a specified... |
/*******************************************************************************
* Copyright 2017 The MITRE Corporation
* and the MIT Internet Trust Consortium
*
* 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 ... |
package org.sunbird.scoringengine.util;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.springframework.core.io.ClassPathResource;
import org.springframework.stereotype.Component;
import org.sunbird.scoringengine.schema.mod... |
package com.osiris.launchpad;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.animation.PropertyValuesHolder;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.appwidget.AppWidgetHostView;
import android.a... |
// Copyright (c) Corporation for National Research Initiatives
package org.python.core;
public class ReflectedArgs {
public Class<?>[] args;
public Object data;
public Class<?> declaringClass;
public boolean isStatic;
public boolean isVarArgs;
public int flags;
public static final int... |
/*
* 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 edu.berkeley.kaiju.frontend.response;
public class ClientSetIsolationResponse {
}
|
/*
* Copyright 2017 jiajunhui<junhui_jia@163.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 require... |
@javax.xml.bind.annotation.XmlSchema(namespace = "http://ws.taskmeter/")
package taskmeter.ws;
|
/*
* 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 app... |
package org.gradle.test.performance.mediummonolithicjavaproject.p424;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test8493 {
Production8493 objectUnderTest = new Production8493();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... |
package co.uk.niadel.napi.events.entity;
import co.uk.niadel.napi.events.IEvent;
import net.minecraft.entity.EntityBodyHelper;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.ai.EntityAITasks;
import net.minecraft.entity.ai.EntityJumpHelper;
import net.minecraft.entity.ai.EntityLookHelper;
import... |
package ru.job4j.tracker;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import java.io.InputStream;
import java.sql.*;
import java.util.ArrayList;
import java.util.Properties;
/**
* Class TrackerSQL.
*
* @author dshustrov
* @version 1
* @since 17.02.2019
*/
public class T... |
package com.yan.common.logging.model;
import java.io.Serializable;
public class LoggingEventProperty extends LoggingEventPropertyKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column logging_event_property.mapped_value
... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... |
package no.fint.sikri.service;
import no.fint.sikri.utilities.RequestUtilities;
import org.springframework.beans.factory.annotation.Autowired;
import javax.xml.namespace.QName;
import javax.xml.ws.BindingProvider;
public abstract class SikriAbstractService {
@Autowired
protected RequestUtilities requestUtil... |
package es.upm.miw.iwvg_devops.functional;
public class Fraction {
private int numerator;
private int denominator;
public Fraction(int numerator, int denominator) {
this.numerator = numerator;
this.denominator = denominator;
}
public Fraction() {
this(1, 1);
}
p... |
package at.meks.backupclientserver.client;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.concurrent.Callable;
import java.util.concurrent.locks.ReentrantLock;
import ... |
package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class DeleteAliyunSnapshotFromRemoteAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIPa... |
/**
*/
package br.ufes.inf.nemo.frameweb.model.frameweb;
import org.eclipse.uml2.uml.GeneralizationSet;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Service Generalization Set</b></em>'.
* <!-- end-user-doc -->
*
*
* @see br.ufes.inf.nemo.frameweb.model.frameweb.FramewebPackage#... |
/*
* 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 n... |
package org.fanshoufeng.interfaces.i2_5;
public class ClassD implements InterfaceB, InterfaceC {
public static void main(String[] args) {
new ClassD().hello();
}
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
impo... |
package me.icro.topinterviewquesitons2018.heapstackqueue.nestediterator;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* 描述:
* https://leetcode-cn.com/explore/interview/card/top-interview-quesitons-in-2018/266/heap-stack-queue/1160/
*
* @author Lin
* @since 2019-07-21 2:29 PM... |
package wang.raye.springboot.config;
import java.sql.SQLException;
import javax.sql.DataSource;
import org.springframework.boot.bind.RelaxedPropertyResolver;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configur... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2016-present Open Networking 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 appli... |
package dev.lamp.models;
public class Account {
private int accountId;
private double balance;
private int clientOwner;
public Account() {
}
public Account(int accountId, double balance, int clientOwner)
{
this.accountId = accountId;
this.balance = balance;
this.cl... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
/*
* Copyright 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... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.